TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 446
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Url format

Started by Sakuragi, October 05, 2006, 03:20:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sakuragi

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

Sakuragi


This website is proudly hosted on Crocweb Cloud Website Hosting.