vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Where can I edit the category strip template? (https://vborg.vbsupport.ru/showthread.php?t=259601)

RC Attacker 02-28-2011 06:42 PM

Where can I edit the category strip template?
 
I want to change category strip descriptions from displaying under the category strip name to next to it. But I don't know what template or where in general to find this. Can someone point me in the right direction?

RC Attacker 03-02-2011 09:43 PM

bump

kh99 03-02-2011 11:18 PM

I'm not sure exactly what part you mean, but if you go to the ACP and turn on "Add Template Name in HTML Comments" (Under General Settings), then you can view the HTML source of your page, find the part you want to change, and the comments will tell you what template it's in.

RC Attacker 03-02-2011 11:51 PM

1 Attachment(s)
Thanks, I found the template, but now I'm not sure how to do what I want. Because if I make any changes, it won't just do it to the category, but the forums as well. Attached, is what I want to do.

kh99 03-03-2011 12:03 PM

Maybe try:

Code:

<if condition="$foruminfo['cancontainthreads']">
// code for forum
<else />
// code for category
</if>



All times are GMT. The time now is 07:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01199 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete