How to attach ItemID to joomla footermenu - joomla

I am don't know joomla, but familiar with wordpress & PHP & wants to change some links in my clients existing project.
I have a menu which is a link like http://www.smarti.com.sa/index.php?option=com_content&view=article&id=6&Itemid=107 while calling it from top navigation menu.
developer has taken same link in footer but it redirects to
http://www.smarti.com.sa/index.php?option=com_content&view=article&id=6
Now i want ItemID in footer link also.
My Site URL is http://www.smarti.com.sa/
In that please Products > Microsoft.
Please give solution

As per your post, Your menu link for now is : http://www.smarti.com.sa/index.php?option=com_content&view=article&id=6 .
But, you want to use this like : http://www.smarti.com.sa/index.php/your_menu_name.
You can use aliases of menu links.
You can find aliases here, When you create/edit a menu link from backend of joomla you can see an alias associated with it. You can also find Aliases of menu link from grid screen of you menu type.
For showing Menu in front end you have to create CUSTOM HTML module, You can find how to create Custom HTML module here : http://vinaora.com/2012/09/how-to-add-custom-html-to-your-joomla-site-2/
Now, How can you find HTML to write in thst Custom HTML Module? So, for this you can go the page of front-end where that menu is visible. Now prss CTRL+U, you will see the HTML of that page. Here, you have to find the HTML of those menus.
In this HTML, you will find the links like : index.php?option=com_content&view=article&id=6
Now, you have to replace these links with index.php/alias_of_your_menu.
Now paste the edited HTML in Custom HTML module and save it by selecting a proper Position.

You can use joomla menu module in the footer.
Joomla also has the option to display second level menu items in a menu module.
To do this:
Set the Start Level to "1" and the End Level to "1".
That's all. Good Luck.

Related

joomla 3.1 ajax module

ok so I have a main horizontal menu that appears on all pages, (company, products, about us) and I want another menu, (vertical accordion on the left side of the page) inside products:
phone
--samsung galaxy s4
--iphone 4
pc
--hp pavilion
--toshiba
and when I clic on any of the sections of the accordion menu the information about each product appears on the right using ajax. I have made the accordion menu as a custom html module and the same with the content that its supposed to appear on the right side (I used modules instead of articles).
Now I'm thinking that its probably better to create another menu for the accordion and that the content should be articles, but I dont know how to make it look like an accordion, and I still need help using ajax to show the content of each product.
the main thing is, I want to use ajax to replace one module for another when I clic on any section of the accordion menu. is there any way to do it, all I could find in google its how to change the main article of the page, for that i have to replace
jdoc:include type="component" and add an event with the url but that replaces everything and I just want to change the right module/article
something like this
I dont know if I explained myself well.
I used shaper helix 2 template
Any help would be appreciated.
Check for some extensions here: http://extensions.joomla.org/extensions/structure-a-navigation/menu-systems/accordion-menus
An advice... you better forget ajax to load the catalog because as it used on the example the product pages are missed by search engines, as spiders and crawlers doesn't execute javascript. Try to search for that domain... results don't have any product.
Good luck!

Using different joomla template for articles not assigned to menu

I am using a module that displays latest article posts. I am using 2 templates , one for the homepage and the other called templatePage for the other pages.
The problem is that articles not assigned to menu when clicked display using the homepage template instead of templatePage.
Is there a way to assign this articles to the templatePage?
I don't know if exists other option but you could set these articles to a menu and then hide the parent with display:none;. You will need a menu, like article holder, and just set the css.
This is ugly but probably the easy way.

Joomla newsflash items linking to separate page

Joomla 2.5
Let's say I got "News" category with some articles inside and modules, let's call them "module1", "module2" and up to 10.
Normally, if I got menu item called "News" with category view under it (it's called blog or something in Joomla) and I set only "module1" to be displayed there, all the items from this category will be displayed with the same layout.
However, if I add ie. "module2", which is a newsflash, to my homepage, items from "News" category will be displayed with homepage layout, with all the modules shown. I'd like them to be displayed as if they were on "News" page. How to do that?
Answer: add articles to "hidden" menu is not acceptable. Imagine blog, where you have to add all your posts to any kind of menu.
Visual explanation:
Normally, a menu position which lists articles form category and has only two modules (call them module1 and module2) enabled, will look like this: http://imm.io/FGrJ
If you click any item, you will be redirected to a page with the same layout (notice: I don't have to add all articles to menu, just article listing page): http://imm.io/FGrP
However, if I add newsflash module on my homepage, which is full of modules, clicking an item will display article on homepage, in area that I called main content. Which is bad. I'd like it to open just like article from articles listing. Here is screen: http://imm.io/FGsR
This article on the Joomla docs gives a good idea of what your tying to do as I understand it. As you don't wish to have menu items as you state in the question I think the best way is what they label as number 3 at the bottom - installing an extension that provides detailed control over where a module displays. Their featured module is Advanced Module Manager - which comes from NoNumber - something a lot of sites use and has a proven track record. However there is an entire section of modules on Joomla Extension Directory here

How to customize the layout of login page in joomla

Just want change the layout of the login page same as other pages, I want to remove the left sidebar bar and show the main menu, few images and text. You can see the current layout.
Visit http://www.egovtsolutions.net/index.php/component/users/?view=login
You can make the menu module display on all pages rather than on selected pages...then the menu will be displayed on all pages.
You have to choose display option from that module. If you want to enable some modules in that position just check the menus names from that module.
If you don't want any module in login page just unselect all modules from that page. Then only you have better look for login prompt as your wish.
Try this....
I dont know which version of joomla are you working on. But this link covers from joomla 1.5 to 1.7.
You should try to give the "extra2" or "position-29" to your log in module.
The key is just the position you are assigning.

YooTheme Zoo Application Blog Front Page

I am using YooTheme's ZOO Blog application on my front page. I have two things I'd like to acheive;
When clicking on an article title, you are taken to a page where you
have the article in full view, including any read-more content you
may/may not have. When taken to this page, you still have all modules
which are assigned to the 'home' menu item. Unfortunately, in order
for the application, 'Blog' to show on the front page - it must be
assigned to the 'home' menu item.
I'd preferably like the full article page just to have the menu module at the top, and perhaps any modules I do actually 'enable'.
A strange one - I'd like to have no pagination at the bottom of my
front page. I'd simply like to encourage users to go to a separate
page that lists all of the news.
I hope someone can help!
I'd utilise the 'fantastic' community that YooTheme holds - but unfortunately, after 3 months (being the lowest tier when you buy a product) any and -all- support stops. This includes the ticketing system which is mainly community-help based.
If need be, I can provide screen shots.
You can edit the full and any layout by clicking to the icon in zoo administrator panel. There you can edit every element in the link which is under your app type name! Next to the "Default" or your template there are links for full, teaser, feed etc. Full is for the full view of the item and teaser is for the category/front page view! In Yootheme's website you can find a comprehensive documentation about zoo also! Let me know if you need anything else
I found the answers to this problem. (I'm not native english speaker, but I hope you'll understand)
First method - sh404sef, I don't know whether it's a feature or a bug in that component, but that what you need to do:
Unpublish your default homepage menu item(zoo category for example) to wich there were assigned modules that you dont need to be shown, then create and make it Default Page(star sign) new menu item(or use existing one), and assign to it the modules that you want to appear in the full item view(I'm using product not a blog zoo app) or article full view when you click link from homepage and opens zoo item page or zoo category page.
In joomla Globa Configuration turn on - Use URL rewriting, then in sh404sef Control Panel turn on - Enable URL optimization and Rewriting mode with .htaccess . Errase all the url links in sh404SEF: URL manager(if any exist), we need it (sh404SEF) to create new links.
Now when you open new default home page with modules you need to be shown in the zoo item full view, you start to going on ALL the zoo links you wish to open then with that quantity of modules. sh404sef creates SEF link in it backend (in URL manager). And that links will open with exactly with that quantity of modules with zoo.
Now you can publish back again your previos homepage and make it default page. And there will be modules that you want on homepage, but because of links that sh404sef created when you were clicking, the zoo items or article links will open with different modules that we asigned to our second default page you use to create those links. For that purpose I commonly use existing menu item where will be another set of modules not like in the homepage. When you have new link on site you have to partially repeat that. You have to go on that link first time from the page where quantity of modules suits you (and to be on the safe side make that page your default page for that time)
Second method - JoomlaXTC Zoo Item Wall, its a module you don't have to make menu item to show zoo items on a homepage. But, I didn't tried it myself I only read about it.

Resources