Notice: CMSB v2.15 Beta!

8 posts by 7 authors in: Forums > CMS Builder
Last Post: May 1, 2012   (RSS)

Re: [Jason] Notice: CMSB v2.15 Beta!

  • Archived  

By aev - April 17, 2012

Hi Jason,

- Fields: Related Records now support drag-sorting with the custom flag in settings.dat.php under [advanced]: allowRelatedRecordsDragSorting = 1


When will there be drag-sorting for category records?

For small to medium sized websites we like to make complete websites using only a category section to build both navigation and content at once. This is great for hierarchical menus, but we really miss drag-sort on the admin side. It all feels a bit dated having to repeatedly press the the UP and DOWN links to move pages.


-aev-

Re: [Jason] Notice: CMSB v2.15 Beta!

  • Archived  

By zip222 - April 17, 2012

Nice job on the generated code. Lot's of useful stuff in there that wasn't there before.

A few things:
  • very happy about defaulting to "allowsearch=false"

  • and also for the inclusion of the upload['info#'] fields when they are used

  • I do wish you had removed some of the fluff from the expert mode generated code. There are too many notes and stray HTML that I don't is necessary.

  • Why are using single quotes in the <img> tags when everywhere else you use double?

  • Why the use of <blockquotes> around the upload sections

  • can the comment tags that directly precede each database query include the tableName? they are generic and when you need to include a bunch on the same page, it would be helpful if they tableName was included

  • what's the "htmlencode()" addition for the 'num' and 'title' fields about?


random, minor stuff:
  • can the version number be removed the "Welcome" message on the home page, and be placed somewhere more discreet? I always found this to be very odd.

  • any progress on adding a css class to the required items? I feel like a broken record with this one :)

Re: [Jason] Notice: CMSB v2.15 Beta!

  • Archived  

By Djulia - April 17, 2012

Hi Jason,

The Go Back button does not function with IE8.

There is an example available for the use of Other Generators ?

Thanks!

Djulia

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

  • Archived  

By Dave - April 17, 2012

Hi Djulia,

All of the internal generators are coded to work as plugins. You can use any of these files as examples:
cmsAdmin/lib/menus/_codeGenerator/listPage.php
cmsAdmin/lib/menus/_codeGenerator/detailPage.php
cmsAdmin/lib/menus/_codeGenerator/comboPage.php
cmsAdmin/lib/menus/_codeGenerator/rssFeed.php

Just copy the file to the plugins folder and change the function names (since if you load two files with the same function names you'll get an error).

Everyone else: Thanks very much for your feedback, please keep posting any comments, observations or suggestions and I'll do a big post in the next couple days to respond to everyone in one batch and make some changes for Beta 2.
Dave Edis - Senior Developer
interactivetools.com

Re: [Jason] Notice: CMSB v2.15 Beta!

  • Archived  

By Kenny - April 19, 2012

Having a problem with the orderBy. If the statement

'orderBy' => '', // use default database order

is used, it appears to generate a random order instead of using dragSortOrder.

If I remove that line, all is good. I is use

'orderBy' => 'dragSortOrder', // use default database order

all is good. So right now, I have to manually put dragSortOrder in or take the line out completely. Was this the intended behavior?

Kenny

Re: [Kenny] Notice: CMSB v2.15 Beta!

  • Archived  

By Chris - April 30, 2012

Thanks for the feedback, everyone!

We've fixed the problems that were discovered, namely the IE 8 button issue and the blank orderBy line. We've also made a few requested changes:

- Admin: Removed version number from dashboard/home page
- Code Generator: Image tags generated with double-quotes for consistency
- Code Generator: Added table name to comment above call to getRecords()

Finally, to respond to a couple of zip222's questions:

> what's the "htmlencode()" addition for the 'num' and 'title' fields about?

For the 'num' field, this is simply a best practice: if a programmer copies the code for displaying 'num' and changes the field name, any HTML will be safely escaped. If you want to allow HTML for a (non-wysiwyg) field, that's a conscious decision to be made.

> Why the use of <blockquotes> around the upload sections

This just visually groups the values, since it's possible to have multiple upload fields and multiple uploads per field.

We'll be releasing a new beta shortly!
All the best,
Chris

Re: [Chris] Notice: CMSB v2.15 Beta!

  • Archived  

By Dave - May 1, 2012

Hi All,

I'm locking this thread, please post any beta comments on the beta 2 thread or feel free to email me direct for other issues at dave@interactivetools.com.

v2.15 beta 2 thread:
http://www.interactivetools.com/forum/gforum.cgi?post=93099#93099
Dave Edis - Senior Developer
interactivetools.com