The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Sliding category on punbb !

View previous topic View next topic Go down

Solved Sliding category on punbb !

Post by razvy3 on May 21st 2011, 1:18 pm

Base what code did you use to slide the category in your forum ?

razvy3
Forumember

Male Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7

Back to top Go down

Solved Re: Sliding category on punbb !

Post by Raze on May 21st 2011, 3:00 pm

I would like to know this also.

Raze
Forumember

Male Posts : 406
Reputation : 12
Language : English, HTML, CSS

Back to top Go down

Solved Re: Sliding category on punbb !

Post by Base on May 21st 2011, 3:30 pm

My forum is phpBB 3, not punBB. Wink

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Sliding category on punbb !

Post by razvy3 on May 21st 2011, 3:38 pm

So how can i make it for punbb ?

razvy3
Forumember

Male Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7

Back to top Go down

Solved Re: Sliding category on punbb !

Post by razvy3 on May 23rd 2011, 9:17 am

Bump !

razvy3
Forumember

Male Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7

Back to top Go down

Solved Re: Sliding category on punbb !

Post by E-Mark on May 23rd 2011, 10:07 am

For PunBB
Go to Admin Panel > Display > Templates > General > index_box

Find these :
Code:
<div class="pun-crumbs">
  <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>

then paste this under it :
Code:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("h2.catoggle").click(function(){
$(this).parent().parent().next(".main-content").slideToggle("slow");
});
});
</script>

After that, find this :
Code:
<div class="page-title">{catrow.tablehead.L_FORUM}</div>

Then replace it by this :
Code:
<div class="page-title" ><b>{catrow.tablehead.L_FORUM}</b><h2 class="catoggle">+/-</h2></div>

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: Sliding category on punbb !

Post by Raze on May 23rd 2011, 10:16 pm

mark1111 wrote:For PunBB
Go to Admin Panel > Display > Templates > General > index_box

Find these :
Code:
<div class="pun-crumbs">
  <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>

then paste this under it :
Code:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("h2.catoggle").click(function(){
$(this).parent().parent().next(".main-content").slideToggle("slow");
});
});
</script>

After that, find this :
Code:
<div class="page-title">{catrow.tablehead.L_FORUM}</div>

Then replace it by this :
Code:
<div class="page-title" ><b>{catrow.tablehead.L_FORUM}</b><h2 class="catoggle">+/-</h2></div>
Can it be placed to the right instead of under the category name?

Raze
Forumember

Male Posts : 406
Reputation : 12
Language : English, HTML, CSS

Back to top Go down

Solved Re: Sliding category on punbb !

Post by razvy3 on May 24th 2011, 10:56 pm

solved !

razvy3
Forumember

Male Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7

Back to top Go down

Solved Re: Sliding category on punbb !

Post by Jophy on May 25th 2011, 4:36 am

Solved -> Locked

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum