Customize ContentBlockController

Permalink
Hi guys,

I would like to customize the ContentBlockController, essentially, all i want to do is seperate the image uploader and put it into its own field in order to suit a layout i have created. I have had a look at the controller.php file and i can't find any reference to this.

I'm fairly new to php so please go easy on me... any help would be much appreciated.

thanks in advance,
Ritch

 
roa123 replied on at Permalink Reply
Sorry, figured it out!
roa123 replied on at Permalink Reply
K guys, need sum help with this one. I've tried to customise the content block, by adding an additional title field on top of the WYSISWYG, obviously for headings... however i can't seem to get the title field to work, i have looked in the db and title is NULL.

In the add file i have:
<?php echo $form->text('title', array('style' => 'width: 580px'));?>
<textarea id="ccm-content-<?php echo $a->getAreaID()?>" class="advancedEditor" name="content"></textarea>

In the controller i have almost exactly the same as the original ContentController.

Any ideas?

cheers,
Ritch
roa123 replied on at Permalink Reply
fixed fellas
c5mix replied on at Permalink Reply
roa123,
Can you tell us what you did to get this working?
Thanks!