We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Social Bookmarks v2.0.2 - permalink issue

Development and Programming

awa's avatar
awa
77 posts
16 years ago
awa's avatar awa

Hi I have the following code:

{lg_social_bookmarks permalink="{path='shop/detail'}" title="{title}"}
Like it? Bookmark it!

{social_sites}
<a href="http://{social_site_url}" title="Bookmark at {social_site_name}"> _<img src="/themes/cp_global_images/lg_social_bookmarks/favicons/{social_site_img_url}" alt=""  /></a> 
{/social_sites}
{/lg_social_bookmarks}

My problem: the 3rd URL segment containg the single entry part is always missing. so the URL will be:

http://www.mysite.com/index.php/shop/detail

for each shop. How can I fix this, so that I get the real single entry URL

http://www.mysite.com/index.php/shop/detail/shop1
http://www.mysite.com/index.php/shop/detail/shop2
...

I checked the docs over ans over and tested quite a bunch of variations for the permalink parameter, but to no avail.

I saw a few postings in the forum regarding this topic, but no fix was posted :-(

Cheers awa

       
silenz's avatar
silenz
1,648 posts
16 years ago
silenz's avatar silenz

I never used LGSB but wouldn’t

{lg_social_bookmarks permalink="{title_permalink='shop/detail'}" title="{title}"}

work?

       
awa's avatar
awa
77 posts
16 years ago
awa's avatar awa

In the docs it´s described with path= Albeit I had tried the title_permalink= version, but it didn´t work. Don´t konw why, maybe I shuffled the ” around ore smething like that. Anyway after rebooting my PC and replacing path wirh title_permalink it worked 😉 So, thanks for the help! awa

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.