Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Best way to check on url
Best way to check on url
Re: Best way to check on url
Yes:
if ($core_genius->check("url contains any of keyword1, keyword2, keyword3")) return XXX;
or to test that it contains ALL of the keywords listed, in any order:
if ($core_genius->check("url contains all of keyword1, keyword2, keyword3")) return XXX;
JomGenius gives you lots of other things that you can easily test for, like referrer etc. See http://www.metamodpro.com/jomgenius/about and http://www.metamodpro.com/jomgenius/parameters for more details.
Cheers,
Stephen
Re: Best way to check on url
Let's say for following url:
http://demo.reviewsforjoomla.com/art-ga … rd-theatre
The following statement will be evaluated as true?
if ($core_genius->check("url contains any of art, redford"))
Re: Best way to check on url
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Best way to check on url
Board Info
- Board Stats:
- Total Topics:
- 1700
- Total Polls:
- 6
- Total Posts:
- 5967
- Posts this week:
- 3
- User Info:
- Total Users:
- 8056
- Newest User:
- no21an
- Members Online:
- 0
- Guests Online:
- 183
- 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