Home Plugins mosIF, Your Conditional Joomla Content
|
mosIF, Your Conditional Joomla Content |
|
|
- Are you sick from changing your content periodically?
- Can you write separated content for Public, Registered and Special users?
- Are you sick from adjusting your CSS for IE and FF?
- Can you control your content based on visitors' cookies and IP address?
- What about weekend content?
This is a brief about mosif functionality. mosif provides an open solution to write a conditional content based on visitors and server parameters.
Simple answer, but what does that mean? Examples:
Example #1: Display link into content for registered users only:
{mosif login.equal(registered)} <a href="thelink">Go to Forum</a> {mosend}
Example #2: Conditional welcome:
{mosif hour.lessequal(12)} Good Morning … {moselse} Good After noon … {mosend}
Visitors' parameters are: Browser, OS, Login, Cookie, Remote Address and JavaScript. Server Parameters are: Date, Time, Month, Day, Year, Weekday, Hour and Minute. Complete Supported Variables/Operators: Variables/ Operators | browser | os | date | time | login | cookie | remoteaddr | month | day | year | weekday | hour | minute | javascript | | ! | not | x | x | x | x | x | x | x | x | x | x | x | x | x | x | | equal | = | | | x | x | x | | | x | x | x | x | x | x | | | greater | > | | | x | x | x | | | x | x | x | x | x | x | | | greaterequal | >= | | | x | x | x | | | x | x | x | x | x | x | | | less | < | | | x | x | x | | | x | x | x | x | x | x | | | lessequal | <= | | | x | x | x | | | x | x | x | x | x | x | | | between | between | | | x | x | x | | | x | x | x | x | x | x | | | contain | contains | x | x | | | | | x | | | | | | | | | exist | exist | | | | | | x | | | | | | | | | | am | AM | | | | | | | | | | | | x | | | | pm | PM | | | | | | | | | | | | x | | | | leap | Leap Year | | | | | | | | | | x | | | | | | disable | JS Disabled | | | | | | | | | | | | | | x |
Download mosIF
|
|