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 - Help!

Development and Programming

Tom's avatar
Tom
22 posts
16 years ago
Tom's avatar Tom

Hello,

We are trying to implement the “LG Better Meta” extension, with little success :(

Tried everything with this now, can somebody please shed some light on what we are doing wrong?

I have included screenshots of the extension page in EE with the LG Better Meta plugin, the tags used in our HTML document, the entry (so that you can see this entry does actually exist!) and the resulting output…which currently is nothing!

The extension Installed

The Entry visible in the weblogs

The tags in the EE template

The Resulting output

Thanks in advance for your help!

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

What happens if you use the extension settings template (not the tag pair) like so:

{exp:lg_better_meta_pl:template entry_id="__entry_id_goes_here__"}
       
Tom's avatar
Tom
22 posts
16 years ago
Tom's avatar Tom

Using this…

{exp:lg_better_meta_pl:template entry_id="123610"}
<title>{title}</title>
<meta name='description' content='{description}' />
<meta name='keywords' content='{keywords}' />

I get this in the output…

<title>{title}</title>
<meta name='description' content='{description}' />
<meta name='keywords' content='{keywords}' />

It doesnt parse the tags at all. ???

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

What is the value of the “Meta template” setting in the extension settings.

{exp:lg_better_meta_pl:template entry_id="123610"}

is replaced by the meta template.

       
Tom's avatar
Tom
22 posts
16 years ago
Tom's avatar Tom

If you mean the in the Extension settings, the code in the “Meta Template field is as follows;

<title>{title}</title>

<meta name='description' content='{description}' />
<meta name='keywords' content='{keywords}' />
<meta name='robots' content='{robots}' />

<meta name='geo.position' content='{latitude},{longitude}' />
<meta name='geo.placename' content='{placename}' />
<meta name='geo.region' content='{region}' />

{if canonical_url}<link rel='canonical' href='{canonical_url}' />{/if}

<link rel='schema.DC' href='http://purl.org/dc/elements/1.1/' />
<link rel='schema.DCTERMS' href='http://purl.org/dc/terms/' />
<meta name='DC.title' content='{title}' />
<meta name='DC.creator' content='{author}' />
<meta name='DC.subject' content='{keywords}' />
<meta name='DC.description' content='{description}' />
<meta name='DC.publisher' content='{publisher}' />
<meta name='DC.date.created' scheme='DCTERMS.W3CDTF' content='{date_created}' />
<meta name='DC.date.modified' scheme='DCTERMS.W3CDTF' content='{date_modified}' />
<meta name='DC.date.valid' scheme='DCTERMS.W3CDTF' content='{date_valid}' />
<meta name='DC.type' scheme='DCTERMS.DCMIType' content='Text' />
<meta name='DC.rights' scheme='DCTERMS.URI' content='{rights}' />
<meta name='DC.format' content='text/html' />
<meta name='DC.identifier' scheme='DCTERMS.URI' content='{identifier}' />

and also we have tried changing this to just…

<title>{title}</title>
<meta name='description' content='{description}' />
<meta name='keywords' content='{keywords}' />

Still no luck :(

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

Can you upload a screenshot of the extension settings?

       
Tom's avatar
Tom
22 posts
16 years ago
Tom's avatar Tom

Yep sure, thanks for helping with this…hopefully fixed soon!

Ive had to do one for each section

part 1

part 2

part 3

part 4

Thanks.

       
Tom's avatar
Tom
22 posts
16 years ago
Tom's avatar Tom

Hi again,

Thanks to Leevi for providing such great support with this extension.

We have quite a complicated MSN setup so we do have issues occasionally with some plugins and extensions, but Leevi gave us some great assistance with resolving this, and even help make some slight changes to the plugin itself to work with our setup.

Thanks for your help, and thanks for a great extension!

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill

Is there a way to place content from a custom entry field into the “description” meta tag? I know I can clean and truncate using some add-ons, but I didn’t know if there was a way to get that content into LG Meta.

       

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.