Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

adsmanager pages

adsmanager pages

Hello,
I use joomla 2.5.4 with adsmanager as main page.
i want set slide show in only one adsmanager cat!
the cat url is :
/index.php?option=com_adsmanager&view=list&catid=1&Itemid=101
Note : i use Search Engine Friendly URLs so the cat url :
site.net/1-.html
- i created slide show module with set to no page , i published it in some position!
- i created metamod module with code:

Code:

if (

$option == 'com_adsmanager'
and JRequest::getVar('page') == 'list&catid'
and JRequest::getVar('catid') == '1'
and $Itemid == NULL
) return 3;

But not work for me , can you help me please?
Best regards,
firas

asishlla
Junior Modder
ranks
useravatar
Offline
20 Posts
Administrator has disabled public posting

Re: adsmanager pages

Hi,

Perhaps this might work. It's based on your one, but with a slight change:

Code:

if ( 

$option == 'com_adsmanager'
and JRequest::getVar('page') == 'list'
and JRequest::getVar('catid') == '1'
) return 3;

Please get back to me if this doesn't work. But I think it should.

Cheers,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3328 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Total Posts Today:
2
User Info:
 
Total Users:
4371
Newest User:
kajha63871
Members Online:
0
Guests Online:
213

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked