Update 1.6.1:
Hey guys,
Just a quick note to say LG Better Meta 1.6.0 is available. It has some new features and fixes a couple of little bugs.
I have also removed the free version for a couple of reasons:
Check it out on my site!
Cheers Leevi
Leevi, I have Better Meta 1.6.0 Commercial installed on a site and although it is working fine, it’s making the Plugins main page of the CP blank. I am getting this error at the top:
Fatal error: Call to a member function on a non-object in /home/site/public_html/system/plugins/pi.lg_better_meta.php on line 398
The site is running PHP Version 4.4.8, mySQL 4.1.22. Any quick thoughts about that?
Just purchased the commercial version, downloaded and installed and I’m observing a few unexpected things.
First, after providing all the default settings to the extension, then going to my CP Home, I got
Warning: mkdir() [function.mkdir]: Permission denied in /var/www/vhosts/jrwildkits.com/httpdocs/jw_cms/extensions/ext.lg_better_meta.php on line 1507
I found a thread where the suggestion was made to disable “Update Notification”. I have done so and it seems to have eliminated the “Warning message”.
I’m currently pulling in multiple weblogs on my index page. Is there a way to tell Better Meta to pull info from multiple weblogs within one page?
Also, I’ve set the “Author”, “Publisher”, and “Rights” fields to not display in the extension’s settings, though, they still show up in the Publish Panel? Not too sure how to address?
Thanks
PHP Version 5.2.6 MySQL Version 5.0.22 ExpressionEngine 1.6.4 Build 20080710 LG Better Meta (v.1.6.0)
One additional question, for data entered to Better Meta at the entry level to override the extensions default settings, is it necessary to display the entry in a single entry template?
Currently, I am able to pass my entry_id/url_title thru an embed grabbing from the URL (as is suggested), and when on a single entry page I see the data entered at the entry level.
But, I’m displaying full entries on my index page and I’d like to override the default settings of Better Meta in this situation as well…
I’ve tried passing a php variable with no success
{embed="includes/_doctype_head" loc="home" entry_id="<?php echo $entry; ?>"}
<body>
{embed="includes/_masthead"}
<div id="content">
{exp:weblog:entries weblog="article" entry_id="349" limit="1" }
<?php $entry = '{entry_id}'; ?>
<h2>{headline}</h2>
posted {entry_date format="%m.%d.%y"}
{entry_body}
{/exp:weblog:entries}
</div>
Is there a way to do this?
Thank again.
Just purchased the commercial version, downloaded and installed and I’m observing a few unexpected things. First, after providing all the default settings to the extension, then going to my CP Home, I gotWarning: mkdir() [function.mkdir]: Permission denied in /var/www/vhosts/jrwildkits.com/httpdocs/jw_cms/extensions/ext.lg_better_meta.php on line 1507I found a thread where the suggestion was made to disable “Update Notification”. I have done so and it seems to have eliminated the “Warning message”.
I’m guessing your cache folder does not have write permissions.
I’m currently pulling in multiple weblogs on my index page. Is there a way to tell Better Meta to pull info from multiple weblogs within one page?
What kind of information are you referring too? LG Better Meta pulls the meta from a single entry using the entry_id or url_title paramater, or it uses the global meta. For a homepage I suggest you either create a weblog entry called home and manage the meta there or hardcode it into your template.
Also, I’ve set the “Author”, “Publisher”, and “Rights” fields to not display in the extension’s settings, though, they still show up in the Publish Panel? Not too sure how to address?
I’ll check this one out today. I have an update to LG Better Meta that should be out in the next couple of days. If this is a bug it will be crushed 😊
Cheers
One additional question, for data entered to Better Meta at the entry level to override the extensions default settings, is it necessary to display the entry in a single entry template? Currently, I am able to pass my entry_id/url_title thru an embed grabbing from the URL (as is suggested), and when on a single entry page I see the data entered at the entry level. But, I’m displaying full entries on my index page and I’d like to override the default settings of Better Meta in this situation as well… I’ve tried passing a php variable with no successIs there a way to do this? Thank again.{embed="includes/_doctype_head" loc="home" entry_id="<?php echo $entry; ?>"} <body> {embed="includes/_masthead"} <div id="content"> {exp:weblog:entries weblog="article" entry_id="349" limit="1" } <?php $entry = '{entry_id}'; ?> <h2>{headline}</h2> posted {entry_date format="%m.%d.%y"} {entry_body} {/exp:weblog:entries} </div>
I don’t think your example will work. The $entry variable is being used before it is set.
If you do want to use the first entry on your homepage as the source for the meta I suggest you add another weblog entries loop around the embed. I would also recommend you use the disable, cache and refresh params in the weblog:entries loop to save processing. Turn dynamic off and limit the results to 1 and you should have a small footprint and the proper entry_id to play with.
Also, I’ve set the “Author”, “Publisher”, and “Rights” fields to not display in the extension’s settings, though, they still show up in the Publish Panel? Not too sure how to address?
I just checked the latest version in development and these issues no longer exist. The new version should be onut in the next couple of days.
Cheers
Leevi, I really do appriciate you responding to my inquiry so quickly. Thank you.
With respect to passing the variable I figured out pretty quickly it was a paring order issue. I’m now following your suggested solution.
As for my other questions, your replies answer the issues I had wondering about.
Again, thanks!
Regards
I’m not sure what version I’m using anymore, as I THINK 1.6.0 is the newest, but somehow I’m running 1.6.1 - thought I can’t remember where I got that. Is that a Beta?
In any case, I’m running 1.6.1 on a site and getting this error:
Notice: Use of undefined constant LG_ACPT_cache_name - assumed ‘LG_ACPT_cache_name’ in /home/site/public_html/system/extensions/ext.lg_better_meta.php on line 1502
Is this a copy/paste error from another extension, or…?
ADD: I should mention that LG Better Meta is making my CP show a lot of blank pages on this build! I changed LG_ACPT_cache_name to LG_BM_cache_name, but just get a blank page in the CP. Should I empty the LG Cache?
ADD 2: I turned off “calling home” because the extension seemed to be blanking out the homepage only.
Hi Leevi,
I just purchased LG Better Meta today for our studio site and we keep getting the following error on the front-end of the site:
Error
The following tag has a syntax error:
{exp:lg_better_meta}
Please correct the syntax in your template.
I’m using an embedded template for the head portion of the code and followed the instructions on your documentation page. Oddly enough, the extension is working on a client’s development site but that was the previous version I believe.
Not sure what I’m missing.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.