Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Problems with ordering wizard

[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.
The administrator has disabled public write access.

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.
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I check this.
Coding is now a piece of cake
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
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
The administrator has disabled public write access.
Time to create page: 0.093 seconds

Get Started