I have successfully installed upgrade to CMSMS 1.6.6. Within a Edit Content page when I click the Preview button the following message comes up where the webpage should preview:
6. _tpl_vars['canonical'] )): ?>_tpl_vars['canonical']; ?>
7. _tpl_vars['content_obj']->GetURL(); ?>
8. " />
--omissis------
It looks like there is an error caused, in the old version of CMSMS, by the line in the default templates:
GetURL()} {/if}" />
but I don't find this line in any files.
Does someone know how to resolve the problem?
Thanks!
[Solved] Preview error with CMSMS 1.6.6.
-
- New Member
- Posts: 5
- Joined: Thu May 07, 2009 11:43 am
[Solved] Preview error with CMSMS 1.6.6.
Last edited by franco_porto on Sat Nov 14, 2009 6:11 pm, edited 1 time in total.
Re: Preview error with CMSMS 1.6.6.
This line has been replaced in the new version of the default template withfranco_porto wrote: It looks like there is an error caused, in the old version of CMSMS, by the line in the default templates:
GetURL()} {/if}" />
Code: Select all
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
-
- New Member
- Posts: 5
- Joined: Thu May 07, 2009 11:43 am
Re: Preview error with CMSMS 1.6.6.
Had I read it, but in which file I can find it?This line has been replaced in the new version of the default template with Code:
{if isset($canonical)}{elseif isset($content_obj)}GetURL()}" />{/if}
Tanks.
Re: Preview error with CMSMS 1.6.6.
In your template: Layout -> Templatesfranco_porto wrote: Had I read it, but in which file I can find it?
-
- New Member
- Posts: 5
- Joined: Thu May 07, 2009 11:43 am
Re: [Solved] Preview error with CMSMS 1.6.6.
Solved !!!! 
Tanks !

Tanks !