Archived CMSimple Support Forum

The Old CMSimple User Community
It is currently Thu Sep 02, 2010 4:37 pm

This archived CMSimple Support Forum will be locked primo June 2008. Users with a commercial licence are advised to register and use the new Official Support Forum at CMSimple.com instead. A community driven forum with free registration is found at cmsimpleforum.com.

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: CMSimple 2.8 beta 3 released
PostPosted: Wed Mar 21, 2007 12:00 pm 
Offline
Site Admin

Joined: Mon May 12, 2003 12:36 pm
Posts: 3091
Location: Rutsker, Bornholm, Denmark
Changes in version 2.8 beta 3 since beta 2:

- Major code cleanup in almost all files - better structured code in PHP, HTML and CSS - no more spaghetti ;-)
PLEASE TEST WELL!
- Inclusion of functions.php moved up before CMSimple scripting
- autogallery code inserted in functions.php (I got the example at http://www.cmsimple.dk/?Installer%27s_M ... otogallery fixed yesterday)
- Default language set to en (was set to da in beta2)

To be remembered:

- Code for addonsbydjot guestbook compability can be added to functions.php or addonsbydjot guestbook can be changed to work with gblink()
- plugin loader has been repported buggy


Top
 Profile  
 
 Post subject: Banner graphic top.jpg not shown in subsilverlike template
PostPosted: Thu Mar 22, 2007 12:29 pm 
Offline

Joined: Mon Mar 19, 2007 10:07 pm
Posts: 4
An extra semicolon appearing before top.jpg in subsilverlike template causes the background color instead of the banner graphic to be displayed.

Code:
<table align="center" width="100%" height="100" border="0" cellpadding="10" cellspacing="0" bgcolor="#006699" background="<?php echo $pth['folder']['templateimages'];?>;top.jpg">


Recommendation:
Change ;top.jpg to top.jpg


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 22, 2007 12:39 pm 
Offline
Site Admin

Joined: Mon May 12, 2003 12:36 pm
Posts: 3091
Location: Rutsker, Bornholm, Denmark
Thanx alot! underdog - I am affraid there may be other small bugs like this around - things have really been cleaned up.

BTW - I will change doctypes back to HTML instead of XHTML - the build in editor does not support XHTML.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 22, 2007 12:46 pm 
Offline

Joined: Mon Mar 19, 2007 10:07 pm
Posts: 4
Yes I must say the code and structure look a lot better and an extra ; here and there puts a nice decorative touch it ;;-)
Overall it easier to edit and adapt and see where things may be going wrong.
Thanks!


Top
 Profile  
 
 Post subject: OEDIT
PostPosted: Fri Mar 23, 2007 8:07 am 
Offline

Joined: Tue Sep 14, 2004 5:21 pm
Posts: 1210
Location: Germany: Unterfranken
OEDIT:
Since H4 can now be used for page generation, it might not be a bad idea to add H5 and H6 headings to the menu and hard-code the images of the respective buttons. Google likes headings . . . .

And maybe it would be possible to write a javascript function which floats images left/right. Then, even unexperienced users, who are not able to edit HTML, can use this editor (which is still the best of all, I think). I tried already, but wasn't very succesfull. That means: I wrote something, which at least didn' t produce any errors anymore. But it didn't do anything else :( .

Till


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 23, 2007 8:50 am 
Offline
Site Admin

Joined: Mon May 12, 2003 12:36 pm
Posts: 3091
Location: Rutsker, Bornholm, Denmark
Hi till - thanx for feedback. The H5 and H6 has been added to images.php (and editor.zip) but since I do not recommend using more than 3 levels for normal sites, I do not think it should be added to the language files by default.

Regarding alignment, it is out of the scope of this release.


Top
 Profile  
 
 Post subject: Re: OEDIT
PostPosted: Fri Mar 23, 2007 9:24 am 
Offline

Joined: Sun May 16, 2004 11:51 am
Posts: 74
Location: Schleswig-Holstein / Germany
till wrote:
And maybe it would be possible to write a javascript function which floats images left/right. Then, even unexperienced users, who are not able to edit HTML, can use this editor (which is still the best of all, I think). I tried already, but wasn't very succesfull. That means: I wrote something, which at least didn' t produce any errors anymore. But it didn't do anything else :( .

Till


Peter please try this:

CMSimple use a cmsimple-style.css call after the the original stylesheet.css call. In cmsimple-style.css we define the left/right images function as a img class:


IMG.leftcmsimple {
display: block;
position: relative;
float: left;
}

IMG.rightcmsimple {
display: block;
position: relative;
float: right;
}

In OEDIT we use 2 button with rightcmsimple and leftcmsimple:

Mark a images, click on rightcmsimple button and we have ' <img class="rightcmsimple" src="./images/mypic.jpg"> ' in HTML and a right floating pic in layout.

Mark a images, click on leftcmsimple button and we have ' <img class="leftcmsimple" src="./images/mypic.jpg"> ' in HTML and a left floating pic in layout.

Torsten


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 23, 2007 10:28 am 
Offline

Joined: Tue Sep 14, 2004 5:21 pm
Posts: 1210
Location: Germany: Unterfranken
harteg wrote:
The H5 and H6 has been added to images.php (and editor.zip)....

.... and line 136 of oedit.php has to be changed from:
Code:
if((c.search(/h[1-4]/)!=-1)||c=="p"){
to
Code:
if((c.search(/h[1-6]/)!=-1)||c=="p"){


I found something, which is not so much a bug than rather something like a "not-so-niceity": If you enter Config after a fresh installation, "security_type" is switched on "page" by default. If you want to switch it on "wwwaut", you have to save, logout and login again, before "security_username" becomes visible. Seen in IE7.

Till


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group