Sortable columns in app's admin view

I coded my app's admin handler and view to allow users to click on the column titles to sort each ascending or descending. It works fine, but their selections weren't getting passed to the next/previous page, so I added

Comments

If you'd like to submit a change like this to be included in Elefant, a quick way of doing that with small changes is to find the file on Github (e.g., apps/navigation/handlers/pager.php and click on the Edit button in the top right of the source view.

That will automatically create a fork of the project on Github, allow you to edit the file right inside the browser. Afterwards, you would make a "pull request", which submits the change back to the main project for review :)

Thanks for the help. Specifically, I'm wondering how to get from where I am currently to where I ought/want to be. Where I am currently: I installed elefant via git from the command line, but I didn't fork it or create a repository at that time. I installed the apps I'm using (sitemap.xml, assetic) by downloading zip files, unzipping, and copying to the elefant directory.

Would it make sense to tell git that my forked branch is the new master?

For the apps, I guess the thing to do is reinstall using git? And then diff the files to find any changes I had made? I don't think I had made any to anything other than the filemanager embedded gallery and the navigation handler, but it wouldn't hurt to check.

It's probably best to start with a new clone of your forked repository and work in that. Definitely diff the two to make sure you aren't accidentally throwing away changes you've made. And I recommend using git clone for apps too, so you can manage changes to them with git as well.

OK, so if I start over and git clone my forked repository, sitemap.xml, and assetic, should I also git clone my properties app? Or should I just copy or move that from my current install? I followed the steps you outlined in your blog post.

If you ran git init or cloned your properties app before, you can just copy it over and it'll work fine already. I do recommend using git for your own apps too, and pushing to Github or another remote repository gives you a backup too.

For private repositories, BitBucket offers free hosting like Github does for open source ones. It's not quite as nice, but works just fine for hosting private projects for free :)

OK, I git cloned my fork of elefant in an empty directory, then diffed and manually updated the files there from my previous working directory. However, when I navigate to the new directory in a browser, elefant wants to run the installer. How do I tell it that it's already installed? Or is it safe to let the installer run?