Re: [WebDNA] anyone have a solution for a global include for v7?

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109282
interpreted = N
texte = > Am running v7 on my mac and hoping to get a global include working (or = I'll have to edit a whole bunch of files that rely on global functions).=20= On one project I stuck a file (for include) in *every* directory, and = that file contained the relative path to my actual 'faux-globals' = directory from that directory. Then for every path that had wanted to = use globals, I just included there the copy of my globals-path definer, = that lives in every directory. This way every path that had wanted to = use globals can be the same.. i.e. a local call to a file in that very = same directory. In the end it worked fine, although seemed kinda silly too. But maybe = will save you some hassle by following something similar? -G Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] anyone have a solution for a global include for v7? (Olin Lagon 2012)
  2. Re: [WebDNA] anyone have a solution for a global include for v7? (Govinda 2012)
  3. [WebDNA] anyone have a solution for a global include for v7? (Olin Lagon 2012)
> Am running v7 on my mac and hoping to get a global include working (or = I'll have to edit a whole bunch of files that rely on global functions).=20= On one project I stuck a file (for include) in *every* directory, and = that file contained the relative path to my actual 'faux-globals' = directory from that directory. Then for every path that had wanted to = use globals, I just included there the copy of my globals-path definer, = that lives in every directory. This way every path that had wanted to = use globals can be the same.. i.e. a local call to a file in that very = same directory. In the end it worked fine, although seemed kinda silly too. But maybe = will save you some hassle by following something similar? -G 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:

New command suggestion (1997) Help formatting search results w/ table (1997) Can't load tmpl files (1997) You sent this to me by mistake. (1998) [shownext max=?] armed (1997) [WebDNA] TLS 1.2 and [tcpconnect] (2018) [WebDNA] Calendar Examples (2019) db access problem after switching to SSL (2001) Kaaaaahhhhhhhnnnnnnn! (1997) RE: type 2 errors with ssl server (1997) Here we go again... (2006) OT: router and load balancer (2004) Problems appending to database (1997) HELP!! problems with e-mail from WebCAT (1998) Summary search -- speed (1997) RE: creating writefile data from a nested search (1997) FORMS: Returning a specific page (1997) Re:2nd WebCatalog2 Feature Request (1996) WebCat2: Found Items syntax, etc. (1997) Changing names of .hdr field names (2003)