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 / [SOLVED]Same question about display the categories

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

[SOLVED]Same question about display the categories

More
12 years 3 weeks ago - 12 years 2 weeks ago #7360 by mikki
I have some questions about the main category site, a sample shows the picture.

1. How can I expand the width with the subcategories, so that the gap between graphics and text is smaller?
2. How can I increase the distance between the individual sections?
3. All subcategories I want to perform with each other and not side by side. For example:
Cat1
Cat2
Cat3
...
How can I do this?
Attachments:
Last edit: 12 years 2 weeks ago by loic.
The following user(s) said Thank You: adarr
More
12 years 3 weeks ago #7373 by loic
Hello,

Which version of AdsManager are you using ?

The method is different between the version 2.9.13 or inferior and the version 3.x.

Best regards.
The following user(s) said Thank You: adarr
More
12 years 3 weeks ago #7395 by mikki
Replied by mikki on topic Same question about display the categories
Ah, sorry I forget. I'm using the new 3.0.1 version.
The following user(s) said Thank You: adarr
More
12 years 3 weeks ago #7407 by loic
Hello,

You need to make an override of the front view of AdsManager.

Inside, change the value of the class 'span6' in the line 79 to 'span5' or 'span4' to reduce it, and in the line 84, you must do the same with the span class.
IMPORTANT: the sum fo this two span must be equal to 12, so in the first span is 'span4', the second must be 'span8'.

And to have one submenu per line, replace the line 94:
echo '<a href="'.$link.'">'.htmlspecialchars($row->name).$numAds.'</a>';

By this one:
echo '<a href="'.$link.'">'.htmlspecialchars($row->name).$numAds.'</a><br/>';

You will find a documentation regarding the override here: www.joomprod.com/documentation/doc-view-override.html

Best regards.
The following user(s) said Thank You: mikki, adarr
More
12 years 3 weeks ago #7423 by mikki
Replied by mikki on topic Same question about display the categories
YES! Many thanks for your great help, it works perfect.
The following user(s) said Thank You: adarr
  • Larenz
  • Larenz's Avatar
  • Offline
  • User
  • User
  • Hola! Visítame en http://facebook.com/arsyflex
More
12 years 3 weeks ago - 12 years 3 weeks ago #7426 by Larenz
Replied by Larenz on topic Same question about display the categories
That is a fast solution for your problem. You can have another advanced solution for the subcategories using lists tags:

<ul>
  <li>Subcat 1</li>
  <li>Subcat 2</li>
  <li>Subcat 3</li>
</ul>

The advantage of using this other solution is that you won´t have the "-" symbol between each subcategory :P

If you are interested about this change I can write you the code here. I attach an image for demonstration about what I´m talking about. In the image I have a span-4 class containg two span-12 class. So the first span-12 class contains one span-2 and one span-10 (Cat Image + Cat Title). And the last span-12 class has the lists (ul li) containing the subcategory lists.

La mejor manera de saber que algo puede hacerse es porque alguien ya lo hizo primero.
Attachments:
Last edit: 12 years 3 weeks ago by Larenz.
The following user(s) said Thank You: mikki, adarr
Moderators: perry
Time to create page: 0.368 seconds
Powered by Kunena Forum