Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
xiketuan
Newbie
Newbie



Joined: Nov 11, 2008
Posts: 18

PostPosted: Tue Feb 24, 2009 9:40 pm Reply with quote

you can tutorial sample mode little code for modules News phpnuke? thanks

i can use shortlink.

Code:
RewriteRule ^cat-([0-9]*).html modules.php?name=News&op=viewcat&catid=$1 [L]


Code:
$urlin = array(
'"(?<!/)modules.php\?name=News&amp;op=viewcat&amp;catid=([0-9]*)&amp;ttitle2=([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)"',
'"(?<!/)modules.php\?name=News&amp;op=viewcat&amp;catid=([0-9]*)"',
)

Code:
$urlout = array(
'cat\\1-page\\2.html',
'cat-\\1-\\2.html',
'cat-\\1.html',)


modules News file index.php

a href=\"modules.php?name=$module_name&op=viewcat&catid=$cat_id&$ttitle2
view site : http://localhost/tlnn/cat-2.html&Xa-hoi---Giao-duc

help me : http://localhost/tlnn/cat-2-Xa-hoi---Giao-duc.html
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunchlinear-bunch