Settings Not Filling
Posted: 10 October 2006 02:55 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

Hello.

I have set up two ‘settings’ variables that are populating the $settings array, returned from the settings method.  They show up fine in the control panel when I edit them, but when I try to echo out a setting in PHP using the publish_form_field_unique hook the $this->settings array is empty.  Even stranger is that $EXT->s_cache is filled with the proper settings.  Also I’ve confirmed that the serialized array in the database is correct.  It’s only the variable $this->settings that is not being populated.

Any advice?
Thanks

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 10 October 2006 05:19 PM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

Silly silly me.  Too much code lately I guess.  My class name had a different constructor name and the settings were not coming in.
Figured that out. grin

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
   
 
 
‹‹ File      Multi Text ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65029 Total Logged-in Users: 30
Total Topics: 82117 Total Anonymous Users: 15
Total Replies: 441322 Total Guests: 184
Total Posts: 523439    
Members ( View Memberlist )