Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
Anders
Worker
Worker


Joined: Jun 16, 2004
Posts: 158
Location: Sweden

PostPosted: Mon Feb 13, 2012 12:45 pm Reply with quote

Hi i wounder how to create a shortlink...
i have a module that calls Day_to_Day Confused

Htaccess
Code:
#Day_To_Day

RewriteRule ^Day_to_Day.html modules.php?name=Day_to_Day [L]

in ShortLinks did i make a file

GT-Day_to_Day.php
with this

Code:
$urlin = array(

'"(?<!/)modules.php\?name=Day_to_Day"'
);

$urlout = array(
'Day_to_Day\\1.html'
);


Did think it was ok but its not i have to click 2 times on my module show modules.php?name=Day_to_Day first time second click it show Day_to_Day.html

any clue whats wrong??


Last edited by Anders on Tue Feb 14, 2012 10:15 am; edited 1 time in total 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Mon Feb 13, 2012 3:46 pm Reply with quote

Code:


$urlin = array(
'"(?<!/)modules.php\?name=Day_to_Day"',
);

$urlout = array(
'Day_to_Day.html',
);

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
Anders
PostPosted: Mon Feb 13, 2012 10:42 pm Reply with quote

hmm thanks for reply...but i still get same problem
 
nuken
PostPosted: Tue Feb 14, 2012 6:31 am Reply with quote

Did you add your link to GTZ-PageTap.php ?
 
killing-hours
RavenNuke(tm) Development Team


Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx

PostPosted: Tue Feb 14, 2012 9:36 am Reply with quote

nuken wrote:
Did you add your link to GTZ-PageTap.php ?


^^ This.

You're not tapping the link in the navigation menu.

_________________
Money is the measurement of time - Me
"You can all go to hell…I’m going to Texas" -Davy Crockett 
View user's profile Send private message
Anders
PostPosted: Tue Feb 14, 2012 10:14 am Reply with quote

Thanks that was the problem...
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©