Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Where To Make A Global?

Quote Reply
Where To Make A Global?
I need a global... but it is a "Super" global. I need to access it everywhere... on Detail, in other globals, on Cat pages... everywhere. Essentially, it is the "Title" field, but modified. I used the modified Title field in a number of ways, and have 5-10 different globals now to accomplish this. There are 20-30 steps in modifying Title to make it correctly mofified... and that takes up a few lines of code in each global.

I thought if there were somewhere deep in Links I could put this all in perl, and then just call it where ever I needed it as <%mod_Title%> (or even $rec->{'mod_Title'} in other globals), I could make sure all versions are using the correct and current modifications...

Does that make sense?

I thought about in Site_HTML in the detail page, but I need it other places than JUST Detail...

Thanks!
dave

Big Cartoon DataBase
Big Comic Book DataBase
Subject Author Views Date
Thread Where To Make A Global? carfac 3792 Aug 16, 2011, 7:22 PM
Thread Re: [carfac] Where To Make A Global?
Andy 3672 Aug 16, 2011, 11:50 PM
Thread Re: [Andy] Where To Make A Global?
carfac 3633 Aug 17, 2011, 6:42 AM
Post Re: [carfac] Where To Make A Global?
el noe 3453 Sep 1, 2011, 4:25 AM