Welcome to Geeklog, Anonymous Monday, October 14 2024 @ 05:07 pm EDT

Geeklog Forums

How to not show the right blocks in Gallery integration?


Status: offline

etegration

Forum User
Full Member
Registered: 02/20/02
Posts: 179
How to not show the right blocks in Gallery integration? See http://www.itcow.com/public_html/gallery/ the page is too cluttered...
http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com
 Quote

phil_g

Anonymous

If you're writing your own PHP for the page, when you call COM_siteFooter(), pass it a value of false. (So 'COM_siteFooter(false);'.) That suppresses generation of the right-hand boxes.

---
355/113 -- Not the famous irrational number PI, but an incredible simulation!

 Quote

Anonymous

Anonymous
Aaaah, but how does one not show *left* blocks as well? And still keep the top and bottom banners showing. If one comments out the code to display left blocks, it also removes the top and bottom parts of GL, making gallery look just like a plain install of gallery. /vjl/
 Quote

Status: offline

rawdata

Forum User
Full Member
Registered: 02/17/03
Posts: 236
COM_siteHeader(); -- show left blocks COM_siteHeader('none') -- do not show left blocks COM_siteFooter(true); -- show right blocks COM_siteFooter(); or COM_siteFooter(false); -- do not show right blocks
 Quote

Status: offline

etegration

Forum User
Full Member
Registered: 02/20/02
Posts: 179
I found the tag in wrapper.footer but after editing it to (Line 40) $display .= COM_siteFooter(false); It still displays the right blocks. Why so?---http://www.etegration.net http://www.itcow.com http://www.ministryofhosting.com
http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com
 Quote

Status: offline

etegration

Forum User
Full Member
Registered: 02/20/02
Posts: 179
ok guys, i found it. The correct way should be: $display .= COM_siteFooter('false'); in wrapper.footer at around line 40. Using just: $display .= COM_siteFooter(false); will not work. i found out that when i tried examining plot.php which is the IP Plot hack which by default does not show the right block too. Thank you all! See http://www.itcow.com/public_html/gallery/ No right blocks! Smile

---
http://www.etegration.net
http://www.itcow.com
http://www.ministryofhosting.com


http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com
 Quote

Anonymous

Anonymous
Thanks, rawdata! That worked perfectly! /vjl/
 Quote

Status: offline

etegration

Forum User
Full Member
Registered: 02/20/02
Posts: 179
If you guys have the same error that i had: ;
Fatal error: Cannot redeclare cb_getconfig() (previously declared in /home/itcow/public_html/chatterblock/cb_main.php:29) in /home/itcow/public_html/chatterblock/cb_main.php on line 28
Get rid of the following in footer.warapper:
// Get footer $display .= COM_siteFooter(\'false\'); // Output page echo $display
It\'ll work, and without the errors at the end of all your gallery pages.
http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com
 Quote

All times are EDT. The time is now 05:07 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content