Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 08:43:43 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155527 Posts in 21712 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: what I would like to see in WB 2.8 final  (Read 852 times)
Kimmik

Offline Offline

Posts: 23


« on: July 29, 2009, 02:29:06 PM »

Hi folks,

here's a list of things I think should be changed:

1. When integrating the WYMeditor (wysiwyg module) I had problems because I wasn't able to manipulate the save button via the module.
--
I would like to see the save button move in the module:

this (currently hardcoded in /modules/wysiwyg/modify.php)
Quote
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding-bottom: 10px;">
<tr>
    <td align="left">
        <input type="submit" value="<?php echo $TEXT['SAVE']; ?>" style="width: 100px; margin-top: 5px;" />
    </td>
    <td align="right">
        </form>
        <input type="button" value="<?php echo $TEXT['CANCEL']; ?>" onclick="javascript: window.location = 'index.php';" style="width: 100px; margin-top: 5px;" />
    </td>
</tr>
</table>
should move into the show_wysiwyg_editor(); function of the wysiwyg-editor the user uses.

2.
I really would like to see global vars for templates that can be changed via the backend for every page individually and globally.

I would volunteer to do #1 (I don't have the skills for #2) , but I'm not involved in the development.


What do you think?
« Last Edit: July 29, 2009, 02:30:42 PM by Kimmik » Logged
erpe

Offline Offline

Posts: 2077


WWW
« Reply #1 on: July 29, 2009, 03:16:49 PM »

Hi

if you want to work for website baker project you could use this form:
http://start.websitebaker2.org/en/join-the-team.php

rgds

erpe
Logged

Kimmik

Offline Offline

Posts: 23


« Reply #2 on: July 29, 2009, 03:27:55 PM »

thx, erpe.

I signed up, and I already found a much simpler way to accomplish #1.
It would involve only minimal changes (just adding a class to the submit button of the wysiwyg-modul and the news-module [the newsmodule also uses the wysiwyg-module show-editor-function]).


// But I still think that the input and cancel button should be moved fully to the show-wysiwyg function (they just belong there imo).
« Last Edit: July 29, 2009, 03:30:17 PM by Kimmik » Logged
Kimmik

Offline Offline

Posts: 23


« Reply #3 on: July 29, 2009, 03:38:42 PM »

or even better:

the show_wysiwyg_editor(); function call could specify if the buttons should appear (that way it wouldn't interfere with other modules that use the function.

But It still requires changes in every wysiwyg-editor module.
« Last Edit: July 29, 2009, 03:40:39 PM by Kimmik » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #4 on: July 29, 2009, 04:01:32 PM »

Hello,

from the point the first RC was released we have a feature freeze. so i don't think this will be added to WB 2.8 final. Another reason is that this is not compatible to all modules wich uses an editor. They all needs to be adapted as far as i see.

Matthias
Logged
Kimmik

Offline Offline

Posts: 23


« Reply #5 on: July 29, 2009, 04:53:22 PM »

Yes, all wysiwyg-editors would have to be changed, which sucks. Maybe it's not worth it at the moment, but I think it would be an improvement in the future.

Luckily I found a way for the wymeditor to work without it for now. cool

Any thoughts on the global template variables?
It's a feature that's almost standard in every other CMS by now (for example Joomla, Modx, ExpressionEngine etc).
« Last Edit: July 29, 2009, 04:54:57 PM by Kimmik » Logged
WebBird
Guest
« Reply #6 on: July 29, 2009, 05:01:19 PM »

I think the very best way would be to provide an API for module developers to get a WYSIWYG editor instead of including it directly. This way, any changes (like switching the core to a very new editor) would be inherited to all modules automatically, which would be a very nice feature. grin Also, it would help to get a nice, unique appearance of the admin backend. wink

Kind of ToDo for 3.x, I think. grin
Logged
erpe

Offline Offline

Posts: 2077


WWW
« Reply #7 on: July 29, 2009, 05:02:33 PM »

Maybe it is a good idea to open a ticket for this?

rgds

erpe
Logged

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!