Blog title no longer displayed as browse title after upgrade
Blog title no longer displayed as browse title after upgrade
I have upgraded to CMS 1.12.1 from 1.11.11 (following the correct upgrade steps) and now my blog title is no longer displayed in the browser title, instead it now says home.
I am using Calguys Blog Module 1.13.2 and SEOTools2
In the top of my tempate I have: {title assign='mytitle'}
In the detail template I have: {$mytitle=$entry->title}
And in SEOTools2 I use this: {$mytitle} | {sitename} for Page Titel.
This used to work, but now it does not.
Can anybody help me?
Thanks a lot in advance for any help.
p.s. it also says only 'home' in the breadcrum trail instead of the blog title and path, how can i fix that?
And the detail page uses a diffrent template then the one the page has where the {CGBlog} tag is on, where do I say where the actual blog uses which template?
I am using Calguys Blog Module 1.13.2 and SEOTools2
In the top of my tempate I have: {title assign='mytitle'}
In the detail template I have: {$mytitle=$entry->title}
And in SEOTools2 I use this: {$mytitle} | {sitename} for Page Titel.
This used to work, but now it does not.
Can anybody help me?
Thanks a lot in advance for any help.
p.s. it also says only 'home' in the breadcrum trail instead of the blog title and path, how can i fix that?
And the detail page uses a diffrent template then the one the page has where the {CGBlog} tag is on, where do I say where the actual blog uses which template?
Re: Blog title no longer displayed as browse title after upg
Try:
and search this forum for smarty scope. there are quite a few threads by now, including workarounds for where things fail.{title assign='mytitle' scope=global}
Re: Blog title no longer displayed as browse title after upg
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Blog title no longer displayed as browse title after upg
I tried the workarround that Galguy wrote in another post for the same sort of problem with products, but that did not work en in that workarround he said that the problem should be fixed in 1.12.1 so I ugraded to that version but the problem is still there.
I will try your suggestions, thank you.
I will try your suggestions, thank you.
Re: Blog title no longer displayed as browse title after upg
Ok I now added {title assign='mytitle' scope=global} to the top of my template, but unfortunately that did not solve the problem, it seems to have done nothing, the title is still displayed as "home"
Any more ideas? Thnx!
Any more ideas? Thnx!
Re: Blog title no longer displayed as browse title after upg
I now also tried adding: {$mytitle=$entry->title scope=global} to the detail template in the blogmodule, but it still says "home" instead of the blogtitle in the brwoser so that did not work either :*
Re: Blog title no longer displayed as browse title after upg
with reference to calguy's workaround, this worked for me:
in news detail template: and in page template: with cbblog being called in a page's default content block, and articles displayed "inline".
in news detail template:
Code: Select all
{my_set var=cgblogtitle value="{$entry->title} | {title}"}
Code: Select all
{if $page_alias == 'news-blog'}{my_get var=cgblogtitle assign=cgblogtitle}{$cgblogtitle}{else}...{/if}
Re: Blog title no longer displayed as browse title after upg
if I try that I het smarty error unknow variable my_get
Re: Blog title no longer displayed as browse title after upg
This is the context: http://forum.cmsmadesimple.org/viewtopi ... 23#p323423
You need those UDT's for that to work at all
You need those UDT's for that to work at all
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Blog title no longer displayed as browse title after upg
if I print this : { assign var='mytitle' value={$entry->title} | {title} scope=global} as HTML output it says: { assign var='mytitle' value=5 stappen om met stress om te gaan als hooggevoelig persoon | Home scope=global} on my website
so {$entry->title} is indeed the title of my artikel
and {title} = Home, which it displays in the browser.
But I want to display {$entry->title} in the browser, can someone please help me? It worked before the updates and I cannot seem to get it working again now...
so {$entry->title} is indeed the title of my artikel
and {title} = Home, which it displays in the browser.
But I want to display {$entry->title} in the browser, can someone please help me? It worked before the updates and I cannot seem to get it working again now...