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 / A problem with displaying the list of ads in «Ads

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.

A problem with displaying the list of ads in «Ads

More
11 years 2 months ago #13519 by VAG1973
Hello,

I have got the "Ads Clarity + Gold AdsManager Version» and I have a problem with displaying the list of ads in «Ads Clarity» template.

Fields of ads should be displayed in columns as lists, but these fields are displayed connected in one line (see the attached file «Ads Clarity»).
At the same time I don’t have this problem in «Beez3 - Default» and «protostar - Default» templates (see the attached files «Beez3 - Default» and «protostar - Default»).

How can I solve this problem?
Attachments:
More
11 years 2 months ago - 11 years 2 months ago #13533 by tompap
in adsclarity template, there is no <br/> to let CSS designer put better design
but there is a "<span>" around each field

So what you can add to your css : custom.css in adsclarity/css directory

is

.top10 span {
display:block;
}

or if you need to return to the line just for some specific field, you can do it like

.top10 .ad_myfield {
display:block;
}

or you can modify

adsclarity/html/list/default_list.php and result/html/default_list.php

replace
 <?php 
				            foreach($this->columns as $col) {
				                echo '<td class="column_'.$col->id.'">';
				                echo '<div class="top10">';
				                if (isset($this->fColumns[$col->id])) {
									$first = true;
				                    foreach($this->fColumns[$col->id] as $field)
				                    {
				                        $c = $this->field->showFieldValue($content,$field); 
				                        if (($c !== "")&&($c !== null)) {
				                            $title = $this->field->showFieldTitle(@$content->catid,$field);
				                            echo "<span class='".$field->name."'>";
				                            if ($title != "")
				                                echo "<b>".htmlspecialchars($title)."</b>: ";
				                            echo "$c";
				                            echo "</span><br/>";
				                        }
				                    }
				                }
                                echo '</div>';
				                echo "</td>";
				            }
				        ?>
by
 <?php 
				            foreach($this->columns as $col) {
				                echo '<td class="column_'.$col->id.'">';
				                echo '<div class="top10">';
				                if (isset($this->fColumns[$col->id])) {
									$first = true;
				                    foreach($this->fColumns[$col->id] as $field)
				                    {
				                        $c = $this->field->showFieldValue($content,$field); 
				                        if (($c !== "")&&($c !== null)) {
				                            $title = $this->field->showFieldTitle(@$content->catid,$field);
				                            echo "<span class='".$field->name."'>";
				                            if ($title != "")
				                                echo "<b>".htmlspecialchars($title)."</b>: ";
				                            echo "$c";
				                            echo "</span>";
				                        }
				                    }
				                }
                                echo '</div>';
				                echo "</td>";
				            }
				        ?>
Last edit: 11 years 2 months ago by tompap.
The following user(s) said Thank You: VAG1973
More
11 years 2 months ago #13638 by VAG1973
It works well! :)
More
11 years 2 months ago #13648 by tompap
Great!
Time to create page: 0.047 seconds
Powered by Kunena Forum