tell-a-friend permalink populates incorrect
Posted: 26 June 2008 05:00 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  115
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 08:42 AM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
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 10:50 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  115
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 11:05 AM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
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 07:51 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  115
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: 28 June 2008 11:01 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
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 10:20 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  115
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 01:25 PM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  115
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 06:57 AM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1055
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 09:33 AM
Total Registered Members: 65096 Total Logged-in Users: 57
Total Topics: 82244 Total Anonymous Users: 34
Total Replies: 442010 Total Guests: 302
Total Posts: 524254    
Members ( View Memberlist )