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.

Accueil / forum / Support / AdsManager Support / [SOLVED] Unformatted warning message

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.

[SOLVED] Unformatted warning message

More
12 years 3 weeks ago - 12 years 3 weeks ago #7361 by brsi
Hello, when configuring AM as to enable non registered users to post a ad, the new ad window displays the following unformatted warning : <b> Attention: Vous n'êtes pas loggé !</b><br/> Vous pouvez poster une annonce sans être loggé, mais vous ne pourrez pas dans ce cas la modifier ou la supprimer.<br/> Créer vous un compte ou logger vous pour avoir toutes les fonctionnalités.<br/>
Any hint on how to solve this?
Thanks.
J 3.3.6, AM 3.0.1
Report This
Last edit: 12 years 3 weeks ago by brsi. Reason: solved
More
12 years 3 weeks ago #7375 by loic
Replied by loic on topic Unformatted warning message
Hello,

In the file 'components/com_adsmanager/edit/tmpl/default.php' replace the line 10:
echo '<div class="alert alert-warning">'.htmlspecialchars($this->warning_text)."</div>";

By this one:
echo '<div class="alert alert-warning">'.$this->warning_text."</div>";

Please, be aware that the function htmlspecialchars is here for security reason, if more than one person have access to the edition of this message (in the administrator or directly in the translate file), it can be dangerous to allow the HTML.

Best regards.
Report This
More
12 years 3 weeks ago #7383 by brsi
Replied by brsi on topic Unformatted warning message
Hello, thanks for this update; it works well indeed and I take good notice of your warning.
For other readers, the path of the file is actually components/com_adsmanager/views/edit/tmpl/default.php.
Cheers.
Report This
Time to create page: 0.083 seconds
Powered by Kunena Forum