CGUserDirecotry $oneuser.detail_url with non default templat

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
pereblay
New Member
New Member
Posts: 7
Joined: Wed Oct 20, 2010 10:47 am

CGUserDirecotry $oneuser.detail_url with non default templat

Post 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
Post Reply

Return to “Modules/Add-Ons”