PDA

View Full Version : New css-edit plugin needs your help.


Mike Armas
01-25-2008, 05:42 PM
I am almost done with the css editor for MA_SuperBasic. But i can't get one part to work so i need some more brain power.

If you want to add a background image to my template all you have to do is edir the css and add a background image. Well it's not that easy with a css-editor here is the code i am useing for the image in the new css file i am doing for MA_SuperBasic

<script type="text/javascript">

var body_background-image ="<? echo $mikestuff->get("body_background-image"); ?>"

if ( body_background-image == "NONE" ) {
body_background-image2 = "sohoadmin/program/modules/site_templates/pages/MA_SuperBasic/sidebar-1.jpg";
} else {
body_background-image2 = "images/"+body_background-image;
}
</script>


BODY {
background-image: url(http://<? echo $_SESSION['docroot_url']; ?>/<? echo $mikestuff->get("body_background-image2"); ?>); ?>);
}

i am missing somthing any one with better eyes would like to tell me what i am missing.

i tryed useing the _userimg command but it's doesn't work in a php file. If it's easyer to make soho edit the _userimg command in a php file i don't mind going that.

But i don't know how to do that.

I might just do the new update with out a backgroud image editor for now.

Mike Armas
01-31-2008, 01:09 AM
CSS editor is DONE

Here is a demo you all can use and play with

http://www.dhentllc.com/~matestc/sohoadmin

username = demo
password = demo

NEW 2.6 Is here and it's a big update. A LOT has change a all new css editor has been added. You can edit anything from font color, font size, font text, table width, height, background colors just about every thing you can add background image. Just do it the same way at you change image for the header.

There is So much more try the demo it's free. Email me and ask me if you can't find it in the demo.

If there is something you want add email me i will add it to a list for the next update.

Also i made the plug-in a LOT more user friendy and easyer to understand.

If something is not working email me i will get it fixed asap.

Mike Armas
02-04-2008, 11:11 PM
http://addons.soholaunch.com/templates/other/ma_superbasic

NEW 2.7

Well after a few people asked me for a Image Rotator i thought it would be a nice to put it in this template.

So thast what i did you can add 4 image to the header image and they will rotate thought them.