Damian Mooyman
91596197ee
FIXED: Issue where translation of siteconfigs would create additional objects.
...
ADDED: Test case assertion
FIXED: Coding convention
2012-09-07 17:08:49 +02:00
Damian Mooyman
1120f2974e
FIXED: Crash during dev/build on new database construction
2012-09-07 17:08:48 +02:00
Damian Mooyman
a3b3ec8c4e
FIXED: Issue where $enable_siteconfig_generation flag was not being set correctly, causing failed test cases_
...
FIXED: Duplicate entries in test database
2012-09-07 17:08:48 +02:00
Damian Mooyman
405fa7e3cf
FIXED: Allowed hidden "Locale" field to exist in the CMS form for SiteConfig (and other data objects)
2012-09-07 17:08:48 +02:00
Damian Mooyman
9978765abc
UPDATED: Refactored Translation module specific code out of the SiteConfig
2012-09-07 17:08:48 +02:00
Ingo Schommer
670575c18a
Merge pull request #49 from creamarketing/pages-overview-redirect
...
BUG: redirect to pages overview not working from page edit view
2012-09-06 13:37:14 -07:00
Niklas Forsdahl
451576f36d
BUG: redirect to pages overview not working from page edit view
...
The redirect to pages overview was not working because the pages overview and page edit views
share the same session namespace, and therefore the checks to see if we need to redirect to
pages overview (i.e. if there is a translated record for the current page) matched also for
the redirected request.
Fixed by checking if we already are on the CMSPagesController before redirecting to it.
2012-09-03 14:40:46 +03:00
Niklas Forsdahl
1c40751d51
BUG: double ajax request for page editing in default locale
...
When editing a page in the default locale, a double ajax request was done for the editing page.
This was caused by no locale-parameter being set in this case, which caused the default locale
parameter to be added and a new ajax request was made due to this. The extra ajax request caused
the loading-animation to appear after the edit page was loaded, which looks weird.
Fixed by doing a redirect immediately the CMSPagesController is loaded and no locale is set, so
that the default locale parameter gets set at this stage.
2012-09-03 11:10:54 +03:00
Ingo Schommer
c3c9f1f83f
BUG Correct GET param name on context menu page add ( fixes #45 )
2012-08-23 23:06:06 +02:00
Ingo Schommer
f404ad3325
Correct CSS classes for LanguageDropdownField
...
Chosen wasn't applying because the field holder
didn't have ".dropdown" on it
2012-08-16 23:30:31 +02:00
Ingo Schommer
1eb107bbaf
BUG Setting locale on new pages form
...
Previously creating a new page in non-default locale wasn't
allowed due to this bug.
2012-08-16 09:30:59 +02:00
Ingo Schommer
7d9a802073
BUG Use new ORM methods ( fixes #42 )
...
This subtly changes the caching behaviour
where get_one() calls are replaced, results
will be no longer cached. There's no built-in core
way to cache DataList results, so for now we accept
that there's less caching due to this internal change.
2012-08-14 11:25:00 +02:00
Ingo Schommer
6d7700f8f6
BUG Fix admin/myprofile saving
...
Ignore the extension's init() method being called on
LeftAndMain base class,
which is the case when requests are first routed through
AdminRootController
as an intermediary rather than the endpoint controller
2012-08-14 11:22:42 +02:00
Ingo Schommer
4f433155f1
BUG Check for extensions on record in CMS ( fixes #41 )
2012-08-13 10:06:12 +02:00
Roland Lehmann
6d7647787e
replaced DataObjectSet with DataList as a default value of a function argument
2012-08-11 23:02:35 +02:00
Roland Lehmann
06bb08b594
Added translations for en, en_GB and german
2012-08-11 06:44:33 +02:00
Damian Mooyman
d846a72d39
FIXED: Error where uninitialised Locale field would crash queries. This is noticeable during full text search, when full model fields might not be initialised.
2012-08-09 15:40:11 +12:00
Ingo Schommer
c80f366dd6
BUG Avoid redirecting with duplicate ?locale param
2012-08-07 23:01:39 +02:00
Ingo Schommer
13002cef9f
Merge pull request #38 from creamarketing/create-translation-redirect
...
BUG: Site tree sidebar not updated when creating a new translation
2012-08-07 13:58:40 -07:00
Ruud Arentsen
5b38cc31b8
Translation of SiteConfig
...
Fixed editing of translated configs, and added a link for the 'add
translation' not working for siteconfigs
2012-08-06 09:39:46 +02:00
Niklas Forsdahl
eaa5555dfc
BUG: Site tree sidebar not updated when creating a new translation
...
The site tree sidebar was not updated when creating a new translation,
due to only CurrentForm and Breadcrumbs fragments being updated by default.
Fixed by explicitly setting the X-Pjax response header to Content on
translation creation.
2012-08-03 13:31:47 +03:00
BLU42 Media
de3e0b0590
remove PR_MEDIUM from _t() call in providePermissions() function
2012-07-18 15:11:25 -07:00
Ingo Schommer
7e1b7a6240
BUG Redirect on mixed locale/record URLs
...
Avoids e.g. the pages tree showing two languages at once.
2012-07-16 23:35:28 +02:00
Ingo Schommer
1a4b284b32
Fixed deprecated function usage ( #33 )
2012-07-04 18:00:45 +02:00
BLU42 Media
01a61f48a4
fixed typo in function call
2012-07-02 16:03:36 -07:00
Ingo Schommer
f1deebe975
BUG New add_to_class() ext registration compat with 3.0
2012-06-29 15:00:11 +02:00
pasinter
2662571607
bugfix - use $form->getName() instead of deprecated $form->Name()
2012-06-14 22:54:25 +12:00
Ingo Schommer
610874755c
BUGFIX 3.0 compatibility: Query manipulation, CMS links, separation of settings fields, new place for language selector on tree
2012-05-15 23:04:57 +02:00
Chris Bryer
baa7566933
modified MetaTags function to provide absolute links instead of using normal Link() method. This improves compatibility with the Translatable-Domains module and would provide accurate alternate href's to other locales that use different subdomains or TLD's.
2012-02-22 22:44:03 -05:00
Sebastian Mares
658cac4df6
Copy values to keys in updateCMSFields' $alreadyTranslatedLocales since it's later used by LanguageDropdownField to exclude languages for which a translation already exists and LanguageDropdownField operates on array keys.
...
Also removed unused index/key variable $i from foreach loop that displays the existing translations.
2012-02-12 21:58:28 +01:00
Ingo Schommer
edcb9ae582
BUGFIX Added Translatable->updateSettingsFields(), fixed related unit test
2011-05-02 08:30:40 +12:00
Ingo Schommer
7348ce7077
MINOR Subclassing from DataExtension instead of DataObjectDecorator
2011-05-01 22:29:20 +12:00
Ingo Schommer
181bb07f4c
BUGFIX Fixed createtranslation action (broken after moving to extension)
2011-03-23 10:15:49 +13:00
Ingo Schommer
e40b5f909b
MINOR Fixed @package
2011-03-23 10:15:23 +13:00
Ingo Schommer
2a3cc650dc
MINOR Initial commit, moved files from 'sapphire' and 'cms' modules
2011-03-22 22:18:48 +13:00