Victor G - 28 July 2007 11:18 AM
ok i think this is how it suppose to work?
<HTML>
<HEAD>
{exp:weblog:entries weblog="weblog1"}
<TITLE>{title}</TITLE>
{exp:lg_better_meta entry_id="{entry_id}"}
{meta_description}
{meta_keywords}
{/exp:lg_better_meta}
{/exp:weblog:entries}
That gives me a php error
if not please show me some example code ?
Another question:
lets say i want to do this
{if meta_description != ""}
{meta_description}
{else}
{default_meta_in_extension_settings}
{/if}
Hey victor:
The readme says: LG Better Meta only has one tag {exp:lg_better_meta}.. Looking back I need to make this a little clearer.
LG Better Meta only has one single tag which outputs the template in the extension settings.
So here is an exaple:
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
{exp:lg_better_meta entry_id="2"}
</head>
I have found there is still some bugs if you are trying to embed you header and pass through the entry_id as an embeded variable. Im tryig to figure out a solution in the next couple of days.
Also if you are using any other plugins that add tabs to the publish page this plugin will overide them at the moment. A fix is included in the upcoming release.