Websafe Separator in tag:gallery_entries
Posted: 29 September 2008 08:32 AM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  37
Joined  2006-12-07

Hi,
I am displaying photos based on their Tag - all work except for the Tags that use the Websafe Separator.

The separator works fine for weblog entries using the same tags but not for the photos - photos tagged with a two word tag do not display anything.

Comparing the SQL that pulls the entries for a weblog to a gallery it looks like the gallery code does not recognize the websafe separator, or maybe I did something wrong..

Here is an example of the URL of the page displaying the photos for “theme parks”
/topic_photos/theme-parks

topic_photos is the template.

Here is the code:

{exp:tag:gallery_entries gallery="city_photos" status="open" marker="topic_photos" limit="99" websafe_separator="-" }
{entries}

{row}
<div class="thumb">
<
h4>{title}</h4>
<
a href="{id_path=/photo/}"><img src="{thumb_url}" width="{thumb_width}" height="{thumb_height}" alt="{title}" title="{title}" /></a>
<
p>{caption}</p>
</
div>
{/row}

{
/entries}
{
/exp:tag:gallery_entries}

Profile
 
 
Posted: 30 September 2008 06:15 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

netbuilder,

Nice catch… that appears to be the case - Tag Gallery entries may have never been assigned the websafe_character="” parameter. smile

I will add this to the list wink

 Signature 
Profile
 
 
Posted: 01 October 2008 12:38 PM   [ Ignore ]   [ # 2 ]
Jr. Member
RankRank
Total Posts:  37
Joined  2006-12-07

Hi,
I did another test and if I use the default web safe separator “+” it works, but that is not the URL pattern we use.

When do you think there will be another release with the fix?

Thanks

Profile
 
 
Posted: 01 October 2008 02:09 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

Very soon my friend wink
And it will come with many others, as well as a good handful of new features wink

 Signature 
Profile
 
 
Posted: 01 October 2008 02:16 PM   [ Ignore ]   [ # 4 ]
Jr. Member
RankRank
Total Posts:  37
Joined  2006-12-07

Great… Can’t wait!

Profile
 
 
Posted: 01 October 2008 02:19 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

It’ll be worth the wait wink

 Signature 
Profile
 
 
Posted: 17 October 2008 10:17 AM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

This is now fixed with the new version of Tag 2.5 smile
http://www.solspace.com/forums/viewthread/661/

 Signature 
Profile