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

Better Meta, please HELP!!!

Development and Programming

bmovie's avatar
bmovie
619 posts
16 years ago
bmovie's avatar bmovie

Moderator’s note: Moved to Extensions.

hi, I buy some months ago better meta, and I really cant! use it! I install etc.. etc… but I dont understand how make to work! please any step by step guide or tutorial or video???

my big question is that everytime that I insert a post, I need fill all the fields with content? etc…

please anybody really can help me to make better meta work???

thanks!

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

Hi BMovie,

There are a bunch of example templates included in the 1.9.0 release. There is also a bunch of howto’s available in the documentation. http://leevigraham.com/cms-customisation/expressionengine/lg-better-meta/#toc-how_to_tutorials

What specific issues are you having?

Cheers

       
bmovie's avatar
bmovie
619 posts
16 years ago
bmovie's avatar bmovie

thanks Leevi, ok let me download again and install and try it again and see the templates included and how to etc…

but one basically question to me is, if I need add keywords for every post and description etc… ??? you know in the tab of publish or is automatically?

thanks please don’t close this thread for try and express my issues, thanks

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

You can choose to append default keywords when you publish a post. This will take the keywords in your extension settings and append them to the entry specific keywords.

       
bmovie's avatar
bmovie
619 posts
16 years ago
bmovie's avatar bmovie

but is more effective for seo, insert different keywords and description for every post right?

       
bmovie's avatar
bmovie
619 posts
16 years ago
bmovie's avatar bmovie

ok Leevi, I really dont understand:

  1. I install well better meta etc…
  2. the tab of meta appear of publish
  3. I add this code {exp:lg_better_meta_pl:template} on embed DOCTYPE

ok I go to meta tab and insert keywords and description for the post:

Render Results: <title></title>

<meta name=’description’ content=” /> <meta name=’keywords’ content=’eparty, arquitectura, diseño, arte, música, cine’ />

the main important things on meta tab that I insert like description and keywords and title Dont! appear why??? the keywords that appear and are the default keywords

I dont understand, what happend, if the more simple thing for me is: install active ad the code {exp:lg_better_meta_pl:template} and fill the fields on meta tab on publish

by the way I use this embed for every document, but I think that is not the problem, right?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >

<head>

<!-- META -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{exp:lg_better_meta_pl:template}

<!-- CSS -->
<link rel="stylesheet" type="text/css" media="screen" href="{site_url}front/css/screen.css" />

<!-- ICO -->
<link rel="shortcut icon" type="image/ico" href="{site_url}front/img/favicon.ico" />

</head>

please help! thanks

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

Hi BMovie,

Please create a new template group called lg_better_meta and copy all the templates included in the 1.9.0 download. The templates provide the exact code to achieve what you are trying to do.

From the docs (previously linked above):

To output entry specific meta you must add either the entry_id= or url_title= parameter to the {exp:lg_better_meta_pl:template} tag.

Example 1: An entry id in a url.

If your page is using the entry_id to determine the entry use the entry_id= parameter.

Example url: http://leevigraham.com/blog/post/3

<head>
  {exp:lg_better_meta_pl:template entry_id="{segment_3}"}
</head>

Example 2: A url_title in a url.

If you page is using the url_title of an entry to determine the entry use the url_title= parameter.

Example page url: http://leevigraham.com/blog/post/foo-bar

<head>
  {exp:lg_better_meta_pl:template url_title="{segment_3}"}
</head>

Once you understand the code above please read: http://leevigraham.com/cms-customisation/expressionengine/lg-better-meta/#toc-how_to_tutorials:outputting_meta_in_embedded_templates

       
chaas's avatar
chaas
2 posts
16 years ago
chaas's avatar chaas

Hi Leevi,

I’ve been able to get the extension to work on non-category pages using:

{exp:lg_better_meta_pl:template url_title="{segment_3}"}

I’m running into problems when the url is displaying the Category URL Title instead of the url_title. example: http://www.priorityprototypes.com/index.php/faqstips/category/tips-3d-file-setup/

Thanks, Chad

       
Newism's avatar
Newism
30 posts
16 years ago
Newism's avatar Newism
Hi Leevi, I’ve been able to get the extension to work on non-category pages using:
{exp:lg_better_meta_pl:template url_title="{segment_3}"}
I’m running into problems when the url is displaying the Category URL Title instead of the url_title. example: http://www.priorityprototypes.com/index.php/faqstips/category/tips-3d-file-setup/ Thanks, Chad

http://leevigraham.com/cms-customisation/expressionengine/lg-better-meta/#toc-how_to_tutorials:add_category_archive_meta

       
JulesWebb's avatar
JulesWebb
271 posts
16 years ago
JulesWebb's avatar JulesWebb
Hi BMovie, Please create a new template group called lg_better_meta and copy all the templates included in the 1.9.0 download. The templates provide the exact code to achieve what you are trying to do.

I just purchased “lg-better-meta.1.9.0.commercial” and I don’t see the templates you are referring to. I also don’t understand the benefit of setting up a template group lg_better_meta.

I’ve been going though the documentation provided, but I’m just not getting the big picture. I have an embedded template called DOC-head that I use for all my pages.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head> 
      blah, blah - my head data      
</head>

If I understand you correctly I need to set up separate DOC-head templates to embed in my page templates for each section in order to get custom meta data. This doesn’t seem right to me. Can you clarify?

I know it’s not correct but I thought it might help you understand my logic, what I’m confused about, and what the end result I’m looking for.

{exp:lg_better_meta_pl:template 
    url_title="{segment_3}" 
    title_prefix="{category_name}" 
    title="{title}"      
    description="{article-excerpt}"
    }

I realize that I’m trying to pull info from the {exp:weblog:category_heading} and {exp:weblog:entries} tags. Maybe it’s not possible to do both, I don’t know.

Any enlightenment would be much appreciated:-)

Cheers! Jules

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
I just purchased “lg-better-meta.1.9.0.commercial” and I don’t see the templates you are referring to. I also don’t understand the benefit of setting up a template group lg_better_meta.

The sample templates should be in /themes/site_themes/default. They contain examples of how to use LG Better Meta in index, entry and archive templates.

When you need entry meta pass through the entry_id, for category indexes pass through a title, description etc. The example templates will show you exactly how.

       
JulesWebb's avatar
JulesWebb
271 posts
16 years ago
JulesWebb's avatar JulesWebb

Thanks for pointing me in the right direction. I have the meta working on all my pages except home. I’m assuming that it would be the same as my other basic pages (about, services, contact) but for some reason I can’t get it to show the content from the “Entry meta” fields.

{exp:weblog:entries weblog="home" limit="1" disable="member_data|comments|trackbacks|pagination"}
{embed="includes/DOC-head" url_title="{segment_1}" title_prefix="Pre" title_suffix="title suffix" hide_site_title = "y" }

{/exp:weblog:entries}

I am using friendly urls so my home page is: http://example.com/ Do you have any suggestions? Thanks ~Jules

       

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.