Part of a Joomla installation under a subdomain - joomla

I don't think it is possible but I am going to ask about it just in case.
Let's say I have a Joomla running at domain.com. Is it possible to configure Joomla and set up menu items in a way that makes a menu item and its children sit on a subdomain? So, let's say I set up a "blog" menu item that would normally point to domain.com/blog, but instead its address is blog.domain.com.
I know I could just make another subdomain installation but this is exactly what I would like to avoid.

Yes, you can do this. You will obviously need to have another Joomla installation on the subdomain and once done, create a menu item and set the type to "External Link". Then simply enter the link of your choice in the parameter.

Related

Create a childpage in Joomla without showing it in a menu

I would like to create a page in Joomla without showing it in a menu.
That would be easy when the URL could be from the root, e.g.
www.mysite.com/hiddenpage
I would just make a menu without module to show it and assign a menulink to that hidden menu.
However the url should be
www.mysite.com/parentpage/hiddenpage
So the page should be linked to another existing page as a childpage but without showing in the menu.
So far this seems not possible?
Am I overlooking a feature in Joomla which would allow me to simply deactivate visibility in the menu without preventing the page from being accessed from the internet?
Or perhaps is it possible to edit or override a core component to force Joomla to allow this behaviour?
UPDATE:
Too much thinking in one direction...
The solution to do this is to edit the menu-item > linktype > css give it class "hide" (integrated bootstrap class) to just block visibility in the menu...
It's possible but a litle bit tricky. Try these steps :
Create a new two articles, name it as you wish (for example Article A and Article B )
Create a new menu group (from your administrator page go to : Menus > Menu Manager > Add new menu, name it as 'Hidden Menu'
Create a new Single Article menu item (under the 'Hidden Menu'), choose 'Article A' as as the article source and type 'parentpage' in the Menu Title field
Create a new Single Article menu item (under the 'Hidden Menu'), choose 'Article B' as the article source, choose 'parentpage' menu as the parent item and type 'hiddenpage' in the Menu Title field.
Now both of urls www.mysite.com/parentpage and www.mysite.com/parentpage/hiddenpage should be accessible now
As others have mentioned you can find extensions to modify URLs or hide the menu items using CSS, but these can require quite a bit of work especially if this is a one-off or once in a while situation.
However, there is one way to do this with Joomla as-is and will work with any type of menu items, not just articles. These instructions assume you already have a 'hidden' menu setup.
In a hidden menu, create menu items (or move them if they already exist) for parentpage and hiddenpage.
Set parentpage as the 'Parent Item' option in the hiddenpage menu item. Basically, create the page/subpage structure you'd like to see in the URL.
On your visible menu, create a 'Menu item Alias' (under 'System Links') menu item. Set the 'Menu item' option to the parentpage (listed under the hidden menu).
Enjoy. Parentpage is a visible menu item. hiddenpage is available at www.mysite.com/parentpage/hiddenpage
-Nick
No this is not possible with Joomla.
There are several options for you to achieve the same result, I list them in order of ease.
Use joomla redirect component. Simply tell the user to surf to the url he wants, he will then find it in the administrator - components - redirect, where she can insert the non-sef url.
Tell them to use a different prefix: i.e. create a hidden menu where they will add the direct links;
Additionally, in order to remove the id from the url you can:
Install simplecustomrouter extension, it should do the job out of the box but some coding may be required on your part in order for it to work properly; extremely lightweight.
Go for a blasoned SEF extension such as sh440sef, this will add some overhead and may require a lot of work in configuration.
FOR JOOMLA 3.X:
While editing the childmenu just set (under "Linktype") "Display in menu" to "no"... it's simple like that!
Here's a reference to the joomla.docs site
https://docs.joomla.org/images/6/6f/Help-3x-menus-menu-manager-new-menu-item-link-type-en.png
if link is broken just search for "edit menu linktype joomla 3" in future.
I'm glad I can return the many saved searchtime to y'all stackpeople. Go on Community!

Prevent "direct access" to menu items but keep them accessible when embedded in articles

I've been building a Joomla website for a couple of weeks now and having started with virtually zero Joomla and PHP knowledge I have to say I've been kind of fumbling my way through all of this. Anyway, I'm having a small "problem" and hope you guys can help me sort it out:
I'm using Plugin Include Component to embed content inside articles. Naturally, this content is associated with menu items. The thing is, I want these menu items to be accessible only through the articles in which they are embedded. This means that I want to somehow restrict direct access to the menu items, but still allowing users to see their content inside the articles.
For the sake of comprehension I'll try to be more graphic:
I have a Category Blog associated with menu item A.
By means of the plugin I mentioned above, I have A embedded inside article B. So far so good! When B is displayed, the category blog in A is also shown as a part of it. But I don't want users to be able to type B's url into the browser and access it directly, because it's detrimental to my site's structure and navigation. Obviously, unpublishing the menu item wouldn't help at all because it would cease to be visible inside the article.
My apologies if I didn't make myself clear. Any hints or tips?
Ok, as far as not being able to directly access the menu items for item A, just publish the menu item in a new menu that is not added to any module position. This way there are no direct links that the user can access through the front end.
As far as a user TYPING in the url for item A, you are out of luck. There is no way to prevent that. Once you have created the menu item, there is a URL which necessarily must be accessible. Using the hidden menu trick, the user would have to know that the URL exists to be able to get there, but it will be there if they know it. The way you are putting the site together the user shouldn't be to see the url so they will likely never type it in, but it would be possible.

Why my top menu dissappear when in register or reset page in joomla 2.5

I have created a custom joomla template based on blank joomla template from http://blank.vc/. Everything was fine until i clicked either forgot password?, forgot your username? or create account link that bring me to register or reset page in frontend but strangely the top menu was gone.
This is the screenshot :
http://i63.photobucket.com/albums/h145/affan2fly/menugone.jpg
i have no idea why this could happenned.
Please help with this. I appreciate all the help. Thanks!
The problem is because only on the pages selected option for module assignment is set. If you open a page which doesn't belong to any menu, then module won't be shown on it.
You can either check menu module to be shown on all pages, or make a new menu item for forgot password functionality, and then assign that menu for both menu module, and breadcrumbs module.
I don't know which Joomla version you're using and what you use for translation, but if you use Joomfish or Falang, language translation should be much easier.
If you don't use any of those, and you really need to leave everything as it is, then you can also detect current user language in the template, and load either one or the other menu module based on it. That way you can set module to be shown on all pages, and make sure it is displayed only for the choosen language.

Virtue Mart Joomla

I have my shop showing this URL when a user checks out.
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65
for all the steps it does not show the checkoout_stage as i would expect below in the URL hence it ends up using the home template with the layout distorted
What i expect instead:
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65&checkout_stage=1
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65&checkout_stage=2
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65&checkout_stage=3
index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65&checkout_stage=4
One common mistake that will give you this type of problem is not having a menu item for Virtuemat or the VM module published somewhere. You have to have a menu item for VM, even if its in a hidden menu, same with the VM module. Even if you put it in a hidden position you still have to have one and it needs to be published.
If that doesn't do it, we need a lot more information before we can help.

joomla how to create a custom link

I have set mod_rewrite in joomla so I can use link like http://www.mysite.com/home, http://www.mysite.com/contact where home and contact are link aliases.
All of this link are part of menu, but I'm intersted in create link that will be never displayed in any menu, how can do that?
There are a couple ways it can be done. The quick and easy way is to make a hidden menu just for creating links. Simply create a new menu and don't put it in a module. You can add all the menu items you want without having to display them anywhere and you get nice clean URLs.
You can also get the URL of an article that does not have a menu item, but it gets pretty long to use. The URL of an article will be something like -
domain.com/parent menu item alias/item alias.html
It will use the alias from what ever menu item it is inheriting the itemID from az part of the URL. I generally use the first method to avoid the long URLs.

Resources