Just updated my EE install to 1.6.7 and now when updating the Better Meta Extension settings, I get:
Notice: Undefined index: weblogs in /home/mysite/public_html/cms/extensions/ext.lg_better_meta.php on line 759 Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/cms/extensions/ext.lg_better_meta.php on line 759 Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/cms/extensions/ext.lg_better_meta.php:759) in /home/mysite/public_html/cms/core/core.functions.php on line 296
I’ve uninstalled and re-installed the extension but this did not correct the problem.
Any Ideas on how to address?
The default values in the extension setting are only allowing me to enter 100 characters for text inputs. I need to include more than 100 characters for the default keywords. I see that maxlength=”100” is being used on those input fields.
Is there a way for me to remove that restriction, even if it involves hacking the extension in this case. Really just setting the maxlength to “” is what I need to do.
Wondering if anyone might be able to answer my question above. It seems Leevi refers to the ability to include multiple weblogs here unless I’m misunderstanding the reference to “weblog parameter” and he’s not referring to it with this extension in mind. The trouble I’ve run into is that though the {exp:lg_better_meta_pi:entries} tag seems to accept multiple weblogs I see no way to distinguish content from one weblog over another which results in incorrect locations. Maybe I’ve missed something (this wouldn’t surprise me one bit)? Anybody have advice? Thanks
So let me get this straight :D Entries from both weblogs are being shown in the loop but you are having trouble differentiating the two. If that is the case your previous code is only the way to do what you are trying to achieve in a single loop.
Your second option is to create a separate loops for each weblog.
<?xml version="1.0" encoding="UTF-8"?>
<urlset >
{exp:lg_better_meta_pi:entries
weblog="blog"
disable="categories|custom_fields|category_fields|custom_fields|member_data|pagination|trackbacks"
dynamic="off"
rdf="off"
status="not closed"
}
<url>
<loc>http://my_site.com/blog/post/{url_title}/</loc>
<lastmod>{edit_date format="%Y-%m-%d"}</lastmod>
<changefreq>{change_frequency}</changefreq>
{priority}</priority>
</url>
{/exp:lg_better_meta_pi:entries}
{exp:lg_better_meta_pi:entries
weblog="blog"
disable="categories|custom_fields|category_fields|custom_fields|member_data|pagination|trackbacks"
dynamic="off"
rdf="off"
status="not closed"
}
<url>
<loc>http://my_site.com/vote/entry/{url_title}/</loc>
<lastmod>{edit_date format="%Y-%m-%d"}</lastmod>
<changefreq>{change_frequency}</changefreq>
{priority}</priority>
</url>
{/exp:lg_better_meta_pi:entries}
</urlset>
Just updated my EE install to 1.6.7 and now when updating the Better Meta Extension settings, I get:Notice: Undefined index: weblogs in /home/mysite/public_html/cms/extensions/ext.lg_better_meta.php on line 759 Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/cms/extensions/ext.lg_better_meta.php on line 759 Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/cms/extensions/ext.lg_better_meta.php:759) in /home/mysite/public_html/cms/core/core.functions.php on line 296I’ve uninstalled and re-installed the extension but this did not correct the problem. Any Ideas on how to address?
Is this error appearing when you try and save the extension settings? From your previous questions is it safe to assume you have atleast one weblog setup?
The default values in the extension setting are only allowing me to enter 100 characters for text inputs. I need to include more than 100 characters for the default keywords. I see that maxlength=”100” is being used on those input fields. Is there a way for me to remove that restriction, even if it involves hacking the extension in this case. Really just setting the maxlength to “” is what I need to do.
You can hack the extension around line 1530 but it’s unsupported and not advised. Keywords are set to 100 characters to avoid making them spammy and forcing the publisher to determine what is actually important in the content.
Hi
Sorry to ask, but i’m stuck, and its probably something reallllly stupid.
We have an embedded header file (Template name - embeds/.header)and we have the following code in…
{exp:lg_better_meta_pi: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}”
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}”
}
We have Better Meta enabled for all weblogs, and when i edit one of the weblogs, i fill out the meta desc / keywords for that weblog - it saves ok, but when viewing the page, all thats shown in the code is the default desc/keywords thats been set in the Extensions section.
Basically its not displaying when i set desc/keywords on a weblog by weblog basis…. just the default set.
Obviously missing something, but don’t know what.
Any ideas?
Many thanks Matt
In your primary template are you passing through the entry_id or url_title?{embed="embeds/.header" entry_id="{segment_3}"}
this is what we have in the template - this is the one for about us page…Still doesn’t pull through the desc/keywords set in the weblog for About us
{embed="embeds/.header" extra_title="About Us" leftmenu="about" pageid="aboutPage" entry_id="{segment_3}"}
Does anyone have any insight into how to use Better Meta with Repeet?
Rather than using the url_title=”{segment_2}” with traditional urls (e.g. index.php?/news/my-news-article)a Repeet url looks like index.php?/calendar/2009/05/10/ so I’m struggling to see how to use the two together.
Many thanks
As per my previous post, I’m still unable to get LG Better Meta working with LG Tiny MCE. If I have the latter enabled I get a blank page when trying to edit an entry in the CP.
I’m running the following:
Just wondering if anyone else had a similar problem? It makes LG Better Meta a bit useless for me really!
Thanks.
I’m a little lost here… I purchased the extension in order to have a sitemap for the site.
Not sure I understand but here’s my take:
I make a page on one of my template groups with this code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset >
{exp:lg_better_meta_pi:entries
weblog="blog"
disable="categories|custom_fields|category_fields|member_data|pagination|trackbacks"
dynamic="off"
rdf="off"
status="not closed"
}
<url>
<loc>http://test.com/blog/post/{entry_id}/{url_title}/</loc>
<lastmod>{edit_date format="%Y-%m-%d"}</lastmod>
<changefreq>{change_frequency}</changefreq>
{priority}</priority>
</url>
{/exp:lg_better_meta_pi:entries}
</urlset>
I then copy that little php script from the wiky. I submit that script to Google. And that’s it?
Do I need to change anything to this part of the xml file?:
<url>
<loc>http://test.com/blog/post/{entry_id}/{url_title}/</loc>
<lastmod>{edit_date format="%Y-%m-%d"}</lastmod>
<changefreq>{change_frequency}</changefreq>
{priority}</priority>
</url>
Alright, ya’ll can stop laughin’ now… I thank you…
Hello,
I’m also having the same problem as a few other people in this thread, from what I’ve read it seems it still hasn’t been solved.
This occured when I tried to change the Description on the LG Better Meta settings. After that everytime I try to update an entry in weblog I get the following error:
Notice: unserialize() [function.unserialize]: Error at offset 499 of 3906 bytes in /home/mysite/system/extensions/ext.lg_better_meta.php on line 811
Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/system/extensions/ext.lg_better_meta.php:811) in /home/mysite/system/core/core.functions.php on line 296
When the extension is disable the problem stops. I’ve tried uninstalling and reinstalling, still having the same issue.
I’m running EE 1.6.7 Commercial, with extensions; Playa, Solspace Tag Module, LG HTACCESS Generator, LG Better Meta.
Anyone know how to fix this? It was working fine until I tried to change the Description on Better Meta settings page.
I’ve tried a few things since my previous post and it seems the issue is with the Meta Description Setting.
Everytime this setting goes between 130-150 characters, it returns the error. I’ve tried changing the exp_extensions ‘setting’ to LONGTEXT and MEDIUMTEXT, but I still get the same error.
Right now the only option is to have less than 130 characters on the Meta Descriptions. Google allows for up to 160 characters, Mr. Graham, please help resolve this issue not only myself but others have had this issue. This is a paid extension, and I would at least expect it to work correctly.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.