Hi all,
I'm not sure if this is a bug or a feature request...
// use SEO title over original if it exists, then original, then default_title from parameter
'title' => htmlspecialchars($this->get_preferred_value($seolite_entry->seo_title, $seolite_entry->original_title, $default_title), ENT_QUOTES)
If an entry is required, then the original_title will be defined no matter what. But if there isn't any entry, then in most cases, a 404 page is loaded or an alternative entry is displayed, in that case seo_lite won't be used.
On pages listing entries, instead of being the en entrie's page, then I set the title, description and rel=can manually instead of using seo_lite.
So I don't really see the point in having the default_title param as last option... In which cases could it be used?
Now, if the two last params are swapped around, setting the default_title param in the template would allow us to overide the original title with a custom title on a per template basis.
For example
{title} {if categories} | {category_name}{categories} | News Section | {site_name}
As far as I can see, this would be a great improvement.
Johan