Custom Composer Templates

Permalink
I noticed on the page defaults for a composer page there is a section for "Custom Composer Template" - how does this work, and how does one go about making one?

hursey013
 
lwduk replied on at Permalink Reply
Hi, I have the same question. Did you ever find the answer to this?
hursey013 replied on at Permalink Reply
hursey013
Negative - if anyone has some additional details on composer - specifically the custom template aspect, please let me know how that works!
michaelfm replied on at Permalink Reply
michaelfm
Today I found some usefull posts about composer functionality:

http://www.concrete5.org/community/forums/usage/composer-form-missi...

http://www.concrete5.org/community/forums/chat/custom-model-for-com...

The first one helped me to finally understand how to use the composer and expand it. The second one should answer your question hursey.
Inforloja2012 replied on at Permalink Reply
Inforloja2012
Hi, i found a way to force this.

I am using Concrete 5.5.1
So this can be diferent in other versions.

File is "concrete/controllers/dashboard/composer/write.php";

Line 61 Add this just after "if (!$this->error->has()) {":

$pl = $parent->getCollectionThemeObject();
$entry->setTheme($pl);

This code above will find the Theme of the parent page you are setting your Composer post, and set that to be the new Theme.