• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [fixed] CMSMS 1.10 Beta3: $entry->title missing on detail
PostPosted: Wed Sep 28, 2011 8:55 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Sun Jul 27, 2008 1:36 am
Posts: 218
Location: USA
Hi,

There is another issue with News articles displayed on a detail page: $entry->title is always unset.

I tracked the problem down to a modules/News/lib/class.news_ops.php method:
Code:
  static private function &get_article_from_row($row,$get_fields = 'PUBLIC')
  {...
It seems that the 'news_title' case is missing from the switch statement; so, the title value is never stored in the new news_article object.

I didn't check if there were any other $row keys missing from the switch statement. You might want to check that while you're "in" the function. ;)

Cheers!

_________________
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CMSMS 1.10 Beta3: $entry->title missing on detail
PostPosted: Thu Oct 06, 2011 10:27 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 4000
Location: The Netherlands
Confirmed. I just encountered this issue too.

I checked on rev 7451.
Still no $entry->title available in the detailtemplate of News

_________________


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CMSMS 1.10 Beta3: $entry->title missing on detail
PostPosted: Fri Oct 07, 2011 3:26 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7690
Location: The Netherlands
Calguy fixed this yesterday
I tried it just now in rev. 7451 and it works for me...

@Jos, could you double check this?

grtz. Rolf

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [fixed???] CMSMS 1.10 Beta3: $entry->title missing on de
PostPosted: Fri Oct 07, 2011 4:14 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 4000
Location: The Netherlands
I'm sorry, it works now.

I must have done something wrong updating the files. :-[

Fixed!

_________________


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [fixed???] CMSMS 1.10 Beta3: $entry->title missing on de
PostPosted: Fri Oct 07, 2011 4:52 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7690
Location: The Netherlands
pfeww, thanks Jos ;)

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Hosting Nation - Managed CMSMS Hosting