Commit Graph

285 Commits

Author SHA1 Message Date
Ingo Schommer
a633326c3e ENHANCEMENT Allow Requirements::add_i18n_javascript() to return its files more optimised inclusion, using it in LeftAndMain 2012-01-06 15:34:29 +01:00
Ingo Schommer
850ea4cd7b MINOR Don't combine CMS-related CSS files in LeftAndMain, as it breaks relative image paths 2012-01-06 10:46:27 +01:00
Ingo Schommer
1ec694d0a9 MINOR Moved EditorToolbar() from CMSMain to LeftAndMain (as we don't support loading link forms via ajax) 2012-01-03 23:01:02 +01:00
Ingo Schommer
b4b6e5a2db MINOR Cleaned up CMS dialog styling (now works with/without tabs, in iframe and inline markup), removed superfluous SCSS variable declarations 2012-01-03 18:11:21 +01:00
Ingo Schommer
8dd64bd2ef MINOR Using box-sizing to lay out form fields rather than relying on hacky 90% widths + pixel-based paddings, which makes it impossible to align anything outside of the field container the these elements. Using conditional CSS to disable field padding if box-sizing is not available. Generalized "stacked" form pattern in _form.scss, fixed CMS actions padding to align with fields. 2012-01-03 18:11:21 +01:00
wolfv
2ccda564ca ENHANCEMENT: #6579 Show page status in page tree (pull request #142 from wolfv/sapphire) 2011-12-29 10:35:44 +01:00
Ingo Schommer
225776389a MINOR Allow overwriting of 'X-Controller' and 'X-Title' HTTP headers in CMS 2011-12-20 17:46:44 +01:00
Ingo Schommer
4d28b79c1b MINOR Reduced HTML validation errors in CMS and FieldGroup 2011-12-18 17:00:01 +01:00
Ingo Schommer
e8ecdf66b2 BUGFIX Disabling HTML5 history hash change fallbacks due to infinite loops on changing hash values 2011-12-15 00:48:34 +01:00
Ingo Schommer
f2ec8b0d54 BUGFIX Enforcing TinyMCE textarea call on window.load in addition to entwine/DOMReady to ensure TinyMCE.init() has been called and all plugins are loaded. 2011-12-15 00:48:29 +01:00
Ingo Schommer
a17e1c21c2 MINOR Suppress inline JS validation scripts in CMS (they don't work with ajax-loaded content) 2011-12-14 16:15:32 +01:00
Ingo Schommer
e5b88c6c48 MINOR Documentation 2011-10-29 21:59:21 +02:00
Ingo Schommer
3aafb63821 MINOR Allowing usage of custom *_EditForm templates in base class with LeftAndMain->getEditForm() (was already implemented in subclasses) 2011-10-29 21:56:33 +02:00
Ingo Schommer
7be28d5714 BUGFIX Making LeftAndMain->PreviewLink() an "opt-in", returning false by default to avoid adverse effects from loading unpreviewable items like users or filesystem folders - see CMSMain for sample implementation 2011-10-29 19:12:33 +02:00
Will Rossiter
3d77214d91 MINOR remove old stylesheet 2011-10-29 15:47:07 +13:00
Sam Minnée
089c38a5da Merge pull request #73 from stojg/leftandmain
MINOR Fixing the path of the CSS files in LeftAndMain
2011-10-27 20:13:47 -07:00
Stig Lindqvist
e38dd08ea5 MINOR: Fix docblocks to reference SS_List instead of (now deprecated) DataObjectSet where appropriate 2011-10-28 15:58:55 +13:00
Hamish Friedlander
0a3e0f15de MINOR: Replace references to FieldSet (now deprecated) with references to FieldList 2011-10-28 15:58:55 +13:00
Stig Lindqvist
15ad2d29c3 MINOR Fixing the path of the CSS files in LeftAndMain 2011-10-22 17:04:02 +02:00
Ingo Schommer
2279e9f3b3 MINOR Removed individual Requirements calls in LeftAndMain->init() in favour of Requirements::combine_files(), to avoid duplication and hard to debug behaviour differences due to changed file inclusion orders between non-live and live systems 2011-10-11 09:55:58 +02:00
Ingo Schommer
98b4fe21d9 Merge branch 'candidasa-cms-enhancements' 2011-10-11 09:37:18 +02:00
Julian Seidenberg
b7f9c59e12 ENHANCEMENT: adding hoverIntent plug-in to the js combined_files (SSO-7) 2011-10-11 12:12:46 +13:00
Julian Seidenberg
f807aa01b2 ENHANCEMENT: introducing a flight delay (using the jQuery HoverIntent plug-in) to prevent "sloppy mouse movement" from instantly closing the flyout menu when the mouse leaves the area. Also fixes problem with the menu in IE7. 2011-10-10 14:00:47 +13:00
Ingo Schommer
fa6681f5c5 BUGFIX: Better handling of non-existent records in delete calls (if button is clicked twice) 2011-10-07 14:12:52 +02:00
Will Rossiter
51affd2d63 BUGFIX: update LeftAndMain::handleRequest() to be consistent with Controller::handleRequest() 2011-09-26 16:55:59 +13:00
Will Rossiter
1732a17114 Merged new-orm into datagrid 2011-09-26 16:47:54 +13:00
Will Rossiter
2036354d8d ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain interface 2011-09-19 17:26:01 +02:00
Will Rossiter
60cba7dd76 BUGFIX: fixed submenu not opening in cms-menu when cms loads on page other than edit page section 2011-09-19 17:22:36 +02:00
Ingo Schommer
ce8e72cf0e MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
Ingo Schommer
4461cae31b ENHANCEMENT New CMSPreviewable interface class to standardize metadata making a record previewable by the CMS.
ENHANCEMENT New "preview" and "edit" buttons to toggle between preview and cms views. Reinstated utility links to switch between draft and live preview (based on SilverStripeNavigator) (formerly called "AjaxSwitchView")
2011-08-12 17:05:50 +02:00
Ingo Schommer
dacdade4b0 ENHANCEMENT Removed automatic redirection to admin URLs in ContentController, too counter-intuitive and hard to implement consistently, while still allowing linkage of pages without CMS around them. Use $SilverStripeNavigator in custom Page.ss to link a page to its admin view for logged-in users. 2011-08-12 14:28:44 +02:00
Ingo Schommer
e40d3d45c0 ENHANCEMENT $('.cms-preview').block()/unblock() for blocking preview window when unavailable. Fixed duplicate addition of GET parameters in preview with new jQuery.query library for parameter parsing. 2011-08-12 14:28:22 +02:00
Will Rossiter
9a340e7eb4 ENHANCEMENT: Added Chosen jQuery library for providing styled and searchable dropdowns. BUGFIX: removed explict width on TreeDropdownFields, instead using a width from jQuery. 2011-08-05 15:46:57 +12:00
Will Rossiter
1827c18fe1 BUGFIX: fixed CMSMain menu being displayed on CMSPageController pages. MINOR: added icons for main left hand side. 2011-07-28 16:57:41 +12:00
Ingo Schommer
1dc9457048 MINOR Using LeftAndMain->BaseCSSClasses() instead of ViewableData->CSSClasses() to avoid conflicts with customized controller objects (e.g. ModelAdmin_RecordController->edit()) 2011-07-08 15:36:46 +02:00
Ingo Schommer
b326f03ed7 MINOR Using LeftAndMain->Link() $action parameter correctly in getSiteTreeFor() 2011-07-08 15:36:46 +02:00
Ingo Schommer
d68ec395a3 API CHANGE Using $Link instead of $ApplicationTitle and $SectionTitle in LeftAndMain.ss. Adding new 'X-Title' HTTP header in order to support title changes for history.pushState 2011-07-08 15:36:46 +02:00
Ingo Schommer
2f2096cd3a ENHANCEMENT HTML5 History.pushState support in CMS 2011-07-08 15:36:46 +02:00
Ingo Schommer
ff54044206 API CHANGE Forms in ajax responses from LeftAndMain and subclasses include <form> tags, and replace the form itself on the client (rather than just everything inside the form). Form submissions and loading is handled by its container ('.cms-content') to avoid problems with a DOM element replacing itself upon form submission. 2011-07-08 15:36:46 +02:00
Ingo Schommer
8378a9d561 MINOR Moved "pinging" logic for CMS into new LeftAndMain.Ping.js container 2011-07-08 15:36:44 +02:00
Ingo Schommer
4e0949f565 ENHANCEMENT Consistently wrapping CMS forms in <div class="cms-content">, added LeftAndMain.Content.js to reload panels via ajax, hooking into preview logic 2011-07-08 15:36:44 +02:00
Ingo Schommer
2b56d2a8d8 FEATURE Preview panel to show CMS changes on actual website. Navigating in preview loads new page for editing in CMS. 2011-07-08 15:36:44 +02:00
Ingo Schommer
686f101925 ENHANCEMENT Toggleable panels in CMS 2011-07-08 15:36:43 +02:00
Sam Minnee
878b348a0f Merge branch 'master' into new-orm
Conflicts:
	docs/en/reference/built-in-page-controls.md
	model/SQLQuery.php
2011-05-26 17:08:10 +12:00
Will Rossiter
6956275d2e MINOR: css styles and formatting for left hand side menu bar. Altered the stylesheet structure to allow future admin scss theme files to be included easier 2011-05-20 11:29:40 +12:00
ajshort
1f6f7f0862 API CHANGE: Deprecated CompositeField->FieldSet() in favour of CompositeField->FieldList().
MINOR: Replaced usage of FieldSet with FieldList.
MINOR: Renamed FieldSetTest to FieldListTest.
2011-05-11 17:51:54 +10:00
ajshort
3f132a105b API CHANGE: Replaced DataObjectSet instances with ArrayList. 2011-05-05 20:40:24 +10:00
Ingo Schommer
40786cddd3 BUGFIX Allowing 'root' as ID parameter in LeftAndMain->getEditForm() (necessary for AssetAdmin root folders etc.) 2011-05-02 13:24:42 +12:00
Ingo Schommer
71bc87fa1e MINOR Making SiteConfig dependency optional in LeftAndMain->SiteConfig() 2011-05-01 22:30:53 +12:00
Ingo Schommer
9a595fbd25 MINOR Rendering DateField instances with button by default in CMS 2011-05-01 22:30:52 +12:00
Ingo Schommer
f8b38e9adb MINOR Moving _layout.scss include from screen.css into its own file, in order to selectively block layout options like body {overflow: none;} while retaining all other cms styles (useful in a dialog context) 2011-05-01 20:23:07 +12:00
Ingo Schommer
64692ccee6 API CHANGE Removed LeftAndMain->getitem(), use show() instead 2011-05-01 20:23:07 +12:00
Ingo Schommer
79e0634537 Merge branch 'cms-ui-preparation' 2011-04-28 22:48:02 +12:00
Ingo Schommer
0fd6924fe1 FEATURE Preview changes of page edits in CMS on website (through <iframe> sidebar) 2011-04-28 22:36:28 +12:00
ajshort
3a1c2df4e7 API CHANGE: Renamed DataObjectDecorator to DataExtension.
API CHANGE: Renamed LeftAndMainDecorator to LeftAndMainExtension.
MINOR: Replaced all references to decorators with extension.
2011-04-26 11:01:38 +10:00
Ingo Schommer
43491c2641 MINOR Reducing number of asset downloads by combining files in LeftAndMain->init() and including full jquery.ui.css instead of multiple @import statements 2011-04-25 21:36:51 +12:00
Ingo Schommer
2291d64c2c MINOR Disabled "welcome" message in LeftAndMain->RootForm() 2011-04-24 11:46:56 +12:00
Ingo Schommer
035b68fc32 MINOR Misc style improvements around batch actions and content tools display 2011-04-24 11:46:56 +12:00
Ingo Schommer
2c6e0c277b MINOR Adapted CMS batch actions form to work outside of tabset context 2011-04-24 11:46:55 +12:00
Ingo Schommer
f0f7f8aa75 MINOR Removed unnecessary 'actionsparams' class from LeftAndMain forms 2011-04-24 11:46:55 +12:00
Ingo Schommer
be68450ce1 MINOR Allowing NULL returns from getRecord() in LeftAndMain->getSiteTreeFor() 2011-04-24 11:46:54 +12:00
Ingo Schommer
1a9441ffc8 MINOR Removed jquery.fitheighttoparent from LeftAndMain->init(), handled by layout manager now 2011-04-24 11:46:53 +12:00
Ingo Schommer
0271652aa3 ENHANCEMENT Added default 'delete' action in LeftAndMain->getEditForm() if no other actions are set ('save' action was already present) 2011-04-24 11:46:53 +12:00
Ingo Schommer
3c544340ee MINOR Making canEdit() method optional on objects handled by LeftAndMain subclasses 2011-04-24 11:46:53 +12:00
Ingo Schommer
a2b39e55c1 MINOR Removed unnecessary "type" field from LeftAndMain->AddForm(), added generic styles for buttons 2011-04-24 11:46:51 +12:00
Ingo Schommer
f4cb6ae40f MINOR Renamed #sitetree_ul to .cms-tree in templates, removed #sitetree from contained <ul> (unnecessary duplication) 2011-04-24 11:46:51 +12:00
Ingo Schommer
ba4d7099bb ENHANCEMENT Using custom CMSEditForm to render LeftAndMain->EditForm(), in order to place (fake) tab navigation alongside the layout manager areas (outside of actual edit form) 2011-04-24 11:46:49 +12:00
Ingo Schommer
9da43d139a API CHANGE Removed support for CMSTopMenu_alternative template, use CMSMenu.ss in themes or project template folders instead
API CHANGE Renamed LeftAndMain->CMSTopMenu() to CMSMenu()
API CHANGE Renamed LeftAndMain->Left() to Menu(), used through LeftAndMain_Menu.ss templates (instead of LeftAndMain_left.ss) - in order to avoid presentational naming
API CHANGE Renamed LeftAndMain->Right() to Content(), used through LeftAndMain_Content.ss templates (instead of LeftAndMain_right.ss) - in order to avoid presentational naming
2011-04-24 11:46:48 +12:00
Ingo Schommer
8183cc7117 BUGFIX Checking file existence in LeftAndMain->init() for TinyMCE's content_css settings to avoid unnecessary clientside loading of files 2011-04-24 11:46:46 +12:00
Ingo Schommer
b273861591 ENHANCEMENT Implemented new jLayout layout manager, more expressive class names in LeftAndMain.ss 2011-04-24 11:46:46 +12:00
Ingo Schommer
dad6169f73 MINOR Using '.cms-edit-form' instead of '#Form_EditForm' selector 2011-04-24 11:44:17 +12:00
Ingo Schommer
fd0c38c175 MINOR Added sapphire/admin/scss folder and started SCSS file architecture 2011-04-24 11:44:16 +12:00
Ingo Schommer
c44deb03ab MINOR Moved existing CSS files from sapphire/admin/css to sapphire/admin/css/_old folder, for later reference. Blocking them from controller inclusion to prepare CMS UI redesign 2011-04-24 11:44:16 +12:00
Ingo Schommer
a423bd4e04 API CHANGE Removed LeftAndMain->setLogo(), use CSS instead 2011-04-24 11:44:16 +12:00
Ingo Schommer
cfaec05141 API CHANGE Removed LeftAndMain->setApplicationName() $logoText parameter, and LeftAndMain->getApplicationLogoText(), overload templates instead 2011-04-24 11:44:16 +12:00
Ingo Schommer
05f0ce3a21 API CHANGE Removed LeftAndMain->setLogo() $logoStyle parameter and LeftAndMain->LogoStyle(), use CSS 2011-04-24 11:44:16 +12:00
Ingo Schommer
e3928a0517 API CHANGE Removed LeftAndMain::set_loading_image() and LoadingImage(), use CSS 2011-04-24 11:44:16 +12:00
Ingo Schommer
11a3b86fef MINOR Removed jQuery.layout implementation 2011-04-24 11:44:16 +12:00
Ingo Schommer
b1f27b40ce MINOR Updated image references in sapphire/ folder to local files, rather than requiring cms/ folder (copied a bunch of images files over for this) 2011-03-29 21:34:26 +13:00
Ingo Schommer
b4affff38d MINOR Removed hard dependency on SiteConfig and VirtualPage in LeftAndMain 2011-03-29 18:20:14 +13:00
Ingo Schommer
9d742f02f2 API CHANGE Removed ?debug_firebug GET parameter, and related firebug-lite inclusion in LeftAndMain 2011-03-29 18:08:33 +13:00
Ingo Schommer
519f06219f MINOR Moved EditorToolbar from LeftAndMain to CMSMain 2011-03-29 18:08:33 +13:00
Ingo Schommer
358975ea0c MINOR Conditional checks on SiteConfig existence in LeftAndMain->init() 2011-03-29 18:08:33 +13:00
Ingo Schommer
5f59b3a3c9 MINOR Fixed paths due to file moving into sapphire/admin 2011-03-29 18:08:32 +13:00
Ingo Schommer
a1fb071b2b MINOR Moved LeftAndMain, SecurityAdmin, ModelAdmin and related functionality from 'cms' module to sapphire/admin 2011-03-29 18:07:59 +13:00