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 / Frontend page.Displayed all category.

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

Frontend page.Displayed all category.

More
11 years 5 months ago #11900 by cipro
Replied by cipro on topic Frontend page.Displayed all category.
it seems for separate subcategory level2 and level3 we need to do custom code also, because
echo '<a href="'.$link.'">'.htmlspecialchars($row->name).$numAds.'</a>';

we havnt <div> tag for separate this quickly , if we changed this to:

echo '<customdiv/><a href="'.$link.'">'.htmlspecialchars($row->name).$numAds.'</a></customdiv>';

it touches all levels

Very best regards.
The following user(s) said Thank You: adarr
More
11 years 5 months ago #11910 by loic
Replied by loic on topic Frontend page.Displayed all category.
Hello,

Did you find a custom solution or are you still looking for one ?

Best regards.
The following user(s) said Thank You: adarr
More
11 years 5 months ago #11914 by cipro
Replied by cipro on topic Frontend page.Displayed all category.
still looking for one
The following user(s) said Thank You: adarr
More
11 years 5 months ago #11923 by loic
Replied by loic on topic Frontend page.Displayed all category.
Hello,

Could you copy-paste the code you modified here ?

I will try to correct it.

Best regards.
The following user(s) said Thank You: adarr
More
11 years 5 months ago - 11 years 5 months ago #11928 by cipro
Replied by cipro on topic Frontend page.Displayed all category.
for sub cat:
line 88 to line 99, we can add "<customdivforsubcat/> " in line 94,
 
<?php	
                        $divopen = true;
                        $firstsubcat = true;
                    } else {
                        if ($firstsubcat == false)
                            echo ' - ';
                        echo '<customdivforsubcat/><a href="'.$link.'">'.htmlspecialchars($row->name).$numAds.'</a></customdivforsubcat>';
                        $firstsubcat = false;
                    }
                }
                if ($divopen == true) {
                    ?>
 



it works , but for all sub-levels in same time, we can change css file and decorate all of them.

But how to change css for subcat level2 and subcat level3 separate?

not use
  echo ' - ';
for separate categories , but use css3 for it.

have a nice day!
Last edit: 11 years 5 months ago by cipro.
The following user(s) said Thank You: adarr
More
11 years 5 months ago #11935 by loic
Replied by loic on topic Frontend page.Displayed all category.
Hello,

In your code, could you add the level ? Like that:
<?php	
                        $divopen = true;
                        $firstsubcat = true;
                    } else {
                        if ($firstsubcat == false)
                            echo ' - ';
                        echo '<span class="subcat-'.$row->level.'"><a href="'.$link.'">'.htmlspecialchars($row->name).$numAds.'</a></span>';
                        $firstsubcat = false;
                    }
                }
                if ($divopen == true) {
                    ?>

This way, you will have a class for each level of subcategory and you will be able to apply css for each of them separately.

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