Link to home
Start Free TrialLog in
Avatar of tobzzz
tobzzzFlag for Spain

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
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

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
Avatar of neeraj523
neeraj523
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tobzzz

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
Actually, asp tags are more like <%fieldname%>

If you wish to learn asp, go here:

http://www.w3schools.com/asp/asp_examples.asp

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dear Tobzzz

Does example given by nap0leon works for you ? DO you need further help on this question ?
Avatar of tobzzz

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.