tag form return w/ entry_id
Posted: 23 April 2008 10:00 PM   [ Ignore ]
Member
RankRankRank
Total Posts:  76
Joined  2007-10-16

How can I add the entry id to my return template?

example that didn’t work… return="photos/tagme/{entry_id}"

Thanks.

Profile
 
 
Posted: 24 April 2008 07:18 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3350
Joined  2006-10-18

If the Tag:Form is outside of the weblog:entries loop, and you have an Entry ID in the URL, try using the {segment_3} variable

If you just want it to return you to the current page, don’t specify the return parameter at all smile

Let me know if that helps any wink

 Signature 
Profile
 
 
Posted: 24 April 2008 07:35 AM   [ Ignore ]   [ # 2 ]
Member
RankRankRank
Total Posts:  76
Joined  2007-10-16

Thanks Pie Man!

I moved it inside the weblog:entries loop and that didn’t do it, but pulling it from the url did.  I didn’t think it would work because the URL in the browser window did not have the correct entry id as this is running in a AJAXed Div.  So I didn’t think it would pull the correct id… but it does!  Thanks again!

Profile