Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need some different approaches 2

Status
Not open for further replies.

zxcdf5je

Programmer
Apr 1, 2005
86
US
Dear all,
I need some direction about how i should go on doing this:
I want some approaches on this:

i have some templates which i have prepared by using HTML.
How can i display all these templates from my DB and have a radio button next to the templates.
After the user selects or checks one of the radio buttons and hits submit,how should i tell my code that it needs to email that specific template to the user.

I dont mind implementing it in other ways too...all i need is that the agent gets to choose from the templates ,which one he/she needs to send out.
Please give me ideas about how i can accomplish this.
 
display radio buttons besides template names which are actually links and when clicked the user can get a preview of how the template looks and once the user decides on a particular template he/she checks the radio button and submits the form.

your database table should have the following fields TemplateID|TemplateName|TemplatePath

you can then use CDOSYS or other mailing program and FSO to email the selected template...

-DNG
 
Sometimes web templates may include many different kinds of files. Maybe today you only have some .html files but eventually you might also have files like .js .css. .swf etc... So you might want to use an archiving standard like ZIP or TAR that is capable of combining multiple files into a sigle compressed file.

Also you might want to just allow the user to download the file rather than email it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top