Page 1 of 1

v1.2.1 has broken custom_copyright

Posted: Sun Nov 25, 2007 10:55 pm
by cnymike
Whereas in all previous versions the custom_copyright tag has worked, now with v1.2.1 on my installations, I no longer see the year or years in the copyright located in the footer.

The tag code is as follows...

Code: Select all

//set start to date your site was published
$startCopyRight='2006';

// check if start year is this year
if(date('Y') == $startCopyRight){
// it was, just print this year
    echo $startCopyRight;
}else{
// it wasnt, print startyear and this year delimited with a dash
    echo $startCopyRight.'-'. date('Y');
}
I should be seeing "© Copyright 2006-2007" but instead all I see is "© Copyright - "

Re: v1.2.1 has broken custom_copyright

Posted: Mon Nov 26, 2007 12:00 am
by showtell
Delete the 'modifier.cms_date_format.php' in the plugins directory :P

Re: v1.2.1 has broken custom_copyright

Posted: Mon Nov 26, 2007 12:24 am
by Nullig
Seems to also break UDTs.

Nulig

Re: v1.2.1 has broken custom_copyright

Posted: Mon Nov 26, 2007 2:06 am
by cnymike
showtell wrote: Delete the 'modifier.cms_date_format.php' in the plugins directory :P
That did not fix the problem for me.

Re: v1.2.1 has broken custom_copyright

Posted: Mon Nov 26, 2007 2:14 am
by moorezilla
yeah... i think it's more involved as the news doesn't work for some people either.

Re: v1.2.1 has broken custom_copyright

Posted: Mon Nov 26, 2007 2:22 am
by cnymike
The news module backend is trashed. News still shows up on the site, but the module is broken.

Re: v1.2.1 has broken custom_copyright

Posted: Mon Nov 26, 2007 1:54 pm
by dmgd
Yes all UDT are broken.

News works for me.

Linux
PHP 5.X
mySQL 5.X
Apache 1.3.39

Re: v1.2.1 has broken custom_copyright

Posted: Thu Nov 29, 2007 6:18 pm
by Gregor
Hi,

After upgrade from 1.2 to 1.2.1 all UDT are broken, however removing 'modifier.cms_date_format.php' did solve the UDT problem.

News items are not shown in the backend. They appear correct on the main page www.uisge-beatha.eu

Any suggestions?
Gregor

Re: v1.2.1 has broken custom_copyright

Posted: Thu Nov 29, 2007 6:24 pm
by calguy1000
if you read in the announcements thread, this problem is solved, there is a link to a solution. 

and 1.2.2 should be out tomorrow.

Re: v1.2.1 has broken custom_copyright

Posted: Thu Nov 29, 2007 6:32 pm
by Gregor
Thanks Calguy for the fast reply. I overlooked that announcement  :-X