WebSite X5Help Center

 
Malcolm P.
Malcolm P.
User

Object numbering for responsive layout  en

Autore: Malcolm P.
Visite 1404, Followers 1, Condiviso 0  

Is there any way to renumber the objects on a page, other than by completely recreating that page in the desired order?

I have a page which has been modified during development so that it now contains four columns comprising 13 rows each (Day, Time, Course and Shopping Cart). Consequently, the object numbering is no longer sequential (see attached partial screenshot of the responsive layout). 

At full screen size this makes no difference, and the layout is controlled at all other breakpoints bar the lowest by setting the relevant display order. However, at the lowest breakpoint, the objects then automatically display in pre-numbered sequence with no option of modifying this, which results in the columns losing sync with other so that the courses no longer relate to the appropriate days or shopping cart link etc.

Is there any other way of dealing with this, or am I forced to redo the page from scratch to achieve the required object numbering? The only workable layout for the lowest breakpoint would be (Row 1) Day 1, then (Row 2) Time, (Row 3) Course, (Row 4) Shopping cart etc.  I have looked at the help page but am not sure that setting object blocks would work in this particular instance, though would be happy to be corrected on this point.

I would be very grateful for any suggestions or further guidance in dealing with this problem.

Many thanks.

Postato il
7 RISPOSTE
JJ. JUAG
JJ. JUAG
User

Yes, if you are in the responsive setting (lower icon on the top right) at 4 pages "Create the pages"
By arrangement, you can adjust the order of the objects and show or hide line breaks, then look for each new breakpoint, and adjust until everything is ok.
The possibilities per break are displayed!
Tables are not wrapped (or only with additional code).

JJ.
See also the help in WEbsitex5.

Leggi di più
Postato il da JJ. JUAG
Malcolm P.
Malcolm P.
User
Autore

Thank you for taking the trouble to respond, but unfortunately I think you have misunderstood my description of the issue.

The problem is NOT that you can't adjust the display order in the higher breakpoints as you suggest - this works satisfactorily. The difficulty is that the lowest breakpoint automatically and without option displays the objects linearly and in order of their original object numbering, which appears to be the order in which they were first created/placed on the page. There seems to be no (obvious) way to change this original numbering.

Taking the previous attachment as an example, it is simple to set the display order so that the integrity of the rows is maintained for all breakpoints except the lowest (e.g. Line 2 continues to display objects 42-4-5-7 in that order with decreasing viewport size). However, once the lower limit is reached, the display automatically switches over to full linear display using the original object numbering. Columns 2 & 3 continue to display in the correct sequence (Objects 4,5, then 8,9 etc, but Column 4 (Objects 30-40) then drops down below the middle two columns, with Column 1 (Objects 41 - 46) then dropping further down below Col. 4, completely destroying the original row integrity.

This is the problem: there needs to be either some way of over-riding the automatic linear display for the lowest breakpoint, or of changing the original X5-generated object numbering. At the moment the only way I can see of doing this is to recreate the page completely with the objects added in their desired linear order, which I would rather avoid if possible.

Leggi di più
Postato il da Malcolm P.
JJ. JUAG
JJ. JUAG
User

Since we have not been able to observe this in our projects so far, someone who has already made this experience, or Incomedia, should answer.

JJ.

Leggi di più
Postato il da JJ. JUAG
Incomedia
Claudio D.
Incomedia

Hello Malcolm P.,

The display order can only be set for the first breakpoint and then all the other breakpoints uses this order and once reached the last breakpoint they are automatically shown on one column which follow the order set in the first breakpoint and there is no option to override this order for the lower breakpoint.

The columns 30-40 are moved because of the line break since once reached this breakpoint there is not enough space to show all the objects on the same row and since these have the highest numbers, are automatically moved below.

Many thanks!

Leggi di più
Postato il da Claudio D.
Malcolm P.
Malcolm P.
User
Autore

Hi Claudio,

Thank you for your reply, and I agree with you on the display order settings for the first and following breakpoints other than the lowest. However, can you please clarify your following statement, as this appears contrary to both my understanding from your documentation and the page behaviour:

"... once reached the last breakpoint they are automatically shown on one column which follow the order set in the first breakpoint ..."

That is certainly the position for all breakpoints other than the lowest (480px), however that is not the issue. The help page states that objects in the lowest breakpoint are automatically arranged in linear order, this order being the sequence in which the objects were originally generated/placed on the page.

You then state "... since these have the highest numbers, are automatically moved below.", which appears to contradict your previous statement and to confirm the forced behaviour for the lowest breakpoint.

In this instance, the original page was subsequently modified so that further objects (objects 30 - 46 in the 4th and 1st columns) were added at a later date and are therefore out of numerical sequence for the page display. This is not a problem where the display order can be set as in the higher breakpoints, but fails where the lowest breakpoint is concerned as X5 then forces a single-column display in the original linear numbering sequence for that breakpoint.

What seems to be needed to get around this is a facility either to change the individual object numbers post-layout or to overide the forced linear ordering for the lowest breakpoint.

I hypothesize that it should be possible to renumber the objects as necessary for correct display in the lowest breakpoint by completely recreating the page with objects added in the desired final order, however this involves a significant degree of additional work and will again fail if any future objects are added to the page. I am hoping there might be a simpler solution which is also more future-proof.

I hope that details the specific problem more explicitly and would be grateful for your further advice.

Many thanks.

Leggi di più
Postato il da Malcolm P.
Incomedia
Claudio D.
Incomedia

Hello Malcolm,

I meant in the lowest breakpoint all the objects are always shown one under the other and it is not possible to have them on the same row.

The statement is true if you don't change the order since the order of the objects comes from the order you added them on the page but if you modify the order in the responsive then these will follow the set order starting from 1 and going below.

Unfortunately at the moment this is the only solution since the order is only set at the begin and this one is kept for all the other breakpoints.

In any case I would like to suggest that you open an "Idea" Post where you describe to us the feature you would like to see implemented in the future releases of WebSite X5.

Many thanks!

Leggi di più
Postato il da Claudio D.
Malcolm P.
Malcolm P.
User
Autore

Thank you Claudio, that confirms the behaviour that I experienced. In this particular case I was able to work around it by redoing the page from the affected point, but that can be a lot of extra work if the problem occurs near the beginning of a complex page.

I'll raise an Idea post as suggested in the hope that this issue can be resolved in a future release.

Leggi di più
Postato il da Malcolm P.