• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 24.01.18, 04:32
  • Opened by: Julien
  • Closed by: Marek
  • Closed on: 24.01.18, 14:03
  • Reason: Closed
  • Comment: Glad to help!

Ticket #11489 - Alysum - Position of posts in Xpert blog

Dear Marek,

How can we change the position of posts in your Xpert blog module? Can’t find any option to do so…

Thanks in advance for your support,

Julien

Comments

Marek 24 Jan 2018, 09:49

Hi, Julien.
Unfortunately there is no way to do the in the settings. But you can do that directly in the module code
Open the file /modules/xipblog/xipblog.php
Do the following:http://media.promokit.eu/screenshots/monosnap/scr_20180124_094612.png

Julien 24 Jan 2018, 10:13

Hi Marek,

Thanks for your quick reply.

I was not really trying to change the sorting from DESC to ASC, but more in changing the position of a single post. Example: if the owner of the shop wants to take an older post and move it to the top again, etc.

Cheers,

Julien

Marek 24 Jan 2018, 11:17

There is only one way in this case, and it’s also not easy. Open your phpMyAdmin and do the following

Julien 24 Jan 2018, 11:36

OK, that works for me. It would be more convenient to be able to do that directly from the Module control panel in the backend of Prestashop, but I can certainly go through PHPMyAdmin to do it. No worries.

Thank you!

Marek 24 Jan 2018, 11:39

We are going to replace xipblog with new blog module in future