Page 2 of 2

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Mon Nov 26, 2007 9:57 am
by kermit
Did a NEW install of 1.2.1.. and this is what I've uncovered so far about these issues:

if modifier.cms_date_format.php is present, news appears to work.. at least articles are showing up in the admin panel. the site i'm working on doesn't use news, the default article is present, though... but if the plugin is present, UDTs are broken.

remove modifier.cms_date_format.php from ./plugins and UDTs work, but news admin is broken; the new News module is dependent upon it (see errors in output html).


so, you can choose: administer news or have functional UDTs (i chose the UDTs, as the site requires one)



and why am i starting to develop a site with the broken 1.2.1? because the diff from 1.2.1 to whatever fixes it will be oodles smaller than the one from 1.2.0 to the next release; and i need to start *now* not wait for fixes.

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Mon Nov 26, 2007 10:28 am
by alby
I think that this is good, please test and report:
Add comment (//) in source of plugins/modifier.cms_date_format.php:
GetSmarty();
$config =& $gCms->GetConfig();
..........
Alby

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Mon Nov 26, 2007 10:37 am
by horus
Works for me.

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Mon Nov 26, 2007 10:42 am
by jce76350
Hi,
//$smarty =& $gCms->GetSmarty();
Ok for the list of Tags
But NO user Tags works

see message

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Mon Nov 26, 2007 10:51 am
by alby
jce76350 wrote:
//$smarty =& $gCms->GetSmarty();
Ok for the list of Tags
But NO user Tags works

see message
Strange, my content:

Code: Select all

{'2007-11-27'|cms_date_format:'%A'}
<br />
{custom_copyright}
<br />
{user_agent}
work

Alby

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Mon Nov 26, 2007 11:30 am
by jce76350
Hi alby,

Just test {user_agent}   the tag from cmsms (echo $_SERVER["HTTP_USER_AGENT"];)
I do not see anything

If I test your tag

Code: Select all

{'2007-11-27'|cms_date_format:'%A'}
<br />
{custom_copyright}
<br />
{user_agent}
I see
Tuesday



[EDIT It Works but I do .. Clear Cache after each modification ]

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Mon Nov 26, 2007 12:28 pm
by moorezilla
this comment fix seems to work. just tried it. woot!

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Mon Nov 26, 2007 3:17 pm
by cnymike
Commenting out the code worked for me too, but it is essential to Clear Cache in Site Admin -> Global Settings.

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Tue Nov 27, 2007 12:37 pm
by alinome.net
alby wrote: Add comment (//) in source of plugins/modifier.cms_date_format.php:
GetSmarty();
$config =& $gCms->GetConfig();
Works for me too: tags work again, tag list is fine, and news admin works again.

Thanks

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Tue Nov 27, 2007 12:39 pm
by RonnyK
Check,

http://forum.cmsmadesimple.org/index.ph ... 292.0.html

for the patch from the SVN.

Ronny

Re: All Tags are displayed twice after Update to 1.2.1

Posted: Wed Nov 28, 2007 6:00 am
by RonnyK
Please check

http://forum.cmsmadesimple.org/index.ph ... 292.0.html

For the official patch.

Ronny