Specific item in mod_flexicontent

More
7 years 1 month ago - 7 years 2 weeks ago #66650 by lipatovroman
Hi!
How to display only Specific item(s) in mod_flexicontent?
For example I need to display only item with ID 23, or several items with id's 23, 26, 45.
Thanks.
Last edit: 7 years 2 weeks ago by lipatovroman.

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

More
7 years 1 month ago #66652 by micker
3 ways :
Methode 1
1 create a link to your item in a not display menu like flexihidden menu
2 unassign your module for this link
Methode 2
using php rules in module to exclude item
Methode 3
load you module in item template and add php condition like

switch ($item->id) {
case 23:
case 24:
echo "{loadmodule YOURMODULE}";
break;
default:
echo "";
}

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
7 years 1 month ago #66659 by lipatovroman
:blink:

Are you sure?

I just need to display 1 or 2 specific items in module...

I can't explain to my clients your 3 ways.

This is how it can be done in K2:

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

More
7 years 1 month ago #66661 by micker
ah sorry .... i do realy understand
in universal module item scope use id of item simply

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.538 seconds
Save
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