Re: [WebDNA] INCLUDE file= in the footer

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102790
interpreted = N
texte = Tony, 1) do you mean that right.inc is being included but the webdna in that include is not being parsed?.. so the square brackets in the include remain square brackets? 2) or do you mean that the [include] tag itself (which is trying to include right.inc but failing, regardless of whether the webdna in it is being parsed) is not being parsed?.. so that you see the literal string "[include file=additionalpages/right.inc]" is being sent to the browser? If the former (#1), then you can try wrapping the include in the [interpret] context, like so: [interpret][include file=additionalpages/ right.inc][/interpret] but that should generally not be necessary. So I am guessing the latter (#2), which means I am also guessing that what you are calling the "Advanced Layout page" is not set to parse Webdna. Perhaps your webdna prefs are set such that "" is required on the top of the page to tell webdna engine to parse that file.. and you do not have that HTML comment at the top. (?) Or you have that "[include file=additionalpages/right.inc]" tag in a place which is wrapped in a broader [raw] ..[/raw] context? Or there are other possibilities, but let's start with these ideas. -G On Jun 24, 2009, at 10:03 AM, 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 > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ ------------ Govinda govinda.webdnatalk@gmail.com 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, 1) do you mean that right.inc is being included but the webdna in that include is not being parsed?.. so the square brackets in the include remain square brackets? 2) or do you mean that the [include] tag itself (which is trying to include right.inc but failing, regardless of whether the webdna in it is being parsed) is not being parsed?.. so that you see the literal string "[include file=additionalpages/right.inc]" is being sent to the browser? If the former (#1), then you can try wrapping the include in the [interpret] context, like so: [interpret][include file=additionalpages/ right.inc][/interpret] but that should generally not be necessary. So I am guessing the latter (#2), which means I am also guessing that what you are calling the "Advanced Layout page" is not set to parse Webdna. Perhaps your webdna prefs are set such that "" is required on the top of the page to tell webdna engine to parse that file.. and you do not have that HTML comment at the top. (?) Or you have that "[include file=additionalpages/right.inc]" tag in a place which is wrapped in a broader [raw] ..[/raw] context? Or there are other possibilities, but let's start with these ideas. -G On Jun 24, 2009, at 10:03 AM, 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 > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ ------------ Govinda govinda.webdnatalk@gmail.com Govinda

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:

Fwd: Problems with Webcatalog Plug-in (1997) Quickie question on the email templates (1997) Multiple catalog databases and showcart (1997) Support ?? (1997) How To get Some Help (2003) How can I Add several Items into the cart at once? (1997) Rhapsody? (1997) TRAINING videos - Prove IT. (1998) Not really WebCat (1997) Cobalt RaQ (2000) emailer (1997) (1997) timing out? (1997) The BUG is BACK -- leading < character (1998) Using Applescript to process WebCatalog functions (1998) minimalist shopping cart. (1997) Not reading code (1997) PCS Emailer's role ? (1997) WCS Newbie question (1997) referrer and no caches (1997)