Notice: CMSB v2.09 Beta!

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

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

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!

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!

By gadefgaertgqe - May 20, 2011

Another Great update!

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

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!

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!

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!

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!

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

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

By Chris - May 25, 2011

@Perch: You should be able to use the CSS @import rule to include your external style sheet from custom.css. I'll add your idea of being able to specify a location to our feature request list. Thanks! :)
All the best,
Chris