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 / [RESOLVE] How to hide image & description 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.

[RESOLVE] How to hide image & description preview

More
10 years 6 months ago - 10 years 5 months ago #19916 by hadia9683
Hi,

Could you please guide us

how to hide the image thumbnail preview from ads manager list for a specific category

How to short the preview description, currently its taking too much space in ads manager list, we already selected the option from ads manager to show short description but again its taking so much space
Last edit: 10 years 5 months ago by loic.
More
10 years 6 months ago #19923 by catalinads
Replied by catalinads on topic How to hide image and description preiview
For short description edit the default_list from your template :
$af_text = JString::substr($content->ad_text, 0, 100);
if (strlen($content->ad_text)>100) {
$af_text .= "[...]";
}
replace 100 with the value you want
More
10 years 6 months ago #19933 by loic
Hello,

For the list Catalinads is right.
For the image, you can add some css in your template to hide it.
.adsmanager-list .imgheading {
    display: none;
}

Best regards.
More
10 years 6 months ago #19937 by hadia9683
Replied by hadia9683 on topic How to hide image and description preiview
Thanks both of you. For image it will hide for all ads?

Is there any way to hide only one category images preview
More
10 years 6 months ago #19939 by loic
Hello,

It will hide only the category image in the list page.

If it hides more, tell me and I will fix that :).

Best regards.
More
10 years 6 months ago #19941 by hadia9683
Replied by hadia9683 on topic How to hide image and description preiview
That's great.

My question was, how this code will knows which category images needs to be hided from the list.

For example

We have categories
For sale
housing
Jobs

We only want to hide image preview for Jobs category because jobs does not have images.
Time to create page: 0.064 seconds
Powered by Kunena Forum