vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I get rid of this? (https://vborg.vbsupport.ru/showthread.php?t=289299)

ar15dcm 10-19-2012 04:06 AM

How do I get rid of this?
 
Hi,

When a section is empty a small line of text is displayed that says;

There is no content in this section

How do I get rid of that?

Thanks,

Lynne 10-19-2012 04:23 PM

I supposed you could edit the phrase to be blank. Do a search in phrases for it, find it, and edit it. Alternately, edit the template to remove the phrase.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

ar15dcm 10-23-2012 12:07 AM

I did a phrase find and changed the phrase to a blank space. But now there is an extra line under the section header.

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

Is this what I need to take out?

Code:

<p class="cms_article_txt_content">
--------------- Added [DATE]1350956381[/DATE] at [TIME]1350956381[/TIME] ---------------

This article actuall explains how to get rid of it, although it was actually a different subject.

https://www.vbulletin.com/forum/show...page-in-vB-CMS

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

Well I followed those directions but still have the space.

Just under "The Front Page" section title www.riflecompetition.com
Any ideas?

Lynne 10-23-2012 04:11 PM

I can see a <br /> in the code.

HTML Code:

<li> <br /> <div class="cms_widget"> <div class="block"> <div class="cms_widget_content widget_content">
You'll have to find that widget and see what is going on.

ar15dcm 10-23-2012 09:13 PM

Thanks Lynn!

I moved the <br /> to the bottom of the code to maintain widget spacing below.


All times are GMT. The time now is 11:27 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.00954 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_html_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