Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[SOLVED] Problems with ordering wizard 05 Jan 2012 00:12 #820

I don’t know if I misconfigured something but I’m facing 2 problems when using the ordering wizard:

(1) In the grid of the backend collection layout the ordering buttons are not working. When I press any of them I receive a blank error message. When I manually change the ordering number and press the save order button items are reordered properly.

(2) Also in the grid of the frontend collection layout the ordering buttons are not working. When I click a ordering button it doesn’t change the item order and redirect me to a different layout – the default table collection layout. To make the situation worse in the frontend I doesn’t have a save order button to manually change the items ordering number.

The component I’m developing is com_demo1567, and the layouts I expected the ordering wizard to work are:
* Backend “Items” (view=newsletteritems)
* Frontend “Front Grid Items” (view=newsletteritems&layout=fgriditems)

Thanks again for your attention and patience.

Please Log in or Create an account to join the conversation.

Problems with ordering wizard 09 Jan 2012 00:17 #911

Well, I discovered some things in the situation I described but now I'm without time to describe all of them. But the major problem in the ordering wizard happened because I changed the name of the column related to the ordering wizard from 'ordering' to 'order'.

Today I discovered that the ordering through the buttons on the items lines only works in the column 'ordering'. So this is the major tip: if you plan to order your items in a grid DON'T CHANGE DE ORDERING COLUMN NAME. And don't use this name to represent any information in your application domain.

Tomorrow night or tuesday I'll try to post the others problems I found. Now I'm too sleepy.

Please Log in or Create an account to join the conversation.

Re: Problems with ordering wizard 12 Jan 2012 10:43 #953

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I check this.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Problems with ordering wizard 14 Jan 2012 10:13 #976

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
You are totally right, the field MUST be name 'ordering'.

Since 1.4.8, you cannot anymore set a different field name, but for projects started before, you MUST change the name.


Others problems are solved since 1.4.8.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.058 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started