entry_id parameter in the tag entries tag….
Posted: 11 December 2007 02:25 PM   [ Ignore ]
Newbie
Rank
Total Posts:  7
Joined  2005-04-25

Howdy all- using 2.0.9:

{exp:tag:entries weblog="images" inclusive="no" orderby="entry_date" entry_id="1" marker="{segment_3}" sort="asc" limit="12"


The entry_id parameter doesn’t seem to work.  Should it?  Tried flipping dynamic off and using tag= instead of marker, but didn’t have any effect.

Profile
 
 
Posted: 11 December 2007 02:34 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

The entry_id parameter does not exist for the Tag:Entries loop.

Just curious though, as to why you would want to specify an Entry Id in the loop?

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 11 December 2007 02:56 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  7
Joined  2005-04-25

Ah- well, images are related to another weblog- I show all of the images for a given article via the reverse related EE tag.  But- they want the images categorized/tagged.  And to have links from the main press release to each of the related images for that release.  Er- in other words, show all of the tags for the relalated images as links- click the link, see only the entries that are both: a. related to the given entry; b. tagged.

So- I was passing the entry id in the parameter, pulling it out- doing a query to get the entry ids for the reverse related- and plopping it in the tag entries tag.  The goal being- to only show the reverse related images with a given tag.

The hard coded entry_id in the example was just a test- would be echoing out the ids pulled out in the query to snag the reverse related ids.

If that makes any sense.

(I’m still getting the hang of Tags- hoping it will work here, as the relationship stuff is getting dang complicated.  If not, can likely go with creating an extra category group and doing it that way.  But symantics wise, this just seemed more ‘tag’ like.)

Profile
 
 
Posted: 11 December 2007 03:01 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Any chance the Related Gallery Entries would work?

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 11 December 2007 03:18 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  7
Joined  2005-04-25

Ah- good thought.  But we’ve got a custom mod handling the image uploads - don’t want to have to resync things to work with the gallery.  I shall poke a bit more- see if I can come up with a better workaround.  Thanks, Pie Man.

Profile
 
 
Posted: 11 December 2007 03:27 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Doing it with Tag is the way to go! wink

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 11 December 2007 04:10 PM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  7
Joined  2005-04-25

Hee- I’m thinking so.  A quick hack and it will take an entry id parameter.  It’s all the relational stuff that’s proving tricky on this one.  But yep, I think tag is going to be the way to go on it.  Need to find out a little more about the data to be dead sure, but seems likely.  Now I need to send the client over to buy themselves a copy!

Profile