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 / Creating new ad

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

Creating new ad

More
11 years 5 months ago - 11 years 5 months ago #11636 by untsunts
Creating new ad was created by untsunts
Hi

I only have one category and one subcategory. When creating a new ad, users see a dropdown list with different categories, but since I only have one, and that one is selected by default there is really no reason for it to be there. So is there any way to just hide it? Delete someting from the css or something?
It would be nice if it is possible to remove where it says "Ad Information" too. I can't even find it in the transaltion files, but if it's possible to remove the dropdown, there is no need for it to be there.

Attachment Nyannonse.jpg not found





Thanks for the help!
Attachments:
Last edit: 11 years 5 months ago by untsunts.
The following user(s) said Thank You: adarr
More
11 years 5 months ago #11647 by loic
Replied by loic on topic Creating new ad
Hello,

In the file components/com_adsmanager/views/edit/tmpl/default.php, find the line 97:
<div class="control-group">

And replace it with:
<input type='hidden' name='category' value='{the_id_of_your_category}' /> Your category name
<div style="display: none;" class="control-group">

It must work.

Best regards.
The following user(s) said Thank You: adarr
More
11 years 5 months ago #11676 by untsunts
Replied by untsunts on topic Creating new ad
Hi
Just got back to work and tryed this out. Now it looks like this:

Attachment Nyannonsegreier.jpg not found



The dropdown meny is removed. Thank you.
But is there a way to remove where it says"Ad Information" too, and the line under it?
Thanks
Attachments:
The following user(s) said Thank You: adarr
More
11 years 5 months ago #11693 by loic
Replied by loic on topic Creating new ad
Hello,

In the same file, you need to remove the line 336 (it may not be at the same place since you custom the code for the cateogyr):
<legend><?php echo JText::_('ADSMANAGER_FORM_AD_INFORMATION'); ?></legend>

Best regards.
The following user(s) said Thank You: adarr, untsunts
Moderators: perry
Time to create page: 0.070 seconds
Powered by Kunena Forum