Active
Project:
Apture
Version:
6.x-1.7
Component:
Miscellaneous
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2010 at 03:48 UTC
Updated:
21 Aug 2010 at 05:26 UTC
I'm actually writing this to help a guy out, but figured I'd post it here and if it's wrong maybe someone will correct it for him.
I think this code with hide the Apture bar on any page who's URL doesn't include a certain word:
<?php
$uri = $_SERVER["REQUEST_URI"];
$uri_array = split("/",$uri);
$uri_first = $uri_array[1]; // might need to change this to [1]
?>
<?php if ($uri_first == 'Enter word in url that must exist in order to see the code'){ ?>
Enter Apture
<?php } ?>
Comments
Comment #1
queryblitz commentedIf you don't know what Apture is, you can see it at their website http://www.Apture.com, or mine, www.Lickitornot.com (may or may not be available depending on state of developement).
Comment #2
oerpli commentedmaybe it would be better to add a checkbox in the node- form to disable apture in the created node.
as i forgot most of the drupal- api while "defending my country" i'm not able to do this at the moment, but gonna take a look at it when i'm back in the business.
PS: my english skills suffered too :(
Comment #3
queryblitz commentedYes that would be good! I was writing this for a guy who may or may not have had Drupal, but as I'm using Drupal myself, I thought maybe the community could build on the idea. I look forward to seeing how the Apture integration grows.