Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / [SOLVED]load images

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

[SOLVED]load images

More
11 years 2 months ago - 11 years 2 months ago #3183 by zizi80
[SOLVED]load images was created by zizi80
hi,

I would like that the photos are loaded last to first...

please help me
Last edit: 11 years 2 months ago by zizi80.
More
11 years 2 months ago #3194 by tompap
Replied by tompap on topic load images
There is no option for that, you need to edit the code and change foreach by a for loop with a decrease index.
More
11 years 2 months ago #3218 by zizi80
Replied by zizi80 on topic load images
you thought so, but more than anything I wanted a help on the code, I think the page is

/ administrator / components / com_adsmanager / models / content.php

but I do not know at the time how to transform the code, can you help me?
More
11 years 2 months ago #3219 by tompap
Replied by tompap on topic load images
This is just "display" so this is more in views/details/tmpl/default.php
and change the loop for images are displayed. to reverse the order
More
11 years 2 months ago #3236 by zizi80
Replied by zizi80 on topic load images
ok, this I understand, but I have to turn in detail how the foreach

foreach($this->content->images as $img)
{
More
11 years 2 months ago #3237 by zizi80
Replied by zizi80 on topic [SOLVED] load images
the solution is:

$reversed = array_reverse($this->content->images);

foreach($reversed as $img)
{
Moderators: perry
Time to create page: 0.128 seconds
Powered by Kunena Forum