View Full Version : front page dynamic templetes
hogtied
06-07-2002, 06:46 AM
Hello,
My question is, how do you create a templete. I know you can you editable tag like <font size="2"><text></font> but not sure, well 1. if the example is wrong and 2. how do i fill that tag from a file or javascript.
Thanks
Hogtied :cool:
BillySielu
06-08-2002, 02:50 AM
I am not exactly sure what it is you want but take a look here:
http://www.w3schools.com/css/css_intro.asp
hogtied
06-08-2002, 02:59 PM
what Im trying to do is: take the user name and put it in this format, "<font size="3">welcome <user></font>". it's putting in the user name im not sure how to do. Do i send the user name to a file then pull it off that file and insert it. Or do i do it right from the page itself?
BillySielu
06-09-2002, 03:27 AM
You want to set a form property?
hogtied
06-09-2002, 10:09 PM
aright,, What I want to do is take a users name from a file that has been entered from a pervious form into the home page the next time he visits the page. I was thinking more along the lines of a dynamic templete. Where I would have a basic lay out with these updatable fields and text every time a user visits the site. I'm trying to explain this the best I can. If you still having trouble understanding, please ask me more specifically.
Thanks for repling
hogtied...:woohoo:
Well you can attempt to do this in one of three ways...
1) write a file to hold user information then load it on clients return. This would require a user to either login or be remembered by your site (Cookies would need to be used).
2) record information in a database. This would require a user to either login or be remembered by your site (Cookies would need to be used).
3) if your not remembering a whole lot of stuff... Just use a cookie.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.