Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Notice: CMS Builder v1.23 Released (November 6th)

 

First page Previous page 1 2 Next page Last page  View All


Dave
Staff / Moderator


Nov 6, 2008, 3:46 PM

Post #1 of 29 (3532 views)
Shortcut
Notice: CMS Builder v1.23 Released (November 6th) Can't Post

Hello all!

We've just released v1.23 with some new features and many improvements and bug fixes.

Some of the new features include:
- Admin Design: Changed admin menu design to have left navigation menu
- CSS Stylesheet: Made huge improvements to program CSS stylesheet making it easier to re-style and change colors
- Languages: Added Portuguese translations (thanks to jamtc in the forums)
- WYSIWYG: Upgraded tinyMCE to version 3.2.0.2 (2008-10-02)
- Program Urls: Help Url and Website Url can now contain PHP code (to specify values on per user basis, for example)
- Usability: If a user is one allowed to edit one record in a section they are redirected straight to edit page (instead of list page).

For a full list of changes, visit the CMS Builder changelog:
http://www.interactivetools.com/products/cmsbuilder/changelog.html

CMS Builder users can upgrade by donation at this page:
http://www.interactivetools.com/upgrade/

Keep your feature requests and bug reports coming in! Every single release we've done is packed full of user requested changes. Post to the forum or send us an email at dave@interactivetools.com.

See you in the forum! :)

Dave Edis - Senior Developer
interactivetools.com


Damon
Staff / Moderator


Nov 6, 2008, 3:58 PM

Post #2 of 29 (3526 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post



This is a screenshot of the new admin.

Increasing the width of the admin is now simply to do by just changing the ui.css file.
#main > DIV { width: 690px; }

Cheers
Damon Edis
interactivetools.com

(This post was edited by Damon on Nov 6, 2008, 4:04 PM)
Attachments: cmsbuilder_1_23_admin.jpg (48.4 KB)


Djulia
User

Nov 9, 2008, 4:54 AM

Post #3 of 29 (3457 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hello,

I have a problem with the modal window since the button Add Field.

For example :
Admin > Section Editors > realty_homepage (Add Field)

I use a resolution of 1024 (and IE7) and the buttons (Save, Save & Copy...) are not accessible.
Capture1.gif

I do not have a problem if I use the modal window with the link modify.
Capture2.gif

You can help me to solve this problem ?

Thanks,

Djulia



(This post was edited by Djulia on Nov 9, 2008, 2:04 PM)
Attachments: Capture1.gif (16.4 KB)
  Capture2.gif (23.2 KB)


Dave
Staff / Moderator


Nov 10, 2008, 12:14 PM

Post #4 of 29 (3382 views)
Shortcut
Re: [Djulia] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hi Djulia,

This is fixed for the next version, here's the fix if you'd like to apply it now.

- Open /lib/menus/admin/editTable_functions.js
- Save a backup of this file
- Search for: function addField
- Replace this:


Code
function addField() { 
var tableName = $('#tableName').val();
var fieldname = '';
var thickboxUrl = "?menu=database&action=editTable&addField=1&tableName=" +tableName+ "&fieldname=" +fieldname
+ "&TB_iframe=true&height=600&width=700&modal=true";

tb_show(null, thickboxUrl, false); // code reference: http://jquery.com/demo/thickbox/thickbox-code/thickbox.js
}


With this:


Code
// 
function addField() {

// set iframe height
var iframeHeight = 600;
var windowHeight = document.documentElement.clientHeight;
if (windowHeight > 0) { iframeHeight = parseInt(windowHeight * 0.80); }
if (iframeHeight < 200) { iframeHeight = 200; }
if (iframeHeight > 600) { iframeHeight = 600; }

// get url
var tablename = $('#tableName').val();
var fieldname = '';
var url = "?menu=database&action=editTable&addField=1"
+ "&tableName=" +tablename
+ "&fieldname=" +fieldname
+ "&TB_iframe=true&width=700&height=" + iframeHeight
+ "&modal=true";

// show thickbox
var caption = null;
var imageGroup = false;
tb_show(caption, url, imageGroup);
}


Let me know if that fixes it for you.

Dave Edis - Senior Developer
interactivetools.com


Djulia
User

Nov 10, 2008, 12:51 PM

Post #5 of 29 (3378 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hi Dave,

Thanks, it is perfect ! Smile

I have another suggestion.

In the editor ( Capture1.gif ), it is possible to have the link "modify" of the Section Editors ( Capture2.gif ) ?

For example : if in Admin > User Accounts


Admin Access == Yes


Then, it would be possible to reach directly the function editTable.

In the Select for example ( Capture3.gif ) ?

Your opinion ?

Thanks,

Djulia
Attachments: Capture1.gif (7.69 KB)
  Capture2.gif (7.45 KB)
  Capture3.gif (8.56 KB)


Dave
Staff / Moderator


Nov 10, 2008, 3:53 PM

Post #6 of 29 (3351 views)
Shortcut
Re: [Djulia] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

We want to be careful to keep the interface simple and clean. So I want to give it some more thought before we add more links or options:

Here's how to do it yourself, though. You can add a link just below the section name after </h2>:


Code
   </h2> 
<?php if ($CURRENT_USER['isAdmin']): ?>
Admin:
<a href="?menu=database&action=editTable&tableName=<?php echo $tableName ?>" >Edit Section</a>
<?php endif ?>


This will show:

Your Section Name
Admin: Edit Section

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com


Djulia
User

Nov 11, 2008, 2:03 AM

Post #7 of 29 (3337 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Thanks Dave, Smile It is perfect !

That make more ergonomic the production of the tables.

Djulia

P.s. : I added it in /lib/menus/default/list.php


Dave
Staff / Moderator


Nov 11, 2008, 9:02 AM

Post #8 of 29 (3322 views)
Shortcut
Re: [Djulia] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Great, glad it's working the way you want. And thanks for the ongoing feedback and suggestions, Djulia. I appreciate them! :)

Dave Edis - Senior Developer
interactivetools.com


Djulia
User

Nov 14, 2008, 4:06 AM

Post #9 of 29 (3120 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hi Dave,

I have a JavaScript error with the use of the function Add New Editor (in Section Editors).


Code
 JavaScript - ...admin.php?menu=database&action=addTable& 
Event thread: keyup
Error:
name: ReferenceError
message: Statement on line 1: Undefined variable: autoFillTableName
Backtrace:
Line 1 of function script
autoFillTableName()
...
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace

You have an idea ?

Thanks for your assistance.

Djulia

P.s. :

It is also pleasant for me to exchange with you.
But, it is sometimes tedious that my English is not better. I cannot always express as I would like it.



Djulia
User

Nov 14, 2008, 4:31 AM

Post #10 of 29 (3111 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Oops ! The problem disappeared.

Perhaps a problem with the server ( I make test on https://) !

Djulia


Dave
Staff / Moderator


Nov 14, 2008, 10:43 AM

Post #11 of 29 (3086 views)
Shortcut
Re: [Djulia] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Ok, let me know if it comes back.

Dave Edis - Senior Developer
interactivetools.com


bruno
User

Nov 14, 2008, 11:47 PM

Post #12 of 29 (3045 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

What's the code for adding it to the Advanced Commands menu?(../lib/menus/default/list.php?)

Here's what I tried, but I'm getting an error:


Code
<?php if ($CURRENT_USER['isAdmin']): ?>  
<option value="?menu=database&action=editTable&tableName=<?php echo $tableName ?>">Edit Section</option>
<?php endif ?>



Dave
Staff / Moderator


Nov 17, 2008, 11:31 AM

Post #13 of 29 (2914 views)
Shortcut
Re: [bruno] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

It's a little more complicated. I've added it to the next version. If you're comfortable editing code you can try the following changes:

Add this to /lib/menus/default/list.php to the bottom of the "Advanced Commands" pulldown:


Code
<?php if ($CURRENT_USER['isAdmin']): ?> 
<option value="editSection"><?php _e('Admin: Edit Section') ?></option>
<?php endif; ?>


Add this to /lib/menus/default/actionHandler.php below "categoryMove":


Code
  elseif ($action == 'categoryMove')           { categoryMove();  } 

elseif ($action == 'editSection') {
$url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'];
$url .= '?menu=database&action=editTable&tableName=' . urlencode(@$_REQUEST['menu']);
header("Location: $url");
exit;
}


Hope that helps!

Dave Edis - Senior Developer
interactivetools.com


Djulia
User

Nov 18, 2008, 3:26 AM

Post #14 of 29 (2860 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hi Dave,

I have another suggestion.

It would be possible to give the possibility of choosing between wysiwyg simple or wysiwyg advanced
for the option Admin > Section > ... > Field Editor ( Capture1.gif ) ?

Thanks for your answer.

Djulia

Attachments: Capture1.gif (11.8 KB)


Djulia
User

Nov 19, 2008, 1:58 AM

Post #15 of 29 (2834 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hi Dave,

I would like to add buttons Save - Save & Copy - Cancel in the bottom of the modal window for Admin > Section Editors…

You can suggest me the code necessary ?

That can improve my work with the window.
I am very often obliged to go up the window to validate my changes (Capture2.gif).

Thanks for your assistance.

Djulia
Attachments: Capture2.gif (10.2 KB)


aev
User

Nov 19, 2008, 11:38 AM

Post #16 of 29 (2806 views)
Shortcut
Re: [Djulia] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Agree on this, buttons both at the top and bottom would be great!

-aev-


Dave
Staff / Moderator


Nov 19, 2008, 2:54 PM

Post #17 of 29 (2794 views)
Shortcut
Re: [Djulia] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

>It would be possible to give the possibility of choosing between wysiwyg simple or wysiwyg advanced

It's a good idea. I want to give some more thought to it before I add it. In the meantime, you can add it yourself by editing /lib/wysiwyg.php

Search for "display field". The part the prints the javascript after that. You could put an if around it so it prints a different block of javascript if the field has a certain name or contains "simple", etc.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com


Dave
Staff / Moderator


Nov 19, 2008, 3:04 PM

Post #18 of 29 (2794 views)
Shortcut
Re: [Djulia] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Thanks for the suggestion. I've added this to v1.24. If you're running 1.23 you use the attached file to replace:

cmsAdmin/lib/menus/database/editField.php

Make a backup first, though.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com
Attachments: editField.php (26.3 KB)


Djulia
User

Nov 20, 2008, 5:56 AM

Post #19 of 29 (2747 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Thanks Dave for your reactivity, it is perfect. Smile

1) I just modified the value of padding (line 539)
<div style="padding: 10px 0px 20px 0px"> - That adds a space in lower part.

I had the same problem with the window modal for Upload Files.
But, I preferred to modify the value of $maxUploads (to 5) in uploadForm_functions.php ( /lib/menus/default/ ).
10 was a too important value for my mutualized server ( ... )

2) I have another question.

It will be possible in a forthcoming version to create its Preset Menu ?
Then, it would be possible to use this function to create the templates ?

Thanks,

Djulia



Dave
Staff / Moderator


Nov 20, 2008, 12:17 PM

Post #20 of 29 (2724 views)
Shortcut
Re: [Djulia] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hi Djulia,

>It will be possible in a forthcoming version to create its Preset Menu ?

When you create a new section it creates a file in /data/schema/ called new-section.ini.php.

If you copy that file to /data/schemaPresets/ it will be listed as a preset.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com


Djulia
User

Nov 20, 2008, 12:45 PM

Post #21 of 29 (2722 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hi Dave,

Great ! It is a very good information. Smile

But, I would like to push further.

It would be possible to modify code HTML suggested when one uses the function Show Code ?
>> Admin function > Code Generator > Show Code

Thanks for the feedback.

Djulia



Dave
Staff / Moderator


Nov 20, 2008, 12:47 PM

Post #22 of 29 (2720 views)
Shortcut
Re: [Djulia] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

It's only possible by modifying these files:

/lib/menus/admin/codeGenerator.php
/lib/menus/admin/codeGenerator_functions.js
/lib/menus/admin/showCode.php
/lib/menus/admin/showCode_functions.php

I hope to find time to rewrite and update the code generator soon, though. There's lots I want to add. I also want to make it more modular.

Dave Edis - Senior Developer
interactivetools.com


Djulia
User

Nov 20, 2008, 12:50 PM

Post #23 of 29 (2719 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

You knew that I would put this question !

>> I also want to make it more modular.
That promises a great CMS !


Thanks,

Djulia


(This post was edited by Djulia on Nov 20, 2008, 12:57 PM)


Carrie
User

Nov 20, 2008, 7:50 PM

Post #24 of 29 (2683 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hi Dave,

What is involved in the upgrade? E.g. just uploading some files - or is there re-configutation?

Thanks,

Carrie
Carrie
WebGenesis
www.webgenesis.com.au


Djulia
User

Nov 21, 2008, 6:28 AM

Post #25 of 29 (2649 views)
Shortcut
Re: [Dave] Notice: CMS Builder v1.23 Released (November 6th) [In reply to] Can't Post

Hi Dave,

I excuse myself to still annoy you with this.

But, it would be possible to suggest the code for add the button Preview and Edit Section for Single Record ?

Thanks for your assistance.

Djulia


First page Previous page 1 2 Next page Last page  View All
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4