Advanced Module Manager (FLEXIcontent -complete- support)

More
10 years 9 months ago #37715 by Miken

ggppdk wrote: Author of AMM said to support FC v2.0 after the final version comes out.

you can use PHP code to achieve same result (last parameter of advanced module manager)
e.g.


return (
JRequest::getCmd( 'option' ) == 'flexicontent'
&& JRequest::getCmd( 'view' ) == 'item'
&& JRequest::getInt( 'cid' ) == 34
);

Will show the module when items that belong to category with id 34 are display.

Note an FC item may appear in more than one categories

Regards


You privdenny example of the rules at me full of reason, does not work when the SEF.
The exact rules: JRequest :: getInt ('cid') returns "0" instead of the category number

Flexicontent 3.1.1 & Joomla 3.7.1

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

More
10 years 9 months ago #37716 by Miken

ggppdk wrote: Author of AMM said to support FC v2.0 after the final version comes out.

you can use PHP code to achieve same result (last parameter of advanced module manager)
e.g.


return (
JRequest::getCmd( 'option' ) == 'flexicontent'
&& JRequest::getCmd( 'view' ) == 'item'
&& JRequest::getInt( 'cid' ) == 34
);

Will show the module when items that belong to category with id 34 are display.

Note an FC item may appear in more than one categories

Regards


You privdenny example of the rules at me full of reason, does not work when the SEF.
The exact rules: JRequest :: getInt ('cid') returns "0" instead of the category number

Flexicontent 3.1.1 & Joomla 3.7.1

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

More
10 years 9 months ago #37717 by Miken
Myself and answer. :)

If the category is linked to a menu item. This rule also need to bind to it. Here it is:
Code:
return ( JRequest::getCmd( 'option' ) == 'com_flexicontent' && in_array(JRequest::getCmd( 'view' ), array('item','items')) && in_array(JRequest::getInt( 'Itemid' ), array(132)) );
Itemid - this is the id of the menu item

Maybe someone will come in handy!In general, you can add in the FAQ.

Flexicontent 3.1.1 & Joomla 3.7.1

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

More
10 years 9 months ago #37727 by ggppdk
Hello,

if you have the Free version of AMM, then you can enter this code in the parameter
"PHP rule code"
under slider "Hide/Show Module"
(also enable the parameter "Enable Rule")

and you should have the same effect


-- 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 9 months ago #37736 by Miken
Do not write your own question there. I use a standard module Flexicontent to display. (Universal Content Module for FLEXIcontent).And above all it has been written about him.

Flexicontent 3.1.1 & Joomla 3.7.1

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

More
10 years 9 months ago #37744 by ggppdk

miken wrote: Do not write your own question there. I use a standard module Flexicontent to display. (Universal Content Module for FLEXIcontent).And above all it has been written about him.


This sounds rude,

and furthermore,
i am not sure to which question you are referring to ...


-- 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.301 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