• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 12:44 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Oct 25, 2006 8:29 pm
Posts: 4986
Location: Raalte, the Netherlands
mikeim,

AFAIK, for point 2.

Theseare inactive files, as for the security release that was done earlier, it was required to overwrite the file with logic, with a dummy-file, because people upgrading, would otherwise remain with the vulnerable files....

Ronny


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 1:11 pm 
Offline
Forum Members
Forum Members

Joined: Mon Jul 28, 2008 4:48 pm
Posts: 117
Location: Cambridge, UK
stopsatgreen wrote:
Have just found a rather large problem with one of my installs; {stylesheet name='Name'} no longer works. Have tried a number of different tests, so far to no avail; it's just stopped working since upgrading to 1.4.


I've just had exactly the same thing. I tried re-unpacking the install, attaching and de-attaching the stylesheet, playing with the config options - process_whole_template and old_stylesheet - to no-avail. In the end I just chaged the template to say {stylesheet}, making sure the style was linked to the template, and it worked fine.

Nick


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 1:43 pm 
Offline
Power Poster
Power Poster

Joined: Sat Feb 04, 2006 1:24 am
Posts: 322
Location: London, England
Nick Smart wrote:
In the end I just chaged the template to say {stylesheet}, making sure the style was linked to the template, and it worked fine.


That's not an ideal solution, though, because it means creating more templates. I want to have as few templates as possible and use individual stylesheets on some;

Code:
{if $page_alias == 'page1' || $page_alias == 'page2'}
{stylesheet name='sheetname'}
{/if}


One of my sites relies quite heavily on that :(

I've also found another problem, although this is an irritation more than a bug:

calguy1000 wrote:
A new icon for rss feeds


That's irritating because you've swapped a more standard RSS icon for a non-standard, 'fun' one, which means I now have to go back to all my old sites and replace it with the old one, and remember to do so every time there's a new upgrade. It would have been better to implement an rss_icon parameter.

Update: I forgot to say, apart from the bug and the irritant, congratulations and thanks very much to everyone involved!


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 1:46 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Tue Apr 22, 2008 3:42 pm
Posts: 97
Great job guys, this version looks awesome!

Alby, is a MLE version of 1.4 planed?

Cheers,
jw

_________________
Jan Oliver Waldeck
"Dynamic and creative website concept"
www.jwaldeck.com


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 1:48 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 6585
Location: Fernie British Columbia, Canada
I found the issue.... it was a mis typed field name.  I'm not sure that this is worth a 1.4.0.1 release (because then I'd have to write a new script to generate diff releases).  But here's the fix:

in plugins/function.stylesheet.php:

Code:
Index: function.stylesheet.php
===================================================================
--- function.stylesheet.php     (revision 4914)
+++ function.stylesheet.php     (revision 4915)
@@ -65,7 +65,7 @@
   if (isset($params['name']) && $params['name'] != '')
     {
       $query = 'SELECT css_id FROM '.cms_db_prefix().'css
-                     WHERE name = ?';
+                     WHERE css_name = ?';
       $cssid = $db->GetOne( $query, array($params['name']));
       if( $cssid )
        {

_________________
Follow me on twitter
--
if you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
----------------
Don't make me angry..... you won't like me when I'm angry....


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 1:52 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4820
Location: Ferrara, Italy
jwaldeck wrote:
Great job guys, this version looks awesome!

Alby, is a MLE version of 1.4 planed?


Yes, but I was busy for holiday and follow a Belarus kid that go home today

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 2:04 pm 
Offline
Power Poster
Power Poster

Joined: Sat Feb 04, 2006 1:24 am
Posts: 322
Location: London, England
Thanks, Calguy. Will the fixed script be in alll future downloads of 1.4, or will we have to apply this fix to every copy we download?

Code:
I'm not sure that this is worth a 1.4.0.1 release (because then I'd have to write a new script to generate diff releases).


Haven't there been releases before with just a couple of changed pages? Like 1.2 -> 1.2.1? Do you have to write scripts for all of those too?


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 2:06 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Oct 25, 2006 8:29 pm
Posts: 4986
Location: Raalte, the Netherlands
This means that the file is fixed and will be part of next releases, that is not 1.4 off course. So the next release will have this fix inside, that could be 1.4.0.1, 1.4.1 or 1.5 etc....

Ronny


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 7:30 pm 
Offline
Forum Members
Forum Members

Joined: Sun Jan 27, 2008 12:03 am
Posts: 39
Location: San Diego, California
Quote:
Index: function.stylesheet.php
===================================================================
--- function.stylesheet.php     (revision 4914)
+++ function.stylesheet.php     (revision 4915)
@@ -65,7 +65,7 @@
   if (isset($params['name']) && $params['name'] != '')
     {
       $query = 'SELECT css_id FROM '.cms_db_prefix().'css
-                     WHERE name = ?';
+                     WHERE css_name = ?';
       $cssid = $db->GetOne( $query, array($params['name']));
       if( $cssid )
        {



I'm trying to fix the stylesheet issue but I'm not sure what I'm supposed to do with this code. do i just add to the this somewhere on the existing file or does it replace it...sorry im not good with php.

_________________
http://www.fireous.com/


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 7:40 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4820
Location: Ferrara, Italy
kalozura wrote:
Quote:
Index: function.stylesheet.php
===================================================================
--- function.stylesheet.php    (revision 4914)
+++ function.stylesheet.php    (revision 4915)
@@ -65,7 +65,7 @@
  if (isset($params['name']) && $params['name'] != '')
    {
      $query = 'SELECT css_id FROM '.cms_db_prefix().'css
-                    WHERE name = ?';
+                    WHERE css_name = ?';
      $cssid = $db->GetOne( $query, array($params['name']));
      if( $cssid )
        {



I'm trying to fix the stylesheet issue but I'm not sure what I'm supposed to do with this code. do i just add to the this somewhere on the existing file or does it replace it...sorry im not good with php.


Replace row with - in front with row with + in front (= add css_ to name)

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Tue Aug 05, 2008 7:05 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 8:15 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Oct 25, 2006 8:29 pm
Posts: 4986
Location: Raalte, the Netherlands
kalozura wrote:
Quote:
Index: function.stylesheet.php
===================================================================
--- function.stylesheet.php     (revision 4914)
+++ function.stylesheet.php     (revision 4915)
@@ -65,7 +65,7 @@
   if (isset($params['name']) && $params['name'] != '')
     {
       $query = 'SELECT css_id FROM '.cms_db_prefix().'css
-                     WHERE name = ?';
+                     WHERE css_name = ?';
       $cssid = $db->GetOne( $query, array($params['name']));
       if( $cssid )
        {



I'm trying to fix the stylesheet issue but I'm not sure what I'm supposed to do with this code. do i just add to the this somewhere on the existing file or does it replace it...sorry im not good with php.


Check this post http://forum.cmsmadesimple.org/index.ph ... 395.0.html and find the modified file attached there...

Ronny


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 9:12 pm 
Offline
Forum Members
Forum Members

Joined: Sun Jan 27, 2008 12:03 am
Posts: 39
Location: San Diego, California
Thanks Alby

_________________
http://www.fireous.com/


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Mon Aug 04, 2008 9:40 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Mon Jun 25, 2007 5:36 pm
Posts: 1067
Location: Portugal
Quote:
That's irritating because you've swapped a more standard RSS icon for a non-standard, 'fun' one, which means I now have to go back to all my old sites and replace it with the old one, and remember to do so every time there's a new upgrade. It would have been better to implement an rss_icon parameter.


so, you say the old rss icon (XML-icon) is more cool-standart than the new one? ;)


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Tue Aug 05, 2008 12:36 am 
Offline
Power Poster
Power Poster

Joined: Sat Feb 02, 2008 12:42 am
Posts: 424
Location: USA
mikeim wrote:
1. Using TinyMCE, when linking to an uploaded file from the file manager it creates the url as: /www.site.com/uploads/...
and so this creates an incorrect and broken link. I have 'Generate relative urls' checked in my settings.


Can anyone suggest a fix for this?
Thanks.

_________________
Take a penny, leave a penny.


Top
 Profile  
 
 Post subject: Re: Announcing CMS Made Simple v1.4 "Jamaica"
PostPosted: Tue Aug 05, 2008 2:56 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4820
Location: Ferrara, Italy
mikeim wrote:
mikeim wrote:
1. Using TinyMCE, when linking to an uploaded file from the file manager it creates the url as: /www.site.com/uploads/...
and so this creates an incorrect and broken link. I have 'Generate relative urls' checked in my settings.


Can anyone suggest a fix for this?


I tested and I see a correct "final" behavior.

- "generate relative url" checked
- in Tiny Link to internal file, now in tiny source I have /uploads/file.pdf in link
- APPLY button and check in source html: tiny drop first / and I see the correct link: upload/file.pdf

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users


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:  
Arvixe - A CMSMS Partner