37 Posts
PierreP
9 years ago
0
Topic

Hello !

I found a solution for doing condition on content view. But this tip can help you to create multiple possibilities: only your imagination will be your limit:)

If you're not afraid of coding, so this is for you. In the contrary case, or you want something easy, you can still buy this : http://www.seblod.com/products/19160

You need to use the 42 field in your content view : do all conditions you want (use this for using database) and then set values with JInput (explanations) like :

if (condition) {

    $jinput->set('varname', 'helloworld');

}

Then, use the URL variable restriction plugin like this: Variable : varname is equal helloworld.

That's it !

With the php code, you can create unlimited things !

Enjoy !!!

Thank you again Seblod for creating this great CCK !

Get a VIP membership