Advanced Search  :  Site Statistics  :  Directory  :  Web Resources  :  Forum  
    Plugins for Geeklog Geeklog Plugins    
 Welcome to Plugins for Geeklog
 Saturday, May 17 2008 @ 07:03 AM EDT

Site Index Change for 1.3.9

   
Hacks

Changing my original siteindex to use the new url rewritting of Geeklog 1.3.9 is very easy.

Change the original line 70 from

$display .= '<a href="' . $_CONF['site_url'] . '/article.php?story=' . $A['sid'] . '">'

to
   

$display .= '<a href="' . $_CONF['site_url'] . '/article.php/' . $A['sid'] . '">'      

TomW

 

Story Options

Site Index Change for 1.3.9 | 3 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Site Index Change for 1.3.9
Authored by: Dirk on Saturday, April 03 2004 @ 04:05 AM EST
Why not use
$display .= '<a href="' . COM_buildUrl ($_CONF['site_url'] . '/article.php?story=' . $A['sid']) . '">';
That would use the correct form automatically.

bye, Dirk

 Copyright © 2008 Plugins for Geeklog
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.16 seconds