Joomla Category List Layout - joomla

My requirements are the following:
43 different menu items in different menus that have to display the same Category List Layout content.
The issue is, the list of articles is displayed correctly but the itemId of each article link is the same for every menu item.
This behaviour is not good for me because I need to show the current menuItem(itemId) and hide all the others.
There is a workarround? Or I need to have 43 categories with the same articles.
I'm using Joomla 1.5

Related

Display Featured Article of Specific Category Using a Module in Joomla

I am working with different modules in Joomla (2.5) in order to display a variety of things. Right now I am trying to show the featured article of a specific category.
For example: I have three different pages, all showing articles specified by its own category.
Bikes
Gears
Media
Each of these pages has a range of article (lets says 20 each). Each of these sets of articles has a featured article. So there is a featured article for Bikes, Gears and Media.
My problem is trying to get this featured article to display at the top of each main page. I've tried using the Articles by Category module and I've looked into the Article - Newsflash module as well as looking at the code of the front page where a "featured article" typically appears.
Does anyone have any suggestions for a module I may be able to use?
No module needed. Here are two ways you can accomplish this:
In the Blog Layout Options for your Category Blog menu item, set Article Order to Featured Articles Order.
Alternatively, make a new parent category for each existing category and put the featured article in the parent. Set your blog page to show the parent category and the subcategories. Hide the subcategory headings on the page with menu item settings and/or CSS.

Joomla menu and K2 categories. How do I

I am using Joomla 2.5 as CMS for my website, and I am using K2 for categories and articles/items. I was wondering if i have list of 50 - K2 categories.
It has 5 main categories and 10 sub categories for each.
How can I either manually or automatically make categories listed in main menu and when user clicks for example:
Home >> Contact >> Products >> About >> Call
If user selects Contact, how can I make it so it loads page which displays all articles/items in category called "Contact" but if User selects specific sub item from Contact for example:
Contact
^^Phone
^^Email
^^Skype
^^Post
if user selects Email it would show only articles/items from category Contact>>Email.
Help?
You can create a Menu item called Categories for example, or 10 menu items each one for your top categories.
Then you can start adding submenu items, for example in the top menu level called Contact add the Email sub-categorie. So when users visit your website can navigate through the menu to all categories you got.
An other way to do it faster is to use this plugin: http://www.nonumber.nl/extensions/addtomenu but I think it only works for items and not for categories (but you can ask the developer).
IMPORTANT: You can have top-categories configured to show only the items of this one or also with sub-categories, and can create a K2 menu item which can display in one link lot of categories you can choose in the parameters using CTRL+CLICK (even from other top categories).

how to make the front page of joomla consist of only one article, or one section?

Currently, the joomla front page consists of latest news and several articles and list, basiclly i want to change the layout of this to just one specific article.
Changing the home button properties on the menu page doesnt do the trick as thats not the same as the front page.
Go to the menu manager and find the default menu item. It is marked with a star. Edit that item. If it is using a frontpage/featured layout you can tell it exactly how many featured articles do display by changing the parameters. OR you can change the menu item o a single article or a category or whatever you want.

URLs in module not pointing the correct category from index page

I have 2 modules on my home page. One lists most popular, one lists most recent k2 items from 2 different categories, video and blog. The links to the blog entires go to /blog/item/, so the side bar modules are being displayed correctly. But for some reason the video entries are linking to /component/k2/item/, and on that page the modules that are supposed to on the right do not show up at all. The content area takes up the entire width of the site.
What is further confusing about this situation is that i have duplicates of those modules running on certain interior pages, with the same settings, that link to the items correctly. The only reason i have 2 of the same module is because i need that same module to display below the content on index page, and in the side bar on select interior pages.
I do not have a menu item that links to the video category. The main category is Education, and there are 3 sub categories. blog, video, article. There are only menu items for Blog, and for Education. I already have that same module in the some of the interior pages, and it works fine.
what am i doing wrong?
The solution is pretty simple, the explanation is rather complicated. Here is the solution -
Create a new menu, call it hidden links or something. Doesn't matter what is it called, you will not display this menu on the site.
Create a new menu item for the video category.
Assign your modules to that hidden menu item.
If you don't care about what is happening, just know that you can always create hidden menu items to control layout on pages.
If you do care, get a cold drink and get comfortable...
Menu items in Joomla server several different purposes other than providing links for users to get to content. If you are using the core SEF URLs, this is the first place Joomla looks to create those URLs. In general a URL is built like this - joomla install/parent menu item alias/sub menu item alias/content item/article alias.html. Since your video category does not have a corresponding menu item to use for building URLs, it uses the default URL scheme.
The menu item is also the source for the itemID that every page uses. If a particular page does not have a related menu item, it will inherit the itemID from the previous page usually or in the case of k2 items/joomla article it will inherit the itemID from the menu item that links to the parent category of the content. The itemID is used to determine module menu assignment. This is why getting to a particular page that does not have a menu item 2 different ways will often give you pages that look different, different itemIDs were inherited resulting in different modules being displayed.
Since Joomla really counts on the itemID, you should always specify a menu item for any content you are diplaying, even if you do not want to display a link in the menu. By creating a menu that does not appear in a module, you still get the itemID you need for the content, but the menu never appears anywhere. Usually, a link to a category will be enough since child content will pick up that itemID, but in some cases it makes sense to create menu items to specific content items/articles. You would do this any time you want a specific URL for an item. For example, if you wanted to create a URL like your-site.com/special-offer, you could create the content item for the special offer, then make a menu item with the alias special-offer to get the correct URL.
Joomla also uses the menu item for browser titles and page titles. Your question is not related to that so I'll stop here, but as you can tell it is pretty important to know when to create a menu item for your content.

Joomla conditional pages and menus

I'm trying to make a "Chapter selector" for my organization's website. I want to be able to select, say, the "Bay Area chapter" and have the site display articles and events for the Bay Area chapter (while keeping the chapter-independent parts of the site the same). How do I accomplish this?
I'd need a little more detail but here are some of the things to consider -
I am a fan of K2 for being able to nest categories, but you can at least categorize all of your Chapter information in to separate categories within a single section in the Joomla content manager.
For each Category you will need a menu item - Articles > Category > Category blog Layout
In the module manager you will need corresponding modules that display category related information. Be sure to associate the modules to the correct menu items in the module's Menu Assignment area.
I'd do the chapter selector as a menu. Create a menu to contain your chapters and then publish a module for that menu which allows you to pick your items with that chapter.

Resources