Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:26 am EST
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
http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com
12
13
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!
14
13
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/
19
20
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
http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com
19
14
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!
http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com
---
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
11
20
Quote
Anonymous
Anonymous
Thanks, rawdata! That worked perfectly!
/vjl/
17
11
Quote
Status: offline
etegration
Forum User
Full Member
Registered: 02/20/02
Posts: 179
If you guys have the same error that i had:
;
http://www.etegration.com.sg
http://www.itcow.com
http://www.ministryofhosting.com
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
16
14
Quote
All times are EST. The time is now 12:26 am.
- 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