- - - - - - - - - - - - - - - - - - - - - - - - - - - - Name: jb Subject: Re: Removing SQL dependancy
Suggestion: Perhaps VarDir could be determined and set in the template using IF/ENDIF in the header part. Passing as a param would expose it to the public - not very secure. It would be better to set the VarDir by something like the tag (or other param). If the tag is "news" set HomeVar="/home/news" ...etc... Maybe by parsing for something like the IIF function in the !variables part: HomeVar iif(tag=="news","/home/news","/home/other") HomeVar iif(tag=="news","/home/news", iif(tag=="forum","/home/forum","/home/other")) Sorry, but I'm just brainstorming here. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Read the full topic here: http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1149107428
