tobzzz
asked on
How to call things in {tags} like in a CMS in classic ASP
Hi Experts,
In PHP CMS kits i've seen code put in between brackets and the site then calls that specific feature. I think this would be a nice thing to add to my custom classic ASP CMS site. So for example i'd like to have CMS HTML content but the client could add {contactform} and the contact form would show there. How can this be done in classic ASP? Some example code would be ideal.
Thanks and happy 2012!
/ Tobzzz
In PHP CMS kits i've seen code put in between brackets and the site then calls that specific feature. I think this would be a nice thing to add to my custom classic ASP CMS site. So for example i'd like to have CMS HTML content but the client could add {contactform} and the contact form would show there. How can this be done in classic ASP? Some example code would be ideal.
Thanks and happy 2012!
/ Tobzzz
You need to elaborate on your question. perhaps some pictures of what you have and what you want would be beneficial. As it stands we have really no idea of what you really are looking for.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
HI neeraj523,
Yes this is exactly what I want to do but I do not know how to code it. It is essentially a replace feature, as you say and it is replacing it with things from the database. Please advise on how to code it and if you have any code sample or site references that would really help!
Thanks!
/ Tobzzz
Yes this is exactly what I want to do but I do not know how to code it. It is essentially a replace feature, as you say and it is replacing it with things from the database. Please advise on how to code it and if you have any code sample or site references that would really help!
Thanks!
/ Tobzzz
Actually, asp tags are more like <%fieldname%>
If you wish to learn asp, go here:
http://www.w3schools.com/asp/asp_examples.asp
If you wish to learn asp, go here:
http://www.w3schools.com/asp/asp_examples.asp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dear Tobzzz
Does example given by nap0leon works for you ? DO you need further help on this question ?
Does example given by nap0leon works for you ? DO you need further help on this question ?
ASKER
Great example code - I will apply to the context of what I want to do with my new CMS - thanks nap0leon!
Also thanks to neeraj523 for the assist.
Also thanks to neeraj523 for the assist.