Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [brewt] Form display based on the user name

Quote Reply
Re: [brewt] Form display based on the user name In reply to
Thanks Adrian!

I am trying to dislay an error message 'You are not allowed to submit to this category' for certain categories for users.

I tried this. (It is from my 'mint' templates) Not working.

<%category_template_form('set', 'include_error_page.html', '262')%>
<%category_template_form('set', 'include_error_page.html', '263')%>
<%category_template_form('set', 'include_error_page.html', '270')%>
<%set form = category_template_form($ID)%>
<%if form%>
<%form%>
<%else%>
<%include include_form.html%>
<%endif%>

What is wrng about it?

thanks.
Subject Author Views Date
Thread Form display based on the user name hegu 12499 Apr 22, 2009, 1:34 PM
Thread Re: [hegu] Form display based on the user name
brewt 12255 Apr 22, 2009, 2:59 PM
Thread Re: [brewt] Form display based on the user name
hegu 12255 Apr 22, 2009, 3:27 PM
Thread Re: [hegu] Form display based on the user name
brewt 12263 Apr 22, 2009, 4:13 PM
Thread Re: [brewt] Form display based on the user name
hegu 12257 Apr 22, 2009, 9:10 PM
Thread Re: [hegu] Form display based on the user name
hegu 12229 Apr 23, 2009, 11:35 AM
Thread Re: [hegu] Form display based on the user name
hegu 12205 Apr 25, 2009, 9:23 PM
Thread Re: [hegu] Form display based on the user name
Andy 12271 Apr 26, 2009, 1:56 AM
Post Re: [Andy] Form display based on the user name
hegu 12183 Apr 26, 2009, 7:17 AM
Thread Re: [Andy] Form display based on the user name
hegu 12124 May 17, 2009, 7:00 AM
Thread Re: [hegu] Form display based on the user name
Andy 12104 May 17, 2009, 9:01 AM
Thread Re: [Andy] Form display based on the user name
hegu 12074 May 19, 2009, 10:14 AM
Thread Re: [hegu] Form display based on the user name
Andy 12139 May 19, 2009, 11:02 AM
Thread Re: [Andy] Form display based on the user name
hegu 12095 May 19, 2009, 12:02 PM
Thread Re: [hegu] Form display based on the user name
VishalT 12082 May 19, 2009, 3:26 PM
Thread Re: [SWDevil.Com] Form display based on the user name
hegu 12060 May 19, 2009, 5:01 PM
Thread Re: [hegu] Form display based on the user name
VishalT 12090 May 19, 2009, 5:26 PM
Thread Re: [SWDevil.Com] Form display based on the user name
hegu 12035 May 19, 2009, 5:31 PM
Thread Re: [hegu] Form display based on the user name
Andy 12074 May 20, 2009, 12:05 AM
Post Re: [Andy] Form display based on the user name
hegu 12015 May 20, 2009, 7:11 AM