ProsePoint Express: hosted newspaper website content management software

Remove top banner

  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/modules/node/views_handler_filter_node_status.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 0.
  • strict warning: Declaration of date_api_filter_handler::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/date/includes/date_api_filter_handler.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
3 replies [Last post]
rakeshjuneja
User offline. Last seen 6 years 18 weeks ago. Offline
Joined: 09/07/2010
Posts:

Hi,

How do i remove top banner position, basically i dont want those banners to show up, I tried to comment out top banner div in node.tpl.php but then the whole layout got disturbed.

Please advise.

Regards

beng
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 27/02/2009
Posts:
Hi, Firstly, if you haven't

Hi,

Firstly, if you haven't already, I'd suggest you use a customisable subtheme (tma_custom) as per the information in Making your own customisations to the default theme.

Then, copy page.tpl.php from the default theme tma2 into the directory for tma_custom, clear your site cache, and then edit page.tpl.php as you like.

To remove the banner, commenting out or removing the banner div in page.tpl.php should be sufficient.

rakeshjuneja
User offline. Last seen 6 years 18 weeks ago. Offline
Joined: 09/07/2010
Posts:
Hi Beng, Thanks for the

Hi Beng,

Thanks for the reply, I would go for subvtheme as suggested by you but later, right now if i try to comment out top banner div in tma2 page.tpl.php whole layout gets disturbed

i am commenting out the top banner div as follows

<!--<div id="topbanner">

<?php /* if ($breadcrumb): */ ?>

<?php /* print $breadcrumb; */?>

<?php /* endif; */ ?>

</div>--> <!-- /#topbanner -->

I have commented out both php and html, but it does not work, it disturbs the layout.

Regards

beng
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 27/02/2009
Posts:
...

Hi,

Ah, you also need to do some float clearing on the #content div. This was previously done on the #topbanner div but the topbanner div no now longer exists.

You need to insert the following line in a css file somewhere, preferable in tma_custom.css:

#content { clear: both; }