Jump to content

CMS block module - "new block" does not work


Recommended Posts

Hi,

I'm trying to create a new cms block to display in the footer, but the "new block" button in the module does not work.

clicking it does nothing.

Also the "add new" button in the footer section works but it creates a left or right cms not a new footer block.

 

Thanks

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Found! It's a workaround for now, but it works:

blockcms.php, line 199 (1.6.0.5)

 

Change

 

'href' => $current_index.'&configure='.$this->name.'&token='.$token.'&addBlockCMS',

 

to

 

'js' => 'javascript: window.location.href = \''.$current_index.'&configure='.$this->name.'&token='.$token.'&addBlockCMS\'',

 

Or simply add the latter

 

Do the same for this

 

'buttons' => array(
'cancelBlock' => array(
'title' => $this->l('Cancel'),
'href' => $back,
'icon' => 'process-icon-cancel'
)
 
Basically, wherever in the form you have href!
 
Link to comment
Share on other sites

Thanks Nemo,

There is actually a couple of other things in the model that don't work which I have fixed.

 

Such as the tick boxes for adding or removing content from the footer. ie "

if $show_best_sales" was wrong.

Also the footer text should span the whole width like the "powered by..."

 

So if anyone wants the fixes let me know as I can't find the upload button.

Link to comment
Share on other sites

×
×
  • Create New...