Dragonfly CMS v9 ⇒ Themes v9 ⇒ DF10 default theme in acp ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexThemes v9

DF10 default theme in acp Reply to topic

In this thread Nano states that "... no more custom themes for acp in v10."

This is not unexpected, nor am I going to raise objections as I did when it was 9.2.3. If a change of this type is to occur then clearly a main number version change (9 -> 10) is the best time.

If my module needs to adapt to use DF10 then so be it. But it has the potential to be a HUGE change, so I'd appreciate an early understanding of how this will work, so that I can prepare ...

In interests of common understanding, let's look at News. There are 2 ways to submit a story: through Submit News (user side) and Admin > Add Story (admin side). Different privileges available, different code = solid security. Both admin and user sides offer/require Preview, and this works for News as currently implemented (ie text only).

But what if the Preview also needs to support images, 'dynamic' CSS, javascript, etc? How does this get displayed in an admin Preview if the theme in use is always default for the acp? Templates by design separate the content from the display info, so we aren't just losing the niceties of image placement - which can still be important for fixed width themes. But it's not even possible to see the image to confirm it's the right one if the <img src="... code is only over in the user's custom template.

Asking user to create his theme modifications twice, once in his custom theme and once in acp is onerous work to place on the user, but worse requires custom alterations to the default theme.

So how is Preview to be accomplished in DF10?

Pro_News CM™ - Content Management for Dragonfly CMS™

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / 1.3.39 - 2.4.9 / 5.5.42 - 5.6.16 / 5.4.37 - 5.5.11 / 9.4

Just post the form to a userland preview with the prevtheme url flag?

Let me know how it goes.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS

All times are UTC

Jump to: