Subscribe Today
You are not subscriber of DaDaNuke | Making PHP-Nuke Better!. You can subscribe from here now!
Who's Online
There are currently, 25 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Total Hits
We received5579937 page views since September 2005
DaDaNuke :: View topic - Google Tap for the Legal Module
View previous topic :: View next topic
Author
Message
emilacosta dadaAdmin Joined: Sep 19, 2005 Posts: 223 Location: Miami, FL
Posted: Mon Feb 05, 2007 1:53 pm Post subject: Google Tap for the Legal Module
Hi if you are using GoogleTap(GT) in your site and you are also using the Legal Module here is the code to add this module to GT.
in you .htaccess file add this lines
Code:
#Legal
RewriteRule ^Legal.html modules.php?name=Legal [L]
RewriteRule ^Legal-Contact.html modules.php?name=Legal&op=contact [L]
RewriteRule ^Legal-Contact-Form.html modules.php?name=Legal&file=contact [L]
RewriteRule ^Legal-Legal.html modules.php?name=Legal&op=legal [L]
RewriteRule ^Legal-Privacy.html modules.php?name=Legal&op=privacy [L]
RewriteRule ^Legal-Terms.html modules.php?name=Legal&op=terms [L]
Then create a file named GT-Legal.php inside your google tap folder and add this code:
Code:
<?php
$urlin = array(
"'(?<!/)modules.php\?name=Legal&op=legal'",
"'(?<!/)modules.php\?name=Legal&op=privacy'",
"'(?<!/)modules.php\?name=Legal&op=terms'",
"'(?<!/)modules.php\?name=Legal&op=contact'",
"'(?<!/)modules.php\?name=Legal&file=contact'",
"'(?<!/)modules.php\?name=Legal'"
);
$urlout = array(
"Legal-Legal.html",
"Legal-Privacy.html",
"Legal-Terms.html",
"Legal-Contact.html",
"Legal-Contact-Form.html",
"Legal.html"
);
?>
Enjoy. _________________ Emil Acosta "In the computer business you’re either a one or a zero and I am determined never to be zero."
Back to top
dadaBIT General Manager Joined: Jun 23, 2005 Posts: 582 Location: United States
Posted: Wed May 02, 2007 10:29 am Post subject:
Hi, this is fantastic Emil! Also have a xhtml compliant version of current release coming. How about, once finished, hand off to you, create 'contrib' folder with GT? TIA
-Kev _________________ Visit the DaDaNuke Wish List
Back to top
emilacosta dadaAdmin Joined: Sep 19, 2005 Posts: 223 Location: Miami, FL
Posted: Wed May 02, 2007 11:39 am Post subject:
dadaBIT wrote: Also have a xhtml compliant version of current release coming
Do you mean html compliant, right?
Yes let me know when it is done and I will send you the 'contrib' folder with GT _________________ Emil Acosta "In the computer business you’re either a one or a zero and I am determined never to be zero."
Back to top
Guardian dadaClub Joined: Dec 24, 2005 Posts: 14
Posted: Sun May 20, 2007 1:33 am Post subject:
No, I think he means XHTML 1.0 Transitional Compliant - trying saying it after a few beers.
Back to top
dadaBIT General Manager Joined: Jun 23, 2005 Posts: 582 Location: United States
Posted: Thu May 31, 2007 11:16 am Post subject:
Guardian wrote: trying saying it after a few beers
Actually, after a few 'hits' _________________ Visit the DaDaNuke Wish List
Back to top
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
Copyright © 2006 by Francisco Burzi. This is free software, and you may redistribute it under the
.
PHP-Nuke comes with absolutely no warranty, for details, see the
.
Theme Designed by
Western Studios