leezard Posted July 31, 2003 Posted July 31, 2003 I've been trying to add some java script to a block that i want displayed on my site, but every time i would create the block and hit save it would kick me back to the home page and not save the block. I tried everything, then i would give up, then i would try again a few days later only to give up. So i started doing some searching and heres what i found. If you want to create a block that uses java script, using your favorite editor (i use Dreamweaver MX) create a php file with your java script in it, name it block-whatevername.php and then upload it to your blocks folder in you phpnuke root directory. now go to your block admin page and in the create a new block section click on the drop down menu titled custom and select the name of the block you just created and hit save, now your block including java script will display. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.