I want to copy my Homepage (index page) and make the copy appear on the hidden part of my website as so i can make changes and test it before i put the new page up live...
So i basically want to be able to type a URL and see the page on the web, yet I don't want that page to apart of the websites main menu...
Make a new menu from the menu management name it like 'hidden menu' or something else then add new menu item on it .
Don't publish your hidden menu elsewhere in site. Assign your copied template to your new menu item created under hidden menu.
Now you can copy the link of new menu to the url.
Copy (aka duplicate) your content article (= index page, hompage content). You can access it via URI index.php?option=com_content&view=article&id=<ID> and replace <ID> with your articles ID.
This is for Joomla 3:
Go into the Template Manager and copy your existing template to make a new one e.g. 'YourTemplateName2'.
Note that a style 'YourTemplateName2 - Default' will automatically be created as well.
Edit the new template.
Preview the new template, either:
In Styles, using the 'eye' icon to the left of the style name, or
In Templates, using the link 'Preview' under the style name, or
Using the URL GET parameter 'template' like this:
"http://www.example.com//index.php?template=YourTemplateName2
If you use the 'Preview' link or the 'eye' icon, you'll get a preview with the extra parameter 'tp=1' - this shows you some extra info, but if you want to preview the site exactly as it'll look to the user then you can just delete this parameter.
When you're happy with your changes, either set the new template to be the default template, or copy the details from your new template to the existing one.
Hope that helps.
Related
I have Pimcore cms which has a menu who consist of many link. Those links is created using hardlink. I want to create such link to some page with link property target="_blank". How can I do this? Can it possible?
You can make a custom property for link target and render this into the template, while you output the menu.
A friend asked me to help him change something on his Joomla website, but I'm having a bit of difficulty understanding the file system and routing. From what I've read so far, looks like SEF urls are activated. Now if the sub directory is /index.php/standings, for instance, how can I figure out which templates/modules/etc are being used/loaded for that url?
note - I only have FTP access, but could get access to admin if necessary.
Now if the sub directory is /index.php/standings, for instance, how
can I figure out which templates/modules/etc are being used/loaded for
that url?
You'll need admin access.
For the template(s) sign-in to the backend then go to Extensions > Template Manager.
You'll see details of all the templates installed on the site and there will be one default template (marked with a star) for location 'Site' .
All pages on the site will use this template unless other templates have been assigned to specific pages. To find other assigned templates look for a check mark in the assigned column, click the template name, then under the the Menu Assignment tab look for which menu items the template has been assigned to.
For the modules/etc . From the backend go to Menus and locate the menu with the standings link. This listing will give you some information about type of link, e.g. 'Articles ยป Single Article' if the menu item is a article, or maybe it will be a component or one of the many other types of Joomla menu links.
Open the standings menu item, then click the module assignment tab and you'll see details of which modules are assigigned to this menu item.
Lastly, if the standings menu link is a single article, locate and open the article (from Content > Article Manager) and look for dynamic content which could come from a plugin, it will be enclosed by curly braces: eg {plugin-id}. The name will give you some indication of where to look.
Good luck!
Protostar is Joomla 3 default template. In the footer part, there is a link Back to Top which returns the user to the upper part of the html page.
The only document in which I have found this text so far is on location:
templates/protostar/language/en-GB
But, the change of the text didn't actually change it on website. So, I suppose there is another location for this.
Where can I go and change it?
When the template is installed, that file would get moved to language/en-GB/en-GB.tpl_protostar.ini, so that would be the file that actually needs to get updated.
That being said, a better method is to use the language override feature on the admin side. You'll see in that file that the language key is TPL_PROTOSTAR_BACKTOTOP (what is to the left of the equal sign).
On the admin side, go to Extensions -> Language Manager. Then on the left side of the page, click "Overrides". Hit the new button and add TPL_PROTOSTAR_BACKTOTOP as the constant and whatever new text you would like there in the "Text" box.
By using the override feature you protect your site from updates if the template's language file is updated in a later version.
If you want to use your site with other languages than English, create the respective template language pack in folder templates/protostar/language/
As an example: If you use German on your site, create a folder named de-DE, copy the english files en-GB.tpl_protostar.ini and en-GB.tpl_protostar.sys.ini into it and change their names to de-DE.tpl_protostar.ini and de-DE.tpl_protostar.sys.ini. Now you can change the respective line in de-DE.tpl_protostar.ini to TPL_PROTOSTAR_BACKTOTOP="nach oben"
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!
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.