Question about Code Block module
dbcooper
Joined: 2008-07-09
Posts: 31 |
Posted: Mon, 2012-06-18 20:02 |
I just installed the Code Block module, and my question is about this part of the instructions: Quote:
Edit the modules/code_block/views/code_block.html.php to add JS / PHP code. What do I need to put in the code_block.html.php file to allow for JS and PHP? |
|
Posts: 27300
Edit that file and place the php and or JS code in the file. Save the file.
What code are you trying to add?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 31
Thanks thats easy! I actually think I already tried that, and it probably worked, without me seeing the block I added due to it being underneath my other sidebar blocks..I've re-arranged now...I'm adding javascript.
Great module, btw!
Posts: 27300
Cheers,
Got better wording for the docs so it make more sense?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 31
Excellent.. thanks Dave. I'm not an expert coder at all, so I wasn't sure if my error was placing my code before/after the code that's already in the file. I ended up placing my code at the very beginning.
Thanks again for the help, and for the module.