[Solved] Preview error with CMSMS 1.6.6.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
franco_porto
New Member
New Member
Posts: 5
Joined: Thu May 07, 2009 11:43 am

[Solved] Preview error with CMSMS 1.6.6.

Post by franco_porto »

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!
Last edited by franco_porto on Sat Nov 14, 2009 6:11 pm, edited 1 time in total.
Sonya

Re: Preview error with CMSMS 1.6.6.

Post by Sonya »

franco_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}" />
This line has been replaced in the new version of the default template with

Code: Select all

{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
franco_porto
New Member
New Member
Posts: 5
Joined: Thu May 07, 2009 11:43 am

Re: Preview error with CMSMS 1.6.6.

Post by franco_porto »

This line has been replaced in the new version of the default template with Code:
{if isset($canonical)}{elseif isset($content_obj)}GetURL()}" />{/if}
Had I read it, but in which file I can find it?

Tanks.
Sonya

Re: Preview error with CMSMS 1.6.6.

Post by Sonya »

franco_porto wrote: Had I read it, but in which file I can find it?
In your template: Layout -> Templates
franco_porto
New Member
New Member
Posts: 5
Joined: Thu May 07, 2009 11:43 am

Re: [Solved] Preview error with CMSMS 1.6.6.

Post by franco_porto »

Solved !!!!  ;D

Tanks !
Post Reply

Return to “CMSMS Core”