How to set the ads category default "Show" to "Hide"

The ads subcategory default are all "Show", can I make it default "Hide"

Quote · 30 Aug 2011

UP!UP

Quote · 30 Aug 2011

How can I make the classified homepage subcategory default "Hide"?

Just show the category, and click the "Show / Hide" button to show the subcategory if the visiter want to see the subcategory.

Quote · 31 Aug 2011

Who can do me  a favor

Quote · 1 Sep 2011

Sorry for the delay. I have been, still am quite busy with flood cleanup from the hurricane that passed through my area.

Anyhow.

Open templates/base/category_unit.html

You will see this at the top.

<div class="quick_links_elink">
    <div class="lcont_top">
        <a href="__category_url__" __onclick__ __target__  class="main_l">__category_name__</a>
        <div class="js_control_section" id="js_control_section__unit_id__" title="Show / Hide" bxchild="lcont_other__unit_id__" style="background-position: 0px 0px;"></div>
    </div>
    <div class="quick_links_elink_lcont" id="lcont_other__unit_id__">

Change it to look like this.

<div class="quick_links_elink">
    <div class="lcont_top">
        <a href="__category_url__" __onclick__ __target__  class="main_l">__category_name__</a>
        <div class="js_control_section" id="js_control_section__unit_id__" title="Show / Hide" bxchild="lcont_other__unit_id__" style="background-position: 0px -17px;"></div>
    </div>
    <div class="quick_links_elink_lcont" id="lcont_other__unit_id__" style="display:none;">



Now clear dolphins cache.

https://www.deanbassett.com
Quote · 1 Sep 2011

Hi, deano92964

It works great!!

Thank you very much.

Quote · 1 Sep 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.