I am ready to change the demo page/search page of Links SQL. I cannot get a handle on how and where to start. I know there are templates you can change. I am not sure which one I should start with. I am sure that people do that all the time. Can someone give me an idea?
Aug 23, 2000, 2:18 PM
Veteran (17240 posts)
Aug 23, 2000, 2:18 PM
Post #2 of 5
Views: 3375
Start with the home.html and category.html template files. You can either use a Text editor (if you know raw HTML) or a WYSIWIG editor (like DreamWeaver or Front Page) to edit those files.
When you have a good layout created, you can plug the HTML codes into your other template files.
Regards,
Eliot Lee
When you have a good layout created, you can plug the HTML codes into your other template files.
Regards,
Eliot Lee
Aug 28, 2000, 12:56 PM
Novice (43 posts)
Aug 28, 2000, 12:56 PM
Post #3 of 5
Views: 3342
Hi, Eliot and pugdog and those that can help: 1. I want to get rid of those top links "Add a Resource" Modify a Resource, ..." as well as footer stuff from my user access page. I found them in header.txt and footer.txt. Will bad things happen to me if I get rid of the line "<%include header.txt%>" and <%include footer.txt%>? I Just want to ask before I mess up anything, 2. I want to change the color and wording of the banner on the top stating "Links SQL Demo:". So where is <%site_title%>? What will be the consequence if I change them? 3. Can I create my own user interface page totally and discard the default one? What must I include in my page from the default page (home.html or search.html) beside CGI form action? Thanks.
Aug 28, 2000, 8:07 PM
Veteran / Moderator (6956 posts)
Aug 28, 2000, 8:07 PM
Post #5 of 5
Views: 3326
I broke my pages up into "zones"
The top "zone" is a header.inc file.'
Below that is an advert.inc file
Then comes a navigation.inc file
Then comes the blocks of areas for the insertion of the links variables, and my sidebar.inc file.
Then comes a navigation2.inc file (usually the same as the file above).
Then comes the footer.inc and copyright.inc files.
Your page layout will vary, but it _really_ behooves you to come up with a generic page format, then put everything that is on more than one page into an .inc or .txt file to include. It makes site maintennance much, much easier.
Also, the next version of links will most likely parse include files that include files. I meant to ask Alex how he plans to avoid a recursive endless looping.
http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/
The top "zone" is a header.inc file.'
Below that is an advert.inc file
Then comes a navigation.inc file
Then comes the blocks of areas for the insertion of the links variables, and my sidebar.inc file.
Then comes a navigation2.inc file (usually the same as the file above).
Then comes the footer.inc and copyright.inc files.
Your page layout will vary, but it _really_ behooves you to come up with a generic page format, then put everything that is on more than one page into an .inc or .txt file to include. It makes site maintennance much, much easier.
Also, the next version of links will most likely parse include files that include files. I meant to ask Alex how he plans to avoid a recursive endless looping.
http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/