reorder page attributes || create page attribute sets ?
Permalink
I noticed it's possible to reorder user attributes and that affects the order in which they display on the register page. Very cool.
I'm wondering about the same thing for page attributes, and how this might correlate to attribute sets. I noticed that some packages create their own attribute set upon installation, and within that set it's possible to reorder the attributes. But if I apply those to a page type that order is not reflected in the properties listing. Also, the core attributes cannot be reordered.
Any tips on making this work? I'd like to create some page types and use a bunch of attributes to standardize data entry.
Thanks!
I'm wondering about the same thing for page attributes, and how this might correlate to attribute sets. I noticed that some packages create their own attribute set upon installation, and within that set it's possible to reorder the attributes. But if I apply those to a page type that order is not reflected in the properties listing. Also, the core attributes cannot be reordered.
Any tips on making this work? I'd like to create some page types and use a bunch of attributes to standardize data entry.
Thanks!
Hi did you ever find out if it was possible to add Attribute Sets through the dashboard?
Or if you could re-order the items within the "Other" attribute set other then date added
Or if you could re-order the items within the "Other" attribute set other then date added
No.
I don't think this is possible yet. Reordering page attributes is probably my #1 request for c5.
I don't think this is possible yet. Reordering page attributes is probably my #1 request for c5.
Hi
We have had the same issue...
And it is very frustrating that the order change. Even if you add new attributes it is not necessarily in that order.
One of my developers say that the order is changed somehow. I don't really know why... But You can fix the order in the database using phpMyAdmin. Goto the "operations" tab and then "Alter table order by"... then it should be reset to order correct.
But it is not an optimal solution only a workaround ;-)
I strongly hope that future version will include some kind or sorting... It is high on our wish list too.
We have had the same issue...
And it is very frustrating that the order change. Even if you add new attributes it is not necessarily in that order.
One of my developers say that the order is changed somehow. I don't really know why... But You can fix the order in the database using phpMyAdmin. Goto the "operations" tab and then "Alter table order by"... then it should be reset to order correct.
But it is not an optimal solution only a workaround ;-)
I strongly hope that future version will include some kind or sorting... It is high on our wish list too.
NOTE: Do *NOT* do what Brian1961 suggests!!!
Going to "operations" and then "Alter table order by" in phpMyAdmin is absolutely not going to fix this issue for you. It might even cause other problems because you're changing the table structure which some concrete5 code may be relying on the be set up a certain way!
You never need to alter the STRUCTURE of the database in concrete5 -- you would only change the DATA inside some of the tables (if at all).
But as far as I can tell, there is no such field to change, and I couldn't find any place in the code where it is actually sorting on any internal number that's stored in the database or anywhere else, so for the time being I think we're S.O.L.
Going to "operations" and then "Alter table order by" in phpMyAdmin is absolutely not going to fix this issue for you. It might even cause other problems because you're changing the table structure which some concrete5 code may be relying on the be set up a certain way!
You never need to alter the STRUCTURE of the database in concrete5 -- you would only change the DATA inside some of the tables (if at all).
But as far as I can tell, there is no such field to change, and I couldn't find any place in the code where it is actually sorting on any internal number that's stored in the database or anywhere else, so for the time being I think we're S.O.L.
Is there any solution for that ?
I really need to sort the attributes but I can't do it :s
Thank you for your help.
I really need to sort the attributes but I can't do it :s
Thank you for your help.
Try using the Composer tool. It allows you to assign and reorder page attributes to page types.
It still would be nice to be able to reorder the attributes on a regular page or page type... I heard a rumor this might be in the 5.5 release.
It still would be nice to be able to reorder the attributes on a regular page or page type... I heard a rumor this might be in the 5.5 release.
I think one thing to point out to anyone finding this at a later date Make sure you add TinyMCE TextArea attributes first before adding images, as adding an image attribute and then a tinymce TextArea appears to break the form.
Replacing an image adds an image link to the TextArea and does not replace the image attribute.
A work around is to "clear" the image first and then re-add the image.
Replacing an image adds an image link to the TextArea and does not replace the image attribute.
A work around is to "clear" the image first and then re-add the image.
I did it going to 'AttributeKeys' table and there reordering my custom attributes changing the field 'akID'.
:)
:)
BTW, notice that you will have to unassign all the attributes assigned to page types before changing it on the table, otherwise their relation with page types will become unconsistent :)
Ok, forget what I said.
The attributes order themselves in the same order you created them, I don' know how to change that, but Im gonna work on it now!
The attributes order themselves in the same order you created them, I don' know how to change that, but Im gonna work on it now!
Oh, ok. You just have to reorder the table executing:
ALTER TABLE `AttributeKeys` ORDER BY `akID`
¿Is this alright?
ALTER TABLE `AttributeKeys` ORDER BY `akID`
¿Is this alright?
I know jordanlev said it is not correct to do it.
I don't see what could happen ...
In fact, the only impact is that attributes print in a different order (just what I needed :D)
I don't see what could happen ...
In fact, the only impact is that attributes print in a different order (just what I needed :D)
I'm wondering
1) is there a way to rearrange the order in which custom page type attributes appear in a page's properties panel?
2) is there a way to create page attribute sets through the dashboard?
Any ideas will be greatly appreciated!