Re: Strangeness in template parsing

Joe Stewart <[email protected]> Fri, 11 Apr 2003 08:57:47 -0500
Newsgroups gmane.comp.cms.phpslash.user
Message-ID <[email protected]>
On Fri, Apr 11, 2003 at 07:31:23PM +1000, Lars wrote:
> Hey all!
> 
> Just found a little quirk that doesn't look too good, and I hope it's not a 
> "feature" meant to stay. I have the following in my queryblock.tpl:
> <!-- queryblock.tpl begin-->
>          <!-- BEGIN each_query -->
>          <li type="square"><a 
> href="{ROOTDIR}/article.php?story_id={STORY_ID}">{TITLE}</a><br>
>          <!-- END each_query -->
> <!-- queryblock.tpl end-->
> 
> This works fine, but returns the code: 
> http://www.pda-nytt.no/article.php?story_id=884&section=8 - which looks 
> terrible compared to what I believe it *should* look like: 
> http://www.pda-nytt.no/article.php?story_id=884 which is what the rest of 
> my site looks like.
> 
> Anyone care to shed some light on this ?
> 

What are the values of:

;; Name of the default section (what you want browsers to see when they
;; first enter the site
site_homesection = "Home" 
;; ID in the database of the above section
home_section_id = 3

and what is the query in the Source URL?


> Cheers,
> 
> Lars
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
> for complex code. Debugging C/C++ programs can leave you feeling lost and 
> disoriented. TotalView can help you find your way. Available on major UNIX 
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> phpslash-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/phpslash-users
> 


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com