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.112 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started