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.

 

[solved] show modul only in one page url

[solved] show modul only in one page url

hello everyone, how can make my modul only appear in one page url, ex: i have this url : http://localhost/jdec/registers then login modul appear, but not appear on other page. thanks before.

Edited By: metamodguy
05-May-13 21:17:51

clarckconnect
Beginner Modder
ranks
useravatar
Offline
5 Posts
Administrator has disabled public posting

Re: [solved] show modul only in one page url

There are several ways to achieve this result, but the most direct way would be this:

if ($core_genius->check("url = http://localhost/jdec/registers")) return XXX;
// replace XXX with module id of module to display on that page.

Also make sure you read through the Quick Start guide for other setup info.

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

Re: [solved] show modul only in one page url

ok im already put that on but still i can see modul in frontpage, and on different page. at now my modul position is position-5 and Module Assignment in all page, is it right i set like this. then on php i put
// example: return 23;
if ($core_genius->check("url = http://localhost/jdec/registers")) return 130;
// replace XXX with module id of module to display on that page.

130 is my modul id.
soved it, i set auto enabled to none.
thanks.

clarckconnect
Beginner Modder
ranks
useravatar
Offline
5 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Posts this week:
4
User Info:
 
Total Users:
4379
Newest User:
coates7891
Members Online:
2
Guests Online:
249


Forum Legend:

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