List

More
4 years 4 months ago #187 by Wieland Kleinert
List was created by Wieland Kleinert
Hello,

I need a complete list with 10 cars / site.
If I view complete list I see 10 cars, but some error...





if I use one category, I see 6 cars:



If I use one car factory, i see 3 Cars...

Attachments:

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

More
4 years 4 months ago #188 by Administrator
Replied by Administrator on topic List
Wich is your autostand version, and template used?
Are all the cars approved? Do you have any restrictions to the group that can see the categories?

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

More
4 years 4 months ago #189 by Administrator
Replied by Administrator on topic List
The first one is not an error, but a warning.
It means that the foreach could not be done, because it's trying to iterate an empty object. I'm guessing is the extra fields...
In the line that shows the warning, insted of
foreach($car->extra_field as $extra_field){
change to
foreach ((array) $car->extra_field as $extra_field) {

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

More
4 years 4 months ago #190 by Wieland Kleinert
Replied by Wieland Kleinert on topic List
Autostand Version 4.1.0, Template Bootstand, Joomla 3.4.8

If I use Template ires:




or


Attachments:

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

More
4 years 4 months ago - 4 years 4 months ago #191 by Wieland Kleinert
Replied by Wieland Kleinert on topic List
I change code:







but with same Template, view the List different:

Attachments:
Last edit: 4 years 4 months ago by Wieland Kleinert.

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

More
4 years 4 months ago #192 by Wieland Kleinert
Replied by Wieland Kleinert on topic List
I have changed now to a complete list, a list for used, sold and damaged cars and parts.

If setup the car in some lists, can see in complete and a other list. So I have not the mistake with the complete list.

But why I see one time 10 (like I have set) and some time only 6 cars, this I don't understand

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

Cart

The cart is empty

Cart

The cart is empty

Autostand Packs