Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: New Option Types: Sortables #10

Closed
DangitRick opened this issue Feb 22, 2014 · 9 comments
Closed

Feature Request: New Option Types: Sortables #10

DangitRick opened this issue Feb 22, 2014 · 9 comments

Comments

@DangitRick
Copy link
Contributor

Scenario: A theme developer wants to give users the option of changing how posts' bylines are shown, right down to customizing the order of meta info such as author, post date, update date, # of comments, and so on, or whether any of those elements should be hidden.

It would be awesome if Titan included an option type which would facilitate this behavior. Users implementing options in Titan would have to specify that a sortable type is needed, along with an array of sortable objects (IDs, names, optional descriptions, visibility).

The GUI for this option would be a drag-and-droppable list which shows the name/description of each sortable object, along with a checkbox on each to save the visibility setting.

And when pulling that option from the database, theme/plugin devs would be given an array of all the relevant info, sorted according to the proper display order as chosen in the admin panel.

@bfintal
Copy link
Contributor

bfintal commented Feb 22, 2014

This would definitely be helpful. jquery-ui-sortable would help with this

@bfintal
Copy link
Contributor

bfintal commented Feb 22, 2014

This will be the sortable option

@DangitRick
Copy link
Contributor Author

Fantastic! Gonna include the ability to toggle the visibility of said sortables too?

@bfintal
Copy link
Contributor

bfintal commented Mar 5, 2014

Screenshot :)

Probably use the same styling for #43

@bfintal bfintal closed this as completed in d737918 Mar 5, 2014
@ardalann
Copy link
Contributor

ardalann commented Mar 6, 2014

I don't see it in the documentation

@bfintal
Copy link
Contributor

bfintal commented Mar 6, 2014

Cleared the site cache just now :)

@ardalann
Copy link
Contributor

ardalann commented Mar 6, 2014

Are you sure? It's not in there

@bfintal
Copy link
Contributor

bfintal commented Mar 6, 2014

@ardalann
Copy link
Contributor

ardalann commented Mar 7, 2014

Yep the link is added to all pages, the cache is refreshed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants