0

How to link entire article content (including text, paragraph, etc.) as menu in Joomla. Any help greatly appreciated.

Thanks in Advance

enter image description here

Entire above block I want as menu

Thanks

6
  • See the official docs Adding a menu item which points to an Article Hope this helps.
    – jonboy
    Sep 22, 2014 at 8:26
  • Sorry, This is not working for me.
    – webanup
    Sep 22, 2014 at 9:03
  • @webanup - What do you mean not working? Assuming you simply want to have a menu item that links to your article, all you need to do for the menu item is set the type to Single Article and then select the article you want to link it to. If you need something else, then please explain in more detail in your question
    – Lodder
    Sep 22, 2014 at 9:17
  • I don't want to link any article to menu item. I want entire article content (including text, paragraph, images etc.) as hyperlink. So that I can add hyperlinked article to menu item and menu module. Thanks
    – webanup
    Sep 22, 2014 at 9:29
  • Can any one please specify, it is possible or not in Joomla. I am running out of time. I have to complete this task as soon as possible. - Thanks
    – webanup
    Sep 22, 2014 at 12:57

2 Answers 2

3

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 , , 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:

Get link in editor

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:

Article Link

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.

Source code view

Then simply paste the link you copied into an <a> tag surrounding your block.

Hidden menu

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":

Alias field

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)

Create the link manually

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.

Use JCE

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

1
  • Thanks for your effort. But I tried with hidden menu and created article and I linked article inside another article. But finally when I published in menu module, its just displaying menu title, its not displaying article content. Thanks
    – webanup
    Sep 25, 2014 at 8:15
3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.