× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Item Ordering

9 年 10 个月 前 - 9 年 10 个月 前 #569 Nancy Anderson
Replied by Nancy Anderson on topic Item Ordering
Philip Walton and I are also experiencing the same fatal error. The world is very small, my component is named the same as Alex's. 

Fatal error: Can't use method return value in write context in  "path"/components/com_sails/models/orders.php on line 146

PHP Version    5.3.29
Joomla! 3.3.6 Stable
Last edit: 9 年 10 个月 前 by Nancy Anderson.

Please 登录注册一个帐号 to join the conversation.

9 年 10 个月 前 #570 Alex Connor
Replied by Alex Connor on topic Item Ordering
Hi Nancy,

I saw your post describing this same error, although the suggested solution on stack overflow that was posted in response to your query was a bit beyond my skills so I wasn't able to fix my issue that way.

I did find however that you can get the custom component working if you adjust the code as mentioned in my previous comment. I'd best mention that I don't know the full extent of what else could happen as a result of this change, it's entirely possible that other functions of your component could be affected as well.

However, using this change I was at least able to get my list view to show up.

My main issue now is that I cannot rearrange the order of the records of the front end using the drag and drop method mentioned in this thread. This may be a result of the above mentioned code change, I don't know.

My research suggests that the main core of this problem lies in php incompatibility with the code, although you probably already know this.

I just want to be able to rearrange the order of the records in my list view. There used to be an easy drag and drop method to get this done, now it doesn't seem to do that any more.

Please 登录注册一个帐号 to join the conversation.

9 年 10 个月 前 #571 Søren Beck Jensen
Replied by Søren Beck Jensen on topic Item Ordering
We are looking into this issue and should be able to update you later today.

Søren Beck Jensen
Founder, Component-Creator.com

Please 登录注册一个帐号 to join the conversation.

9 年 10 个月 前 #572 Victor
Replied by Victor on topic Item Ordering
Hi, I'm Victor,. back-end developer of Component Creator.

We have updated our code to fix the issue you were experiencing. I have tested the components affected and they work properly. Let me know if you find more issues related.

Regards

Back-end developer on Component Creator

Please 登录注册一个帐号 to join the conversation.

9 年 10 个月 前 #573 Philip Walton
Replied by Philip Walton on topic Item Ordering
I have just hit build and overwritten my previous component and all is well now.
I will post int he other thread as well so people know this is now fixed.
Thanks

Please 登录注册一个帐号 to join the conversation.

9 年 10 个月 前 #575 Alex Connor
Replied by Alex Connor on topic Item Ordering
Hi Victor and Soren,

Thanks again for your help on this - great support on here!

However, I am still finding that I am not able to rearrange the order of my list using the drag and drop method.

I mean, I can of course rearrange the records in the admin area, but ideally it would be great if these custom orders would also be reflected in the front end list view.

Hope this makes sense!

Regards

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.056秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.