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