- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 71 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - google tap in sections module of phpnuke7.4 [ ]
Author
Message
daniell
Nuke Cadet
Joined: Jun 16, 2005
Posts: 6
Posted:
Thu Jun 16, 2005 7:53 am
Hi i'm using php-nuke7.4 and for my articles i use sections module, when i install google tap (a simple version), news and others links work´s ok, but my sections module stay in that way:
http://www.linuxlive.com.br/sections.html&op=viewarticle&artid=97
and when i click in some sections links i go to sections index page of php-nuke!
look here my .htaccess and my header.php
.htaccess
#Sections
RewriteRule ^sections-viewarticle([0-9]*)-page([0-9]*).html sections.html&op=viewarticle&artid=$1&page=$2
RewriteRule ^sections-(printpage|viewarticle)-([0-9]*).html sections.html&op=$1&artid=$2
RewriteRule ^sections-listarticles-([0-9]*).html sections.html&op=listarticles&secid=$1
RewriteRule ^sections.html sections.html
header.php
"'(?<!/)modules.php\?name=Sections&op=viewarticle&artid=([0-9]*)&page=([0-9]*)'",
"'(?<!/)modules.php\?name=Sections&op=(printpage|viewarticle)&artid=([0-9]*)'",
"'(?<!/)modules.php\?name=Sections&op=listarticles&secid=([0-9]*)'",
"'(?<!/)modules.php\?name=Sections'",
and
"sections-viewarticle\\1-page\\2.html",
"sections-\\1-\\2.html",
"sections-listarticles-\\1.html",
"sections.html",
since now, thanks!
ps; sorry about my english
daniell
Nuke Cadet
Joined: Jun 16, 2005
Posts: 6
Posted:
Thu Jun 16, 2005 4:13 pm
ashish54
Sergeant
Joined: Dec 20, 2004
Posts: 83
Posted:
Thu Jun 16, 2005 8:56 pm
Code:
.htaccess
#Sections
RewriteRule ^sections-viewarticle([0-9]*)-page([0-9]*).html sections.html&op=viewarticle&artid=$1&page=$2
RewriteRule ^sections-(printpage|viewarticle)-([0-9]*).html sections.html&op=$1&artid=$2
RewriteRule ^sections-listarticles-([0-9]*).html sections.html&op=listarticles&secid=$1
RewriteRule ^sections.html sections.html
change this to
Code:
.htaccess
#Sections
RewriteRule ^sections-viewarticle([0-9]*)-page([0-9]*).html modules.php?name=sections&op=viewarticle&artid=$1&page=$2
RewriteRule ^sections-(printpage|viewarticle)-([0-9]*).html modules.php?name=sections&op=$1&artid=$2
RewriteRule ^sections-listarticles-([0-9]*).html modules.php?name=sections&op=listarticles&secid=$1
RewriteRule ^sections.html modules.php?name=sections
hope this works.
Evaders99
Site Admin
Joined: Aug 17, 2003
Posts: 12397
Posted:
Fri Jun 17, 2005 4:40 am
daniell
Nuke Cadet
Joined: Jun 16, 2005
Posts: 6
Posted:
Fri Jun 17, 2005 5:39 am
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