[NBP web-reskin] Templating Improvement - Voices of Our Readers
(for Ethan or Edie)
swdidomenico at comcast.net
swdidomenico at comcast.net
Sun Aug 23 20:54:46 EDT 2009
Hi Ethan and Edie,
When I navigate to Ways to Help > Voices of our Readers, the [tempate header] and [tempate footer] code appear in the page for these urls:
http://26.camp.nbp.temphost.net:9026/ic/nbp/support/voices.html
http://28.camp.nbp.temphost.net:9028/ic/nbp/support/voices.html
http://29.camp.nbp.temphost.net:9029/ic/nbp/support/voices.html
http://30.camp.nbp.temphost.net:9030/ic/nbp/support/voices.html
http://31.camp.nbp.temphost.net:9031/ic/nbp/support/voices.html
It works in Camp32:
http://32.camp.nbp.temphost.net:9032/ic/nbp/support/voices.html
While I have you on the line, when it comes to creating "Templates" in Interchange is there a set of commands to add a new Template to a catalog? Better yet how does does [var HEAD] know where to get the HEAD template from? I have been going through the Interchange documentation but I have not found an answer.
As I understand it we are switching from the ITL [var] tag to the [template] usertag. Is this correct?
Also during our first conference call there was talk of a "Template Engine" and a Database holding the location of the Template. Is this how it works or did I misunderstand? I read the documentation available on the ITL [var] tag - access local (catalog) and global Interchange variables.
In order to gain some experience, I copied a template catalogs/npb/templates/regions/SUPPORT_TEMPLATE_TOP and named it SUPPORT_TEMPLATE_TOP_STEVE. Then I modified index.html to use [var SUPPORT_TEMPLATE_TOP_STEVE]. As you might have guessed, nothing happened, it did not find the template. So I take it there is a command or something to add the template to the catalog.
Thanks,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nbp.org/pipermail/web-reskin/attachments/20090824/2a388dee/attachment.html
More information about the Web-reskin
mailing list