Content Type Setter Method

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
koehler

Content Type Setter Method

Post by koehler »

Could you please add a "Content-Type" setter method to the module object (or whereever)  to convoy it to the displaying level ?

As far as i can see there is no way to do this w/o modifing cms variables directly and i'm currently doing it this way (since 9.2):
$this->cms->variables['content-type'] = ' text/xml';

Regards,

Michael
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Content Type Setter Method

Post by Ted »

Good idea.  It's on my todo list.
Post Reply

Return to “Developers Discussion”