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 / Support / AdsManager Support / [RESOLVED] List View

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.

[RESOLVED] List View

More
11 years 9 months ago - 11 years 9 months ago #9086 by gfoxtrot
[RESOLVED] List View was created by gfoxtrot
Hello,
how can i change a little bit the list view. The main thing i want to do is to add the description of the ad next to the picture and not under it. And also add a couple of fields under the description like the telephone field and the area field. Please check the picture attached.

Thx very much in advance,
George
Attachments:
Last edit: 11 years 9 months ago by loic.
The following user(s) said Thank You: adarr
More
11 years 9 months ago #9103 by tompap
Replied by tompap on topic List View
Hello,

The first column is hardcoded in the view/list/tmpl/default.php
So if you want to add some fields, you need to add them manually in the override.

You will have to play with the HTML and CSS, if you want to display the text next to the image.

If you want use to do this customization we could do it for a little cost, just send us an email about that.
The following user(s) said Thank You: adarr
More
11 years 9 months ago - 11 years 9 months ago #9184 by gfoxtrot
Replied by gfoxtrot on topic List View
i will make some tries and if i cannot do it ,i will proceed with a quote request.


Thx very much,
George
Last edit: 11 years 9 months ago by gfoxtrot.
The following user(s) said Thank You: adarr
More
11 years 9 months ago #9202 by loic
Replied by loic on topic List View
Hello,

you're welcome :).
The following user(s) said Thank You: adarr
More
11 years 9 months ago - 11 years 9 months ago #9267 by gfoxtrot
Replied by gfoxtrot on topic List View
Dear Loic,
is it possible to give me the line of code that corresponds to the text placed under the picture in list view?

Thx,
George
Last edit: 11 years 9 months ago by gfoxtrot.
The following user(s) said Thank You: adarr
More
11 years 9 months ago #9282 by loic
Replied by loic on topic List View
Hello,

this is the description block.

In the original file 'components/com_adsmanager/views/list/tmpl/default_list.php', this block is from line 62 to line 71:
<div class="desc">
            <?php 
                $content->ad_text = str_replace ('<br />'," ",$content->ad_text);
                $af_text = JString::substr($content->ad_text, 0, 100);
                if (strlen($content->ad_text)>100) {
                    $af_text .= "[...]";
                }
                echo $af_text;
            ?>
</div>

I hope this will help :).

Best regards.
The following user(s) said Thank You: gfoxtrot, adarr
Time to create page: 0.087 seconds
Powered by Kunena Forum