Advanced Module Manager (FLEXIcontent -complete- support)

More
12 years 10 months ago #21655 by Rooney
Hi, a new version of AMM is published. The latest version of AMM that works with FC2 has some minor issues. Do you no, if FC2 support is now implemented? I am asking this here because I have not yet an account in the AMM forum.

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
12 years 10 months ago #21658 by ggppdk
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


-- 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
11 years 5 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
11 years 5 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
11 years 5 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
11 years 5 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.475 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