vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   how to hide one div based on php file name? (https://vborg.vbsupport.ru/showthread.php?t=219718)

drew82 07-29-2009 11:07 AM

how to hide one div based on php file name?
 
how to hide one div based on php file name?

--------------- Added [DATE]1248874937[/DATE] at [TIME]1248874937[/TIME] ---------------

how to hide one div based on php file name?

for example :
suppose my page name is blog.php.i need to hide latest blogs div

testbot 07-29-2009 01:59 PM

not exactly sure what you're trying to do but you can use css style to hide divs...

<div style="display: none; visibility: invisible;">hidden text</div>

drew82 07-30-2009 05:57 AM

How to check condition for hidding div?

suppose if we are using hand code we can check like this :

$curpage = $_SERVER['PHP_SELF'];

same variable i need to take in vbulletin.how do to this?

testbot 07-30-2009 12:08 PM

do you mind if i ask what variable or what page? there might be something already available.


All times are GMT. The time now is 09:42 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.02434 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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