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

Help needed with the LG Better Meta extension

Development and Programming

liyydjwr's avatar
liyydjwr
2 posts
17 years ago
liyydjwr's avatar liyydjwr

Hi,

I am very new to EE so please excuse my ignorance. I’m hoping someone can tell me where I’m going wrong.

I have been trying to get the page title to match the title of the weblog entry. So far all page titles revert to the default in the LG extension’s settings.

I embed a header template and so have added the following code to the header.

{exp:lg_better_meta entry_id=”{embed:entry_id}” weblog_id=”{embed:weblog_id}” url_title=”{embed:url_title}” title=”{embed:title}” description=”{embed:description}” keywords=”{embed:keywords}” author=”{embed:author}” publisher=”{embed:publisher}” rights=”{embed:rights}” date_created=”{embed:date_created}” date_modified=”{embed:date_modified}” date_valid=”{embed:date_valid}” identifier=”{embed:identifier}” robots_index=”{embed:robots_index}” robots_follow=”{embed:robots_follow}” robots_archive=”{embed:robots_archive}” }

I have added a title to a weblog entry in the LG Better Meta tab for that entry yet this does not become the page title.

I’m sure I’m being stupid but any help as to what I am missing out would be gratefully received.

       
Robin Sowell's avatar
Robin Sowell
13,160 posts
17 years ago
Robin Sowell's avatar Robin Sowell

This is more a support question, and since it’s a third party module, I’m going to go ahead and shift it down to the modules forum where it’s a bit better fit.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Hi liyydjwr,

To get it to work the way you want the code you have above as far as I can tell is not the correct code to be using. That code will just spit out the default LG Better Meta data. What you are looking for is :

Outputting Entry Meta Data Tag

<head>

{exp:lg_better_meta url_title="{segment_3}"}

</head>

The {segment_3} variable may differ depending on how you have your template set out but that should get you going with the module. The documentation for that part can be seen here.

There is also a thread on these forums pertaining to LG Better Meta that Leevi will definitely be subscribed to so that would be a great place to start too. Leevi is a great guy and any problems you have with it I’m sure he will be only too please to help out on with.

Ooh and don’t forget to maybe buy it if you like it!! 😉 Disclaimer : I am friends with Leevi but don’t get any kind of a cut in saying that 😊

Hope that helps though.

Best wishes,

Mark

       
Wired's avatar
Wired
181 posts
17 years ago
Wired's avatar Wired

I’m experiencing the same problem. I tried using the url title parameter and I still get the site’s meta info.

       
emagine media's avatar
emagine media
65 posts
17 years ago
emagine media's avatar emagine media

In the same situation, how would I add the keyword per page for each entry?

I have an embedded header and need to be able to assign descriptions and keywords per page if at all possible.

I can enter the url title to the page title, but not keywords?

       

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.