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

AdsManager

Good day
I want to display module only in ad detail view
I looked up in forum and found how to display in specific category, but I need only when user opens ads detailed view.
please help

Using (Joomla  3.3.1; metamod-3-17; adsmanager 2.9.12)

nalelevose
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: AdsManager

I think I found :

if (
$option == 'com_adsmanager'
and JRequest::getVar('view') == 'details'
) return 109;

nalelevose
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: AdsManager

Yes, that looks likely to work. You can often find clues to this kind of scenario (detecting page types) by turning on MetaMod's Advanced Debug mode, and examining the front-end output from MetaMod on the required page. It generates some PHP code that in most cases will exactly specify the requested page.

Best regards,
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:
1686
Total Polls:
6
Total Posts:
5933
Total Posts Today:
7
User Info:
 
Total Users:
4432
Newest User:
kinggambling14
Members Online:
0
Guests Online:
190

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