-
Notifications
You must be signed in to change notification settings - Fork 11
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
Request: Allow the galleries to be sorted by creation date #105
Comments
@luke- do you have a step-by-step somewhere or at least a quick breakdown of how you have things like this setup for testing/development? My current setup includes using docker for the php/mysql/apache setup. I then symlink the humhub modules directory for gallery to my fork of humhub-gallery. I mostly ask because things seem to be working but at the same time any changes I'm doing to the gallery aren't reflecting in the site (I just did some crazy add a Perhaps it's another ticket to update the DEVELOPERS.md file. |
Ok so I simply removed the symlink, it seems to have been the issue (php was likely not following the symlink). But now I have maybe a general Yii question. CustomGallery extends BaseGallery extends ContentActiveRecord ListController extends BaseController I attempted to simply update the Where I'm at (this is not exactly where this will land, but trying to learn before throwing real code for the PR)
|
@Kikketer Did you saw this page? https://docs.humhub.org/docs/develop/environment Unfortunately, I am not completely involved in the Gallery Module. |
I tried the instructions for the development setup but there was some issue with the php composer that failed to import the dependencies. I think the setup I have now works well enough, I'm able to build and debug. Yeah the "somehow give the relation" is the part I'm hung up on. I tried stuff like Thanks again for dealing with this "new to PHP developer". |
I'd like the ability to have the gallery items sort by created date instead of the arbitrary number assigned when created. I have a number of users creating the galleries and they aren't aware of what
200
means in sort order. Also we'd have to have the number slowly decrease which means you'd have to know what the most recent one is.Proposal is to allow the owner/admin of the gallery create a setting to have the sort-order default to created date of the gallery (not any images in that gallery, just the gallery itself).
With this setting set to "created date" and possible "descending/ascending" the current sort order input box would be hidden on the gallery creation screens.
The text was updated successfully, but these errors were encountered: