I know how to hide the main component from the homepage, what I need is to do the same thing for all my menu items also. Basically, what I want is to create multiple homepages, so every category I choose has certain modules that display content.
How to show only modules, not the article when you click on a menu item (if it is linked to a single article)?
I know I can use some of the extensions that can embed modules to an article, but don't want to do it like that. I know that there are components that simulate homepages, don't want it like that either.
I hope my question is clear enough, I'm using Joomla 1.7.
I have found a simple solution!
Installed T3 framework, which allows the removal of main content component for the menu items you choose.
Related
How can I display all of the sibling items in a parent category on a Joomla! K2 item page? I want all, not just the next and previous. I, also, want to display additional data like the image and extra fields. I realize the category page does this already, but I need it on the individual item pages, too.
There are two ways, create a plugin or just do it in your item.php template (overriden in your template/html/com_k2/ folder!)
Creating a plugin is the correct way. It requires more effort and and creating a plugin is a deep topic that's been described a thousand times.
The same goal can be reached just by editing the item.php template file, but just be aware that it's not a good practice to connect to the database in a template file. You have to do there the same things as you would do in the plugin except you don't have to create the plugin. You have to access the DB and select your desired data from it. Then, you can just write some HTML where you'll put all the data you want.
These pages might help you with both developing the plugin and editing the template
K2 for Joomla - Part 9: Template Overrides
Example K2 plugin (for developers)
Selecting data using JDatabase - Joomla! Documentation
I am busy converting a HTML website into a Joomla temaplate, I got some help doing the home page (index.php), but now the menu items are not linking anywhere. I have a ready coded AboutUs.php page, which I want to important into Joomla and link to the 'About Us' menu item.
Can this be done in the similar way as it is done with the index.php file? Can I maybe upload the file via FTP and link it somehow in Joomla?
Any help on this would be much appreciated.
No it's not how joomla works.
You have to create the second menu item, link it with your content and add the extra modules that your "about us" page have.
If you don't want to do it like that you could create a new template and link each menu to different template but it's not a good approach.
If you are interested about the html part of the php site,
you can just create an article and paste html code in it (do not forget to set the editor in text mode).
If you have css, you may add it int the template's css file.
Otherwise, if you need php functionality, you need to create a joomla component.
If your going to migrate a site and use a tool like joomla i strongly suggest using it the way it was designed to be used. Otherwise theres no point.
When creating from scratch or migrating a site to joomla i would suggest firstly creating (or modifying) one or more templates to get the layout of you site; header, footer, logo, background, modules (eg. menu, login, etc) and component to load and so on.
You will have to recreate the menu items using the menu manager and apply your css to the menu module(you can download free menu modules or use the default one or develop one).
When creating a menu item you can select the template to be used and also what component you want to load (article, sitemap, blog, login, create user, etc...). An article is used to store html content which can be edited through the content manager although there are simple ways to add scripts to your articles.
If you want to add php to your content you have 4 choices.
Template (used to show content which appears on every page; this is where the html starts and ends and where the component and modules' positions are defined),
Component (this is loaded from the template depending on what menu item is selected),
Module (a very simple and easy way to add custom php and html code, can be loaded from the template or from components like in a joomla article),
Plugin (used when wanting to run scripts which dont have any visual content)
I have a situation where we have a "user menu" on the top of the page.This menu is shown on every page with a module.Now in order to set up breadcrumbs properly I need to have a menu item which is published but not visible to any type of user whether guest or registered..
Is it possible in Joomla to have a menu item published and hidden yet accesible via URL??
You will have to write a different module which had most of the functionality of your custom module. In the new module you can change the code in a way so that you dont show the required menu.
I think you should create a menu, setup user groups, view level. Create a menu item, and try to access via menu alis - link.
Good luck
Yes, Menu's are independent of the modules that display them, it's possible to create a menu and not create a menu module, how, depends on the version of Joomla you are using.
That's why there are so hits when you Google — "Joomla Hidden Menu" There is even an article on Joomla Doc's on "Menus" that discusses hidden menus briefly.
So, the normal approach is to create a new Menu with a name like "Hidden" or "Shortcuts" and have the menu items created in that menu, then don't assign a menu module for it.
I am trying to make a simple drop down menu system for my Joomla site. But Joomla menu is completely confusing me. How does a joomla menu work?
For eg: In the image below the whole blue bar is a menu? or each item like 'Projects' is a menu?
Now I can make two pages for Project 1 & Project 2 but where will the 'Projects' link point to? If it does point somewhere then incase of no JavaScript I'd like to point it to a page that shows a list of the menu items.
How do I place my menu at this place in my template?
Why is there a default MainMenu and why do I need to use a menu to show the main content on my site. Shouldn't menus be used for making menus. And I only needed a menu item to show my content not that whole Main Menu. The main confusion is the Main Menu.
I don't wanna use a module coz I couldn't find a good one for 1.7 that uses jQuery (All JavaScript on my site is done with jQuery) and I read somewhere it can be made within the template.
All I want is to somehow place menu items lists inside the respective anchors up top so I can just show/hide them as dropdowns with jQuery.
I hope I haven't made the question confusing pointing to what I need to make. It's just that I'm super confused myself.
Please help.
I appreciate the help.
Thanks Alot.
Joomla menus are generated thru modules. In most cases mod_mainmenu. Theese modules you place in module positions. If your menue should be horizontal on top, then you put your mod_mainmenu module in the position "top". Be aware that every template uses different position names.
I am using PyroCMS Version 1.1.0. It has the navigation module that is used to show up menus in front end. But I couldn't find the way out to generate hierarchical menus like I am working on category module. And in this, I have to generate a menu Category under which I have to show up multi-level menus for categories and subcategories.
Please help me with this.
Each link can have a "parent". Just go to the Navigation page and do it.
This does not support Page Children and the interface is not as awesome as it could be, but those changes are coming in 1.2.