Giter VIP home page Giter VIP logo

statamic-pagereorder's People

Contributors

jannisg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bliswebagency

statamic-pagereorder's Issues

Reordering Child pages of Child Pages

When reordering child pages of another child page, extra folders are being created.

Before reorder:

before-screen

After page reorder through the control panel:

screen-shot-2015-05-15-at-9 08 03-am- 2

respect displayed state of child pages

When reordering entries in the dashboard the child pages for entries that have then reopen if they were closed. It would be nice to respect the display state of the entries and keep them closed if they were originally closed.

Doesn't seem to work in v1.5b8

Unless I'm doing something wrong it doesn't seem to work in v1.5b8 but from the looks of things you're probably aware of that.

Not an issue, just an idea

Sorry, this is not an issue, just an idea.

Currently if we need to change the position number of entries (when not ordered by date) we have to (1) open the entry, (2) change the position field and (3) save and fix the numbering conflicts since now we have number duplicity. Quite puzzling and annoying for the user. It would be 100 times better and smarter to have a drag and drop mode to quickly change the ordering of entries. In my projects, ordering entries are always more important than ordering pages. That because the webdesigner is supposed to create the layout, which includes the page ordering. 90% of clients are never like: "Oh, I think I want to put the About Us page first". Usually they don't even think about page ordering. But the entries are inserted by the client, so he should be able to quickly reorder them as he pleases. For example, reorder the slides in the home page, or a restaurant manager reorder dishes in the food menu page.

Installation has no effect

Running Statamic 1.5RC1. Installation has no effect on the Pages area of the CP. Tested in Chrome 27.0, Safari 5, Firefox 20.0. This is all on a local MAMP server.

Screenshot of my install, in /_add-ons/:

pagereorder

Let me know if I've done it incorrectly, thanks!

Please add subpage reorder

Hi.

It would be awesome to be able to reorder subpages.

My client wants to reorder pages, but the only possibility is to alter the slug.
Which is not very usability friendly.

Wouldn't this be easy possible trough grabbing the foldername number of the subpage and alter this number trough the reorder plugin?

Thank you

Ajax error

I'm trying to use the add-on with Statamic 1.7.3, but it's throwing a javascript error and won't save. Any idea what might be causing this?

screen shot 2014-03-27 at 14 02 39

Thanks!

Statamic in subfolder not accounted for in hooks.pagereorder.php

Tried build 0.3.0 on Statamic 1.10.3 with Chrome 40.0. Statamic installed in a subfolder.

After accounting for the subfolder problem in issue #9 reordering childpages worked fine, but I got an error if I tried reordering the top level folders. The error was cast at line 150 in hooks.pageredordering.php.

I managed to fix it by changing line 91 from:

        if ( isset($page->url) && $page->url == $url ) {

To:

        if ( isset($page->url) && substr(Config::getSiteRoot(),0,-1).$page->url == $url ) {

The substr is there to remove an extra /. There is probably a nicer way of doing this, but should give you an idea.

Love the add-on! :)

Statamic in subfolder not accounted for in javascript

Tried build 0.3.0 on Statamic 1.10.3 with Chrome 40.0.

After dragging and dropping a page in the control panel I get the error:

There was an error saving your page order. Please try again.

In the console I get the error:

POST http://localhost/TRIGGER/pagereorder/reordersubpages 404 (Not Found)

The correct path when i have it installed in a subfolder should be:

http://localhost/subfolder/TRIGGER/pagereorder/reordersubpages

Need som extra magic on line 111 in jquery.page-reorder.coffee that account for the site root I presume :)

Improve handling of leading zeroes

Is it possible to limit the number of leading zeroes based on the number of pages/entries in the current context? In other words, having only a single leading zero (01-) rather than several (0001-) when there are under 100 pages. (And so on.)

It's an aesthetic issue, to be sure. But then, that's why we got in this racket in the first place :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.