Gossamer Forum
Quote Reply
Minitemplates
Perhaps "minitemplates" is a bad name, but what I am looking for advise on is a simple way to get conditional (in a RESTian sense, I think they call it) content/pages.
What?
Is there somehow I can add a field in my database that allows me to call the values in an URL?
For links, yes. But what about the global site (like &t=simple for the simple templates) ??

Example:
Fieldname: Color
Values: Red, Green, etc
Now, when calling ../page.cgi?Color=Green, the produced page would be instructed to fetch a green style (by calling <%Color eq 'Green'%>.css or whatever)

Any suggestions?

John
Subject Author Views Date
Thread Minitemplates gotze 1644 Jan 12, 2005, 5:30 PM
Thread Re: [gotze] Minitemplates
brewt 1598 Jan 21, 2005, 11:28 AM
Thread Re: [brewt] Minitemplates
gotze 1573 Jan 21, 2005, 12:01 PM
Post Re: [gotze] Minitemplates
gotze 1569 Jan 21, 2005, 3:42 PM