Using Nonumber Advanced module manager with FLEXIcontent

  • Published by
    George Papadakis
  • Last modified
    12 November 2013
  • Up to date
    Yes
  • Concerns
    Component
  • Since Version
    1.5.6
  • Voting
    Average rating
    1 vote
    • 1
    • 2
    • 3
    • 4
    • 5
  • Favourites
    277 Using Nonumber Advanced module manager with FLEXIcontent /documentation/tutorials-english/80-advanced-usages/277-using-nonumber-advanced-module-manager-with-flexicontent.html
  • Tags
    module

Advanced Module Manager paid version supports FLEXIcontent with graphical parameters (this is the most easy alternative for non-experienced users)

or

via PHP evaluation too:

e.g. FLEXIContent item view for items in categories 34, 56, 78

1
2
3
4
5
return (
JRequest::getCmd( 'option' ) == 'flexicontent'
&& in_array(JRequest::getCmd( 'view' ), array('item','items'))
&& in_array(JRequest::getInt( 'cid' ), array(34, 56, 78))
);

 

e.g. FLEXIContent category view for categories 34, 56, 78

1
2
3
4
5
return (
JRequest::getCmd( 'option' ) == 'flexicontent'
&& JRequest::getCmd( 'view' ) == 'category'
&& in_array(JRequest::getInt( 'cid' ), array(34, 56, 78))
);

 


e.g. in ALL FLEXIContent tags view

1
2
3
4
return (
JRequest::getCmd( 'option' ) == 'flexicontent'
&& JRequest::getCmd( 'view' ) == 'tags'
);

 


e.g. in FLEXIContent tags view

1
2
3
4
return (
JRequest::getCmd( 'option' ) == 'flexicontent'
&& JRequest::getCmd( 'view' ) == 'favourites'
);

 

 -- Also please read:
Hiding / Showing FLEXIcontent modules