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 Better Meta + Structure (Confused)

Development and Programming

Ben Lilley's avatar
Ben Lilley
214 posts
about 16 years ago
Ben Lilley's avatar Ben Lilley

Hi everyone, I’m clearly doing something wrong and struggling to get these two to place nice. I’ve read LG’s documentation but I’m clearly still missing something so it would be awesome if someone could give me a hand.

Here’s what I have in global/.header

{exp:lg_better_meta_pl:template
    entry_id="{embed:entry_id}"
    weblog_id="{embed:weblog_id}"
    url_title="{embed:url_title}"
    title="{embed:title}"
    title_suffix="{embed:title_suffix}"
    title_prefix="{embed:title_prefix}"
    hide_site_title="{embed:hide_site_title}"
    description="{embed:description}"
    keywords="{embed:keywords}"
  }

Then pulling this into my template I have:

{exp:weblog:entries weblog="courses" limit="1" require_entry="yes"}
    {embed="global/.header" entry_id="{entry_id}"}
{/exp:weblog:entries}

Now as far as I am aware I’m passing that embed the entry id as I’m supposed to, but LG Better Meta seems to be ignoring it and just pulling the defaults. Any advice would be appreciated as tomorrow is my last day on this site so please save me!

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
15 years ago
Leevi Graham's avatar Leevi Graham

Did you ever resolve this? Your code looks fine to me.

       

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.