tell-a-friend permalink populates incorrect
Posted: 26 June 2008 06:00 PM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  79
Joined  10-19-2005

I am attempting to use the tell-a-friend form. The form populates correctly with all the information I tell it to - except the link it returns is incorrect.  It is returning:

http://www.example.com/index/55/

When it should return:

http://www.example.com/index/template_group/55/

A setting I need to change somewhere???

 Signature 

Internet Endeavor

Profile
 
 
Posted: 27 June 2008 09:42 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  915
Joined  06-05-2007

Can you post your EE code?

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
Posted: 28 June 2008 11:50 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  79
Joined  10-19-2005

<div class="span-15 prepend-1 colborder">
{exp:weblog:entries weblog="carens_charters"}
<span class="date">{charter_date}</span>
<h2>{title}</h2>
{charter_body}
<a >Share the discoveries of a charter – tell a friend!</span></a>
{/exp:weblog:entries}
</div>

 Signature 

Internet Endeavor

Profile
 
 
Posted: 28 June 2008 12:05 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  915
Joined  06-05-2007

Where is the link in question?  This?

<a >Share the discoveries of a charter – tell a friend!</span></a>

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
Posted: 28 June 2008 08:51 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  79
Joined  10-19-2005

yes, that is the link.  ...although, code was missing in the paste - here again:

<div>
{exp:weblog:entries weblog="carens_charters"}
<span class="date">{charter_date}</span>
<h2>{title}</h2>
{charter_body}
<a ><span class="discover">Share the discoveries of a charter – tell a friend!</span></a>
{/exp:weblog:entries}
</div>

 Signature 

Internet Endeavor

Profile
 
 
Posted: 29 June 2008 12:01 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  915
Joined  06-05-2007

Where is or what is the href="” attribute in the link?  That’s important info related to your question.  wink

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
Posted: 29 June 2008 11:20 AM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  79
Joined  10-19-2005

Yes, well, I’ve pasted it twice - but it is being stripped by the commenting system. The href attribute in the link is {permalink=carens_charters/tell_a_friend}. Thanks for the replies thus far…

 Signature 

Internet Endeavor

Profile
 
 
Posted: 29 June 2008 02:25 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Avatar
Rank
Total Posts:  79
Joined  10-19-2005

Thinking it through again… got it to work by adding the template group to the permalink attribute on the “tell-a-friend” template:

Did have:

{permalink}

changed to:

{permalink=regional_charters}

 Signature 

Internet Endeavor

Profile
 
 
Posted: 30 June 2008 07:57 AM   [ Ignore ]   [ # 8 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  915
Joined  06-05-2007

Good.  Always seems to be the small things...I know it happens to me all the time.

 Signature 

grantmx | designs - design | development | photography | consulting | ee pro profile

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 61048 Total Logged-in Users: 19
Total Topics: 73849 Total Anonymous Users: 7
Total Replies: 398346 Total Guests: 434
Total Posts: 472195    
Members ( View Memberlist )