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 / [RESOLVED] Problem with preview

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

[RESOLVED] Problem with preview

More
11 years 11 months ago - 11 years 11 months ago #8344 by francota
[RESOLVED] Problem with preview was created by francota
Hello
I am using adsmanager 301, in this version there is the preview of Ad and it is great thng, but I have a problem with a part of Ad, as you can see in the image, infact information is not alligned on left with other text in the preview.
What I need to modify for solve it?
THanks
bye

Last edit: 11 years 11 months ago by loic.
More
11 years 11 months ago #8352 by loic
Replied by loic on topic Problem with preview
Hello,

Could you give me a link ? I wish to take a look at the code.

I think it is a css problem.

Best regards.
More
11 years 11 months ago #8358 by francota
Replied by francota on topic Problem with preview
Hey Loic

this is the url bachecahotel.altervista.org

My setting need register user to add new Ad, do you need credential user??


Thanks
Frank
More
11 years 11 months ago #8375 by loic
Replied by loic on topic Problem with preview
Hello,

I've created an account but it need a validation by a moderator :).

Could you allow it ?

Best regards.
The following user(s) said Thank You: francota, adarr
More
11 years 11 months ago #8380 by francota
Replied by francota on topic Problem with preview
Yes I did right now ;)

Thanks
Bye
The following user(s) said Thank You: adarr
More
11 years 11 months ago #8396 by loic
Replied by loic on topic Problem with preview
Hello,

The problem is that you have 2 positions displayed at the level of 'Informazione' and the position at the left is empty.

To correct that, you can make an override of the preview view ('components/com_adsmanager/views/preview/tmpl/default.php' and replace the block line 96 to 112 :
<div class="span6">
			<?php if (!empty($this->fDisplay[2])) {
				$strtitle = @JText::_($this->positions[1]->title);
				if ($strtitle != "") echo "<h2 class='section-header'>".@$strtitle."</h2>"; 
				foreach($this->fDisplay[2] as $field) {
					$c = $this->field->showFieldValue($this->content,$field); 
					if (($c !== "")&&($c !== null)) {
						$title = $this->field->showFieldTitle(@$this->content->catid,$field);
						if ($title != "")
							echo "<b>".htmlspecialchars($title)."</b>: ";
						echo "$c<br/>";
					}
				}
			}
			?>
		</div>
		<div class="span6">

By this line :
<div class="span12">

This will correct the problem.

However, I will run some tests to fix it for the next versions.

Best regards.
Moderators: perry
Time to create page: 0.099 seconds
Powered by Kunena Forum