arbitrary sorting of blog posts or preserving original order

Permalink Browser Info Environment
Hello, my copy of ABblog (v.1.0.1) works fine, but I have a problem, that whenever I edit the content of a particular blog post and press "Update Blog Post", it automatically re-orders the posts, so that the recently edited one comes first.

This is often undesirable, as I would like to preserve the ordering as it was (sorted by the original publishing date), or maybe even better, have to possibility to arbirarily reoder the blog posts. Is this possible and which is the simplest way to do it (preferably even by a non-admin user who has rights to publishedit blogposts).

Would updating the ABblog version to a newer one help? I'm still on C5 v8.5.2., so I don't know which version is the latest usable for me. What would be the safest way to upgrade? (so that it would preserve my existing blog contents)?

Type: Ticket
Status: In Progress
jtre
View Replies:
linuxoid replied on at Permalink Reply
linuxoid
Hi.

You're right, it only sorts by the publish date which is updated on each save of the post. I've fixed that in the latest version but it's only meant to be for Concrete CMS v9. I'll add that Setting to preserve the original publish date for the v8 version.

Regards,
Alex
linuxoid replied on at Permalink Reply
linuxoid
Please upgrade to Blog v1.1.2 and tell me if that's ok. Thank you.
jtre replied on at Permalink Reply
jtre
Wow, that was quick! Thanks for swift response, and sorry for the newbie question: how do I update the blog add-on?
I went to Dashboard->Extend Concret5->Update Add-ons, it says "No updates for your add-ons are available."
In "Add Functionality" I can click on AB Blog Details button, which brings me to a page that has a red button "Uninstall Package" which I obviously don't want to do.

Is there another way how to do it without losing content already created?
linuxoid replied on at Permalink Reply
linuxoid
The Concrete CMS update system never worked for me so I've always updated and upgraded by uploading packages and new versions to the server.

To update the package:
1. download v1.1.2 from your account
2. either unzip and then upload through FTP or upload to the server and then unzip
3. update the package in the Dashboard

I unzip and then upload the package folder to the server /packages folder through FTP.
jtre replied on at Permalink Reply 1 Attachment
jtre
Thanks for clarifying, I just don't seem to have the download link available in My Account screen (or anywhere else I looked), the only download I can access is for the other blog add-on, which I actually don't use at all... (see attached screenshot)
I must be missing something, since I can't see download link even for the other add-on, that are in use on my web site (such as the Staff Directory).
Do you have any ideas, how to get to the update package (I mainly need the the AB blog for now though, the others are now really necessary).
linuxoid replied on at Permalink Reply
linuxoid
Strange that it has the Details button and not the Download Archive. When you press the Details what does it say? Can you ask the Concrete team why there's no download link available? It should be there.
jtre replied on at Permalink Reply
jtre
The screenshot I sent was exactly displaying how it looks after I press "Details" button on the side of the name of the add-on (AB Blog in this case). It only displays the purchase date and to which project is it assigned to.
I might try to reach out to C5 devs - do you mean try asking in the official forums?
Is there any other way how to get to the updated installation package?
linuxoid replied on at Permalink Reply
linuxoid
Something's wrong with the update system, maybe because of the recent changeover to the new version. Yes, please ask at the Forum and also contact the Concrete CMS directly.
jtre replied on at Permalink Reply
jtre
Hi again,
I've been trying to get some help on the C5 forum, and so far the last reply (thread:https://forums.concretecms.org/t/updates-of-add-ons-not-available-fo... seems to be potentially useful, suggesting the I should unassign the add-on license from my website and then download the package manually.
I think I can do it, but I want to confirm with you (as a developer of the add-on), that it is safe to do and the content which is already in the blog will be preserved when I unassign the license, update the package and reassign the license again - you surely understand that the content which the users have uploaded so far is important...

So would this be a safe process?

Thanks
linuxoid replied on at Permalink Reply
linuxoid
Hi.

Theoretically the process is safe because the license or package installation or its update don't change the content. But I can't stress enough that before you proceed, please do the site and database backup so that if something does go wrong you can easily restore it to the last state.
jtre replied on at Permalink Reply
jtre
Great, thanks for confirmation, I will absolutely make the built-in database backup, as well as VMware snapshot in order to be able to revert the changes if anything goes wrong.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.2
Version Installed - 8.5.2
Database Version - 20190925072210

# Database Information
Version: 10.3.25-MariaDB-0+deb10u1
SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
AB Blog (1.0.1), Background Image and Overlay (0.9.9), Cloneamental (0.9.3), File List Pro (1.1), Info Box Grid (1.8), Ronyd Expanded Search Bar (2.0), Staff Directory (1.1.8), SVG Social Media Icons (0.9.9), Wall Gallery Suite (1.2)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
apache2handler

# PHP Version
7.3.29-1~deb10u1

# PHP Extensions
apache2handler, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, sodium, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 16M
upload_max_filesize - 8M
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.