Page 1 of 1

CGUserDirecotry $oneuser.detail_url with non default templat

Posted: Tue May 03, 2011 10:42 am
by pereblay
Dear All,

I'm using CGUserDirecotry for summary listing and detail view.

I want a specific detail view (with a template which is not the default one) when an specific user property has got a specific value (properties defined by using FEU Management).

The code should be something like:

{if $oneuser.properties.specific_property == value }
<a href="{$oneuser.detail_url}" title="{$oneuser.username}">{$oneuser.properties.talk2_title}</a>
{/if}

But, making $oneuser.detail_url point to non-default template.

I've been trying with modifiers like {$oneuser.detail_url|modifier} but i haven't found (by test and error) a wokring one :P neither i have found a clue in teh documentation, the first obvius modifier was template="Sample2" but then the link sends you to the home page instead of the detailed user view...

Any clue? It must be easy :)

Sorry if this is issue has been posted before, I haven't found it in Google or the dedicated seach box in CMS made simple forums.

Regards and thanks!
Pere Blay