Missing END_DEFINE tag

General ShopSite user discussion

Missing END_DEFINE tag

Postby Stan » Sat May 28, 2005 8:05 am

I'm a novice at all of this shopsite stuff. What do I need to do so I don't
keep getting this error message when I generate a page.

MainTemplate.htm [89]: Template Error: Missing END_DEFINE tag

Thanks,

Stan Allman
stan@vacuumvendor.com
www.vacuumvendor.com
Stan
 

Re: Missing END_DEFINE tag

Postby loren_d_c » Sat May 28, 2005 10:31 am

For every DEFINE you have in your template (and there should be 2 in a
page template) there should be a matching END_DEFINE or you will get
this error. For example, in a page template there is a section that
defines the way the link to this page looks on other pages, it starts
with this:

[-- DEFINE LINK_TO_PAGE --]

and it must end with this:

[-- END_DEFINE LINK_TO_PAGE --]

The main section of your page template (the HTML for you page itself)
should start with this:

[-- DEFINE PAGE --]

and end with this:

[-- END_DEFINE PAGE --]

These DEFINES and END_DEFINES should be on their own lines in the
template file.

-Loren




Stan wrote:
I'm a novice at all of this shopsite stuff. What do I need to do so I don't
keep getting this error message when I generate a page.

MainTemplate.htm [89]: Template Error: Missing END_DEFINE tag

Thanks,

Stan Allman
stan@vacuumvendor.com
www.vacuumvendor.com

loren_d_c
 
Posts: 2564
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 20 guests