Can’t send my url to embedded template
Posted: 08 August 2006 06:50 AM   [ Ignore ]  
Research Assistant
RankRankRank
Total Posts:  360
Joined  06-09-2006

Hi,

I need to send my a url as a variable to an embedded template. But it gets completely screwed up when I try to do that. I’ve tried a 1000 variaties but I can’t get it to work. I keep getting the compete url of that page and there is no way I can get rid of the last two segments. I just need a link to this weblog.

{exp:weblog:entries weblog=“mylog”}

<a href={path=mylog}>{weblog}</a>  > <span>{title}</span> // prints the url and everything fine!

{embed=“embed/header” Titel=”{title}” Breadcrums=”<a href=’{path=mylog}’>{weblog}</a>  > <span>{title}</span>”}
{/exp:weblog:entries}


Is it impossible to send urls as variables to embedded templates. If not, what can I do to get this to work? A query?

Profile
 
 
Posted: 08 August 2006 10:43 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15823
Joined  06-03-2002

Moving this to the Bug forum, thanks for the eyes NKAKB.  Look for a fix in an upcoming version.  In the meantime, you can regain functionality by using a full URL or an absolute path without using the {path=} variable, i.e.:

{exp:weblog:entries weblog="mylog"}
{embed
="embed/header" Titel="{title}" Breadcrums="<a href='/myblog/'>{weblog}</a> > <span>{title}</span>"}
{
/exp:weblog:entries}

 Signature 
Profile
MSG
 
 
   
 
 
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: 64878 Total Logged-in Users: 69
Total Topics: 81804 Total Anonymous Users: 44
Total Replies: 439751 Total Guests: 306
Total Posts: 521555    
Members ( View Memberlist )
Newest Members:  pticketdxrsmdanbilly8hrkiliwysso50kexpressoKlaasdarrenstylestravelerjcaton