Register   Login
     
  Latest Posts  
RE: PA Features & Enhancements
by smcculloch on 1/08/2009 4:33 AM
RE: PA Features & Enhancements
by georgelew on 1/08/2009 4:28 AM
RE: Search Wildcard Problem!
by smcculloch on 1/08/2009 4:24 AM
RE: Search Wildcard Problem!
by georgelew on 1/08/2009 4:19 AM
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/08/2009 4:11 AM
RE: Help! Cannot use "&" in CustomField.
by georgelew on 1/08/2009 4:01 AM
RE: Comments not posting
by smcculloch on 1/08/2009 2:55 AM
Does anyone have XHTML Compliant PA Template
by tmahmud on 1/08/2009 1:04 AM
RE: Comments not posting
by WillJean on 1/08/2009 12:53 AM
RE: Comments not posting
by smcculloch on 1/08/2009 12:24 AM
  Forums  
Subject: Template Qualifier?
Prev Next
You are not authorized to post a reply.

Author Messages
Ezra KlugUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:41

6/17/2007 10:56 PM  
I have javascript that goes into the photo link that unfortunately uses [] for variables. These [data] are removed when the page is rendered.

Is there a way to "qualify" those so they are not removed and are ignored?

Example:

Placed in the Individual Photo Template -

{a href="/Portals/0/Gallery/Public/[FILENAME]" title="[TITLE]" rel="gb_imageset[public]"}


When this link is rendered the [public] is removed from rel="gb_images[public]"

I do not know enough about the calling .js files to change them to look for variables in different brackets. The easy solution would be to switch to LightBox but I prefer GrayBox.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12799


6/20/2007 6:15 AM  
Hmm, not that I know of, the algorithm splits the content based on the [ and ] characters.

The only way would be to introdue a special token to handle this scenario, it would probably have some kind of substition fo the [] brackets.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Simple Gallery > Template Qualifier?



ActiveForums 3.7