Hello,
I want to display particular fields in suggest_link.tpl, depending the user's group, that's why I want to check the group and display -or not- some of the form's fields. I'll need to apply the same system to modify_link.tpl.
thanks
Phil.
PS: I tried to create a different suggest_link template, but it's not recognized by the system, or I don't know how to do so ^-^2010/5/26 Dmitry Andrejev <dand...@gmail.com>
Post the whole block of your template plz.On Tue, May 25, 2010 at 6:13 PM, Phil -- wbtc.fr -- <ph...@wbtc.fr> wrote:
Sorry, my question was not very well asked, as I realize a also need to know if it's possible to have a conditionnal check for user group, to make appearing (or not) selected elements in a page, something like
<inp2:m_if check="u_UserGroup" group="13">
I've made different tests but... no success :s2010/5/24 Phil -- wbtc.fr -- <ph...@wbtc.fr>
thanks !2010/5/24 Dmitry Andrejev <dand...@gmail.com><inp2:m_RequireLogin group="ID,ID2" next_template="..."/>On Mon, May 24, 2010 at 3:37 PM, Phil -- wbtc.fr -- <ph...@wbtc.fr> wrote:
Hello,
how could I use a conditionnal check to display elements only for a given group, like permissions does for categories?
Something like <inp2:m_RequireLogin with group_id="x" ...
Thanks
Phil.
No. There are no tags to perform group based checks in templates.
On May 31, 2010 2:48 PM, "Phil -- wbtc.fr --" <ph...@wbtc.fr> wrote:
alex, this is also a good idea, having different field names for each type of users :)
Your idea on checking in template before displaying on front is good, but I don't know yet how to perform this :s I'd need to check the link owner's group, is there any tag to do this actually?
2010/5/31 Alexander Obuhovich <aik....@gmail.com>
>
> No problem with that. He could pay once to ...