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 / Column "Content"

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.

Column "Content"

More
8 years 7 months ago - 8 years 7 months ago #21885 by murad920606
Column "Content" was created by murad920606
In the ads, the first column "Content" contains photos, and text ads.
How to make her two columns: one for photos and one for text
Adsgold 3.1.5
Attachments:
Last edit: 8 years 7 months ago by murad920606.
More
8 years 7 months ago #21912 by juloaadmin
Replied by juloaadmin on topic Column "Content"
You will need to override the views/list (or result)/tmpL/default.php
and change the code there is no option for that.
More
8 years 7 months ago - 8 years 7 months ago #21920 by murad920606
Replied by murad920606 on topic Column "Content"
Thank you very much for the quick response!
Please, give a more detailed answer.
How to make the appearance of an ad in the form of a list, as shown in the screenshot?
Attachments:
Last edit: 8 years 7 months ago by murad920606.
More
8 years 7 months ago #21931 by juloaadmin
Replied by juloaadmin on topic Column "Content"
As I told you there is no option for that, you need to edit the code. But code modification is not included into the support.

Anyway

look in views/list/default_list.php

You will have to change code here
<td>
                <h4 class="no-margin-top">
                    <?php echo '<a href="'.$linkTarget.'">'.$content->ad_headline.'</a>'; ?>
                    <?php if(!isset($this->conf->display_category_list_label) || $this->conf->display_category_list_label == 1): ?>
                        <span class="adsmanager-cat"><?php echo "(".$content->parent." / ".$content->cat.")"; ?></span>
                    <?php endif; ?>
                </h4>
            <?php
            if (isset($content->images[0])) {
                    echo "<a href='".$linkTarget."'><img class='fad-image' name='ad-image".$content->id."' src='".JURI_IMAGES_FOLDER."/".$content->images[0]->thumbnail."' alt=\"".htmlspecialchars($content->ad_headline)."\" /></a>";
            } else if ($this->conf->nb_images > 0) {
                    echo "<a href='".$linkTarget."'><img class='fad-image' src='".ADSMANAGER_NOPIC_IMG."' alt='nopic' /></a>";
            }
            ?>
            <div class="desc">
            <?php 
                $content->ad_text = strip_tags(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>
        </td>
More
8 years 7 months ago #21979 by murad920606
Replied by murad920606 on topic Column "Content"
Thank you very much!
More
8 years 7 months ago #22029 by juloaadmin
Replied by juloaadmin on topic Column "Content"
You're welcome
Time to create page: 0.187 seconds
Powered by Kunena Forum