Hi,
I'm trying to display the tag when it is set in a browse view.
In items/browse.php, I have something like the following:
<h1>Browse Items
<?php
if (isset($_GET['tags'])) {
echo ' tagged: '.$_GET['tags'].'';
}
?>
</h1>
This works while the tag is set in a query string, like...
items/browse?tags=my+tag
But it doesn't work when the URL structure looks like...
items/browse/tag/my+tag
The latter is what is generated by item_tags_as_string()
.
So my question is how can I grab the tag variable regardless of whether or not it's set in a query string?
Thanks -- Erin