Code Block Module

mosquito2012
mosquito2012's picture

Joined: 2012-11-09
Posts: 80
Posted: Mon, 2013-11-11 14:14

Hi all, I am urgently trying to add a 4th Code block to my side bar, I have managed to add the code and get it showing in the editor, but I can't show it because it doesnt show up in the "manage sidebar" options, I am sure this is simple enough, but I can't locate which file I need to edit to show it in the manage sidebar

http://whatiseewhenilookat.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-11-11 21:23

did you also edit code_block_block.php

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mosquito2012
mosquito2012's picture

Joined: 2012-11-09
Posts: 80
Posted: Tue, 2013-11-12 10:27

yep, tried that, also edited these files

code_block_block.php
code_block_event.php
code_block_installer.php

but it still doesnt show in the "available blocks", to move into the "active blocks"

http://whatiseewhenilookat.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2013-11-12 16:35

try this

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mosquito2012
mosquito2012's picture

Joined: 2012-11-09
Posts: 80
Posted: Tue, 2013-11-12 17:47

that has done the trick :-)

How did you do it? Would be good to know how to add more code blocks onto it, wanted to use them for some banner ads

http://whatiseewhenilookat.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2013-11-12 22:32

use win merge to see the differences versus the other. I basicly coppied everything that said code3 and changed it to code4.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mosquito2012
mosquito2012's picture

Joined: 2012-11-09
Posts: 80
Posted: Wed, 2013-11-13 09:58

I am on a mac, so can't use win merge, I did what you mentioned, but I must have missed a file or code somewhere as it didnt show in the available blocks when I did it, I am using this for banner ads, is there a simpler way to add ads to my site rather than through code block?

http://whatiseewhenilookat.com