Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Gossamer Links
:
Discussions
:
Custom Add Url form for category
Previous Thread
Next Thread
Print Thread
View Threaded
Sep 9, 2003, 10:26 AM
Chrisp
User
(73 posts)
Sep 9, 2003, 10:26 AM
Post #1 of 3
Views: 1777
Shortcut
Custom Add Url form for category
Is it possible to have a different "add url" form for different categories?
Thanks,
Sep 9, 2003, 10:32 AM
Alex
Administrator
(9387 posts)
Sep 9, 2003, 10:32 AM
Post #2 of 3
Views: 1725
Shortcut
Re: [Chrisp] Custom Add Url form for category
In reply to
Hi,
How complex do you need it? You change add.html to something like:
Code:
<%if Category eq 'Cat1'%>
<%include cat1.html%>
<%else%>
<%include regular.html%>
<%endif%>
Cheers,
Alex
--
Gossamer Threads
Inc.
Sep 19, 2003, 2:08 AM
fff
Novice
(34 posts)
Sep 19, 2003, 2:08 AM
Post #3 of 3
Views: 1676
Shortcut
Re: [Alex] Custom Add Url form for category
In reply to
Hi Alex & all,
the above code works well , but how can it be modified if I have huge number of categories ???
As I have different links types in various categories, I added a custum fiels for category (type=1 ... type=10)
How can I read the value of the "type" of the passed cathergory within add.html (in order to present the right form as you have proposed) ???
??
thanks in advance
Fab
Previous Thread
Next Thread
Print Thread
View Threaded