Notice: CMSB v2.09 Beta!

12 posts by 8 authors in: Forums > CMS Builder
Last Post: May 31, 2011   (RSS)

  • Archived  

By robin - May 19, 2011

Hey All,

We have a first beta of CMS Builder v2.09, beta list members will get a download link shortly.

Here is the changelog:

NEW FEATURES
- Uploads: Upload paths are now stored as relative to make server moves easier
- Uploads: Existing uploads path will automatically be made relative where possible.
- Section Editor: The "Add New Editor..." button now lets you copy an existing section (without the data)

MINOR CHANGES
- Code Changes: Removed unused function from /lib/common.php - array_change_value_case()
- Plugin Developers: All plugin hooks can now be listed with "show plugin hooks" link on plugins page
- Programmers: Added plugin hooks for: ui_header, ui_footer, list_orderBy
- Programmers: Added custom functions: isAbsoluteUrl, realUrl, array_value, array_where, dieWith404
- Developers: Added help file on setting up development settings files: /data/how_to_use_settings_files.txt
- WYSIWYG: Added support for /lib/wysiwyg_custom.css file that won't get overwritten during upgrades
- WYSIWYG: Once clicked, "Paste as Text" now stays active until clicked again (instead of deselecting after paste)

BUG FIXES
- Fixed bug from 2.07 where renaming a section displayed an error.
- Fixed demo mode bug where demo couldn't be created if tablenames exceeded 64 characters
- whereRecordNumberInUrl() and getLastNumberInUrl() now ignore page numbers such as viewer.php?title-123&page=2
- Admin Option "Store encrypted passwords in database (can not be disabled)" can no longer be disabled.
- Misc Code and other minor improvements


If you're not already on the beta tester email list and you'd like to help beta test (you must own at least 1 CMSB license) please email dave@interactivetools.com to be added to the list.

Thanks,
Robin
Robin
Programmer
interactivetools.com

Re: [robin] Notice: CMSB v2.09 Beta!

  • Archived  

By rjbathgate - May 19, 2011


NEW FEATURES
- Uploads: Upload paths are now stored as relative to make server moves easier


That on its own is enough to make me dance!

Re: [robin] Notice: CMSB v2.09 Beta!

  • Archived  

By Toledoh - May 19, 2011

Seems to work a treat!

Love the copy sections!
Cheers,

Tim (toledoh.com.au)

Re: [robin] Notice: CMSB v2.09 Beta!

  • Archived  

By gadefgaertgqe - May 20, 2011

Another Great update!

Re: [robin] Notice: CMSB v2.09 Beta!

  • Archived  

By Djulia - May 20, 2011 - edited: May 20, 2011

Hi Robin,

The update modifies all the records in the Upload table!
Is It possible not to authorize the modification of the records for the columns filePath, urlPath, thumbFilePath... ?

We use a script to import our data in cmsb.
This gives us the possibility of using different folders in the same table.

For example (table sale) :
/folder1/images/image1.jpg
/folder2/folder1/images/image2.jpg
/folder3/folder1/folder2/images/image3.jpg

...and the update removed all the folders :
image1.jpg
image2.jpg
image3.jpg


Thanks your assistance! :)

Djulia

Re: [robin] Notice: CMSB v2.09 Beta!

  • Archived  

By Djulia - May 20, 2011 - edited: May 20, 2011

Hi Robin,

I think that we can modify the folders in the database.
But, if we make another update, will the columns be again modified?

folder/folder/image.jpg

...modified towards :

image.jpg ?

Thanks for your answer ! :)

Djulia

Re: [Djulia] Notice: CMSB v2.09 Beta!

  • Archived  

By Dave - May 20, 2011

Hi Djulia,

The function that modifies the upload paths is named makeAllUploadRecordsRelative() and it's called on upgrade to 2.09 (only once) and when you restore a backup under Admin > General.

Can you give me some information about how and why you have your upload paths setup that way?

You can also set custom upload paths in the field editor on a "per field" basis. These upload paths can be relative to the main upload path.

We made this change to make it easier to move servers so the urls and paths we're recorded as for the current server only.

If all you need is the upload filepath another method is just to store that in a text field.

Let me know what your needs are and I'll see what I can think of.

Thanks!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Notice: CMSB v2.09 Beta!

  • Archived  

By Perchpole - May 23, 2011

Thanks, All -

There are some much needed improvements here.

The one thing that sticks out (as a potential issue), however, is the custom.css file location.

I can't help feeling I want to locate this file outside the lib directory.

Couldn't we just specify a location of our choice on the CMSB settings page?

That way we could link to a style sheet used on the main site - as opposed to one set-up purely for the WYSIWYG editor.

:0/

Perch

Re: [Dave] Notice: CMSB v2.09 Beta!

  • Archived  

By Djulia - May 23, 2011 - edited: May 23, 2011

Hi Dave,

Thanks for your feedback! :)

1) Finally, we preferred to use the Uploads folder to ensure compatibility with the next versions.

2) But, we have another problem.

This version gives times of loading of page lists more important!

With the version 2.07 the average time 0.25 seconds
With the version 2.09, the average in time 1.50 seconds

We alternated the versions several times and we always have the same result.


Do You have an idea?

Thanks ! :)

Djulia