Blocks - images and scripts in blocks ??? Mudgutz - Mar 18, 2008 - 12:28 AM Post subject: images and scripts in blocks ???
just installed PTBF2MeTAL theme on top of the ALITE .87 autotheme, when I try to code in any kind of image or anything for that matter in a block, i get the image i put in in the preview, then when i got to save the block ... nothing shows. and when i go back to the html ..its gone!.. .tried everykind og code includding bb, but to no sucess? am i missing something, or do I need to install something on the server to get the blocks to read basic html?
The block editor seems to be very old school... is there and update to give me the user friendly controls like you have in this forum that I am sending you?
also is there an area on this site that offers some of the "custom blocks" for this theme?
Any help apprciatedd LOVE THE THEME by the way
Mudgutzmars - Mar 18, 2008 - 01:07 AM Post subject: RE: images and scripts in blocks ???
Are you running PostNuke or PHPNuke?Mudgutz - Mar 18, 2008 - 01:30 AM Post subject: RE: images and scripts in blocks ???
PHPnuke 8.0mars - Mar 18, 2008 - 03:06 AM Post subject: RE: images and scripts in blocks ???
Make sure you have the IMG tag enabled in config.php with a 2Mudgutz - Mar 18, 2008 - 03:14 AM Post subject: RE: images and scripts in blocks ???
do you mean this line in the config.php ?
$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);mars - Mar 18, 2008 - 10:58 AM Post subject: RE: images and scripts in blocks ???
YesMudgutz - Mar 18, 2008 - 02:47 PM Post subject: RE: images and scripts in blocks ???
the line does not seem to contain the [img] bracket,
so I should add this to the line so it looks like this: ?
$AllowableHTML = array("[img]"=>2,"b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);mars - Mar 18, 2008 - 03:43 PM Post subject: RE: images and scripts in blocks ???
Almost,
It has to be
$AllowableHTML = array("img"=>2,"b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);Mudgutz - Mar 18, 2008 - 04:02 PM Post subject: RE: images and scripts in blocks ???
THANX MARS WORKS LIKE A CHARM
MUCHO APPRCIATO!!
AWESOME!Mudgutz - Mar 18, 2008 - 10:08 PM Post subject: RE: images and scripts in blocks ???
ONE MORE QUICK Question!
Is there something else i need to put in that stringer to let me center the images in the block? <center></center> does not seem to be working?
much appreciated again soo far soo good!Mudgutz - Mar 18, 2008 - 10:10 PM Post subject: RE: images and scripts in blocks ???
Mudgutz wrote:
ONE MORE QUICK Question!
Is there something else i need to put in that stringer to let me center the images in the block? <center></center> does not seem to be working?
much appreciated again soo far soo good!
never mind <div align="center"> seems to be the answer