| Author |
Message |
Mudgutz |
|
Post subject: images and scripts in blocks ???
Posted: Mar 18, 2008 - 12:28 AM
|
|
Joined: Mar 18, 2008
Posts: 13
Status: Offline
|
|
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
Mudgutz |
|
|
| |
|
|
|
 |
mars |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 01:07 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| Are you running PostNuke or PHPNuke? |
|
|
| |
|
|
|
 |
Mudgutz |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 01:30 AM
|
|
Joined: Mar 18, 2008
Posts: 13
Status: Offline
|
|
|
|
|
 |
mars |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 03:06 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| Make sure you have the IMG tag enabled in config.php with a 2 |
|
|
| |
|
|
|
 |
Mudgutz |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 03:14 AM
|
|
Joined: Mar 18, 2008
Posts: 13
Status: Offline
|
|
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 |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 10:58 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
|
|
|
 |
Mudgutz |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 02:47 PM
|
|
Joined: Mar 18, 2008
Posts: 13
Status: Offline
|
|
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 |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 03:43 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
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 |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 04:02 PM
|
|
Joined: Mar 18, 2008
Posts: 13
Status: Offline
|
|
THANX MARS WORKS LIKE A CHARM
MUCHO APPRCIATO!!
AWESOME! |
|
|
| |
|
|
|
 |
Mudgutz |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 10:08 PM
|
|
Joined: Mar 18, 2008
Posts: 13
Status: Offline
|
|
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 |
|
Post subject: RE: images and scripts in blocks ???
Posted: Mar 18, 2008 - 10:10 PM
|
|
Joined: Mar 18, 2008
Posts: 13
Status: Offline
|
|
|
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
thanx again |
|
|
| |
|
|
|
 |
|
|