Hack request: CP Form

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
User avatar
santscho
Posts: 1368
Joined: Mon 2. Apr 2007, 08:56
Location: Singapore
Contact:

Hack request: CP Form

Post by santscho » Sun 22. May 2011, 10:04

Sorting form fields in the backend is not very comfortable, especially if you have many fields and you need to move one from bottom to top. I would say, it is a torture.
Would it be difficult to replace the "arrow up/down" sort function with a "drag'n'drop" sort function. (Similar to the sort function of casaloca's mediaplayer mod). Have no clue how to do that.
Schon Konfuzius sagte: "Sei kein YAML-Lappen". YAML-phpwcms-Integration auf http://www.yaml.phpwcms.org

User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: Hack request: CP Form

Post by baklavoni » Fri 10. Jun 2011, 20:41

santscho,
I totally agree with you.
Hope it will be done...?
There is no page like home page...

User avatar
Jensensen
Posts: 2995
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Hack request: CP Form

Post by Jensensen » Wed 15. Jun 2011, 21:50

you better could try: http://code.google.com/p/phpwcms/issues/list

i do agree, with you.
on the other hand, the field order in the CP is not important by using custom templates.
as far as i remember, the html output will be determined by the arrangement of labels and fields in a custom form template.

a) add any field to the CP as you want.
b) to get a certain order, edit the custom template, add labels and fields the way you need.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.

User avatar
update
Moderator
Posts: 6394
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Hack request: CP Form

Post by update » Thu 16. Jun 2011, 11:17

Jensensensensen is absolutely right. While it is a pain in the a.. to rearrange form entries it is working out really well for custom templates, where any rearrangement can be done easily.
Whether you are using fieldsets and labels or doing it "the normal way" doesn't matter, but fieldsets are a nice way to style your form...
It's mostly all about webdesign, logo design, new and old pages refresh, print BUT slowly switching to be supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.

Post Reply