How to link entire article content (including text, paragraph, etc.) as menu in Joomla. Any help greatly appreciated.
Thanks in Advance
Entire above block I want as menu
Thanks
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.
Sign up to join this communityHow to link entire article content (including text, paragraph, etc.) as menu in Joomla. Any help greatly appreciated.
Thanks in Advance
Entire above block I want as menu
Thanks
Your question is very vague, and parts of it doesn't make sense (add hyperlinked article to menu item and menu module
, for instance). You're mixing the terms module, articles, urlmenu and others.
But as far as I understand, you have one (or more) blocks like the image in your question, and you want to link them to an article with details about the hotel. What you need is the link to the article in question. This can be achieved in several ways. Choose the option that fits your needs:
In your article editor (I assume you're using TinyMCE), you can create a link to any existing article with the "Article" button below the text window:
This will insert a direct link to the article, with the article title as the link text. To see the actual link, click the "Source Code" button in the toolbar and copy the link parameter.
Then simply paste the link you copied into an <a>
tag surrounding your block.
You can also create a new menu (Menus -> Menu Manager -> Add New Menu) and call it whatever you like ("Hidden" is a good idea). The menu will be invisible to users unless you publish it to a module position.
Then create a new menu item in this hidden menu for each article you want to link to (for instructions, see the link provided by johnny_s). Notice the field "Alias":
The alias field will be the link to your article. Once you save the menu item, you can link to the article like this:
http://YOURSITE.com/index.php/YOURALIAS
or
index.php/YOURALIAS
Replace YOURALIAS
with the alias of your menu item.
(Note that this will only work if you enabled "Search Engine Friendly URLs" in Global Configuration)
You can create the link like this:
index.php?option=com_content&view=article&id=XX&Itemid=YY
Replace XX
with the article ID (you can find this in the article manager, in the right-most column). The last part (&Itemid=YY
) is optional, but if you replace YY
with the ID of an existing menu item, the page layout (published modules etc.) will match this menu item.
The popular editor JCE (Joomla Content Editor) will allow you to create a link to any existing article. Instructions can be found here: https://www.joomlacontenteditor.net/support/documentation/25-links/271-interface
From what I understand of your question, you want to call content into your menu output.
This is absolutely possible, but it requires a bit of skill and understanding of Joomla.
Instead of making your content an article, make your content in a module. Then you call that module into your menu item using a mega menu (such as CKMaximenu) and its paid plugin.
Or utilize NoNumber, a combination of rereplacer, modules anywhere, or sourcerer would do it.