Have thought about the following:
Add some new fields for textblocks and grafix, and a detailed (yes/No) and one for the format (1,2,3,4) and a htmlname as textvar.
When adding set detailed to no as hidden field, the same when modifying. Change the dir Detailed to the main dir, so the detailed-page is created in http://www.domain.com/...
Instead of building ID.html build html-name.html.
In Detailed.html do if format = 1 do text1, pic1 text 2 pic 2 ... if format = 2 made a table 2on2 or something like this.
Now my probs at the moment:
1. How to prevent users from entering a value in htmlname that is used from another user. (Maybe with UNIQUE in SQL?)
2. Its clear how to build the detailed only when the Detailed is set to yes; but how can i change the field to no after or while building so the page isnt build a second time without modifying? (In my intranet i need 4 seconds to build for 100 Detaileds) So some function like: change all fields Detailed in all entrees that are yes to no.
Fine idea, isnīt it?
Hope to hear from you, maybe with some other fine sugestmens to improve this.
Robert
Add some new fields for textblocks and grafix, and a detailed (yes/No) and one for the format (1,2,3,4) and a htmlname as textvar.
When adding set detailed to no as hidden field, the same when modifying. Change the dir Detailed to the main dir, so the detailed-page is created in http://www.domain.com/...
Instead of building ID.html build html-name.html.
In Detailed.html do if format = 1 do text1, pic1 text 2 pic 2 ... if format = 2 made a table 2on2 or something like this.
Now my probs at the moment:
1. How to prevent users from entering a value in htmlname that is used from another user. (Maybe with UNIQUE in SQL?)
2. Its clear how to build the detailed only when the Detailed is set to yes; but how can i change the field to no after or while building so the page isnt build a second time without modifying? (In my intranet i need 4 seconds to build for 100 Detaileds) So some function like: change all fields Detailed in all entrees that are yes to no.
Fine idea, isnīt it?
Hope to hear from you, maybe with some other fine sugestmens to improve this.
Robert