FLEXIcontent Universal Content Module adding a current

More
10 years 8 months ago #49765 by iamrobert
Hi,

I am using FLEXIcontent Universal Content Module as a side menu.

I wondering how I can add a class of current to the current menu item. So:

<li class="current">Item 1</li>

Thanks,

Robert

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #49767 by ggppdk
Hello

item in current item view is marked with CSS class:

fcitem_active


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #49774 by iamrobert

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #49781 by ggppdk
Hello


ITEM VIEW:
module file: (tmpl/TEMPLATE_NAME.php)

-- if module lists items (active item):
fcitem_active

-- if module lists cats (category of active item):
fcitemcat_active




CATEGORY VIEW:
module file: (tmpl_common/category.php)

-- if module lists cats (active category):
fccat_active


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #49782 by ggppdk
Hello

see my previous answer, and also here is a new FAQ article:

How to style active item and active category in universal module

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.296 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save