I want to associate jquery category menu instead of the regular/default category menu so that my categories can be shown as “Categories on main and sub-cats on sub menu.
Is it possible? What vars I have to use
Thanks
Offline
Hi saqwild,
I don't understand exactly what you want to do (an example of what you expect would be useful)
[extension by rvelices] RV Menutree provides a replacement for the standard menu with expand/collapse icons. Either you can find it perfect for your use or you can take it as a model to know how to change the category menu.
Offline
Thanks plg for your prompt reply and sorry that i couldn’t make my self very clear.
what i want is, to replace default category display with some jquery category script so that my categories work on onmouseover() basis
right now the problem is that my sub-cat list is very big. i have around 30+ sub-cats under one cat so when i click on main cat it goes too long on the page as well takes long time to load.
i want to use jquery script so when i hover the mouse on any main cat, it shows the sub-cats as a drop-dwon list.
i hope i make myself clear.
thanks
Offline
I understand that you are talking about the main block on the page, not the menu. I mean where you have 2 categories on each line with thumbnail + description for each category. Right?
If you want to modify this, the best thing to begin is to create a template-extension that would replace mainpage_categories.tpl. Look at your "template-extension" directory and the [Administration > Configuration > Templates], click on the big "?" question mark to learn more.
The problem is that when you are on a category, Piwigo doesn't send the subcategory list to the template :-/ I know VDigital recently made some developments with a template listing subcategories. I notify him about this topic.
Offline
thanks
is there any option so that i can set up the display of my main page categories in 3 columns instead of 2 columns
Offline
CSS rule
[extension by Piwigo Team] LocalFiles Editor
Tab ⇒ CSS,
add the following code at the end of the local-layout.css of your choice (in yoga = only for yoga):
/* to get 3 columns */
.content ul.thumbnailCategories li {
width:31%;
}
Offline
Try this:
/* to get 3 columns */
.content ul.thumbnailCategories li {
width:31% !important;
}
Offline
P@t wrote:
Try this:
/* to get 3 columns */
.content ul.thumbnailCategories li {
width:31% !important;
}
worked like a charm...:) thanks
Offline