TinyPortal

Development => Support => Topic started by: Sakuragi on October 05, 2006, 03:20:40 PM

Title: Url format
Post by: Sakuragi on October 05, 2006, 03:20:40 PM
Hi, 
I need to change url format from   
http://www.tinyportal.net/smf/index.php?page=14
to
http://www.tinyportal.net/smf/page-14.html 
on TPortal.template.php 
I changed   

<a href="' . $scripturl . '?page=' . $alink['id'] . '">  
to   
<a href="http://www.tinyportal.net/smf/page-' . $alink['id'] . '.html">  

it's worked ,but I can't do the same with this part of code:   
<a href="' , $story['href'] , '">' , $story['subject'] , '</a>   

thanks in advance
Title: Re: Url format
Post by: Sakuragi on October 07, 2006, 08:25:54 PM
*bump*