Re: [WebDNA] INCLUDE file= in the footer

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102789
interpreted = N
texte = Tony Miller wrote: > I am trying to include a file in the footer of a sitebuidler site in > WebDNA eCommerce 6.0a on Mac OS X PPC 10.4.11 server. > > I have placed the following code in the footer field in the > admin:Advanced Layout page: > > [include file=additionalpages/right.inc]
EyeDirect.info > © 2009
> > All I get is the literal code displayed above the copyright copy. I've > tried adding the slash in front of the additionalpages too, but same thing. > > Do I have to wrap it in some special tags to get it actually include the > file? > > Thanks in advance > > Tony Miller > tmiller@thehawkeye.com Hi Tony, generally, it is a bad idea to allow the parsing of WebDNA derived from a database unless you have control over it. Yes, you could parse WebDNA from inside a database by adding interpret tags.. but that is potentially a security issue. Instead, just open the "default.tpl" file and scroll down to where it says "[footertext]" and include your [include..] tag there. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] INCLUDE file= in the footer (Tony Miller 2009)
  2. Re: [WebDNA] INCLUDE file= in the footer (Donovan Brooke 2009)
  3. Re: [WebDNA] INCLUDE file= in the footer (Govinda 2009)
  4. Re: [WebDNA] INCLUDE file= in the footer (Donovan Brooke 2009)
  5. Re: [WebDNA] INCLUDE file= in the footer (Govinda 2009)
  6. Re: [WebDNA] INCLUDE file= in the footer (Donovan Brooke 2009)
  7. [WebDNA] INCLUDE file= in the footer (Tony Miller 2009)
Tony Miller wrote: > I am trying to include a file in the footer of a sitebuidler site in > WebDNA eCommerce 6.0a on Mac OS X PPC 10.4.11 server. > > I have placed the following code in the footer field in the > admin:Advanced Layout page: > > [include file=additionalpages/right.inc]
EyeDirect.info > © 2009
> > All I get is the literal code displayed above the copyright copy. I've > tried adding the slash in front of the additionalpages too, but same thing. > > Do I have to wrap it in some special tags to get it actually include the > file? > > Thanks in advance > > Tony Miller > tmiller@thehawkeye.com Hi Tony, generally, it is a bad idea to allow the parsing of WebDNA derived from a database unless you have control over it. Yes, you could parse WebDNA from inside a database by adding interpret tags.. but that is potentially a security issue. Instead, just open the "default.tpl" file and scroll down to where it says "[footertext]" and include your [include..] tag there. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Donovan Brooke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Getting Total Quantity (1997) Getting total number of items ordered (1997) [FoundItems] solved - thanks (1997) Stumpted Again (1997) off topic, converting mail (1998) How do you TEAM Code? (2004) IIS alert from source W3SVC (2000) Nesting format tags (1997) Email and name capture (1999) WebCat2 - [format thousands] (1997) WebCat2b13MacPlugIn - [include] (1997) Emailer problems solved (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) PCS Emailer's role ? (1997) Nested tags count question (1997) Where's Cart Created ? (1997) WebCat chatroom (1997) Copyright ? (1997) U&P IIS concept (1998) Summary Searches (2000)