v1.2.1 has broken custom_copyright

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

v1.2.1 has broken custom_copyright

Post 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 - "
showtell

Re: v1.2.1 has broken custom_copyright

Post by showtell »

Delete the 'modifier.cms_date_format.php' in the plugins directory :P
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: v1.2.1 has broken custom_copyright

Post by Nullig »

Seems to also break UDTs.

Nulig
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: v1.2.1 has broken custom_copyright

Post by cnymike »

showtell wrote: Delete the 'modifier.cms_date_format.php' in the plugins directory :P
That did not fix the problem for me.
moorezilla

Re: v1.2.1 has broken custom_copyright

Post by moorezilla »

yeah... i think it's more involved as the news doesn't work for some people either.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: v1.2.1 has broken custom_copyright

Post by cnymike »

The news module backend is trashed. News still shows up on the site, but the module is broken.
dmgd
Forum Members
Forum Members
Posts: 115
Joined: Tue Jun 06, 2006 1:10 pm

Re: v1.2.1 has broken custom_copyright

Post by dmgd »

Yes all UDT are broken.

News works for me.

Linux
PHP 5.X
mySQL 5.X
Apache 1.3.39
Mark
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: v1.2.1 has broken custom_copyright

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: v1.2.1 has broken custom_copyright

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: v1.2.1 has broken custom_copyright

Post by Gregor »

Thanks Calguy for the fast reply. I overlooked that announcement  :-X
Locked

Return to “[locked] Installation, Setup and Upgrade”