Remove Headers/Footers from Chat Window

Please, looking for help with how to open AV Chat in a new window without headers and footers (i.e. no menu bar, no copyright etc)?  It's simple to get it to open in a new window but is it possible to remove the navigation links?  In dolphin 6 you could edit page57 and take out the header/footer lines but in dolphin 7 that seems to break the chat page.  it doesn't work for me to be able to navigate the site from the chat window.  Any help will be greatly appreciated.. 

Quote · 2 Oct 2011

OK, found a way to remove the headers and footers without deleting the _sub_header and _sub_footer includes.  In case anyone else is looking for it, here's the quick and nasty - I'll probably play some more but this is it so far.

Obviously first step, in admin builders set the chat menu item to open in a new window.  

Then in templates/base copied  _sub_header.html to new file _sub_headerchat.html and copied_sub_footer.html to new file _sub_footerchat.html. If you're not using the uni template, you probably need to do this in your template folder. 

Then edited the new subheader and subfooter files and removed what I don't want - e.g. from footer I deleted _bottom_links_ and _copyright_, from header I deleted __top_menu__ and __top_menu_breadcrumb__.

Finally in /modules/boonex/chat/templates/base/page_57.html renamed _sub_header to _sub_headerchat and renamed _sub_footer to _sub_footerchat.

Now someone will tell me there's a much easier way :)

Quote · 2 Oct 2011

thank you for that answer. I would like to expand the cat. It is really too small.

http://www.maillarbaux.org/support
Quote · 2 Oct 2011

 

thank you for that answer. I would like to expand the cat. It is really too small.

Please don't.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 2 Oct 2011

leave the cat - you can probably expand the chat by taking out/changing the line "<div class="main" style="width:__main_div_width__;">" in _sub_header.   Max chat height is 700, set in flash admin AV chat.

Quote · 3 Oct 2011

thank.

It works perfectly


http://www.maillarbaux.org/support
Quote · 3 Oct 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.