Welcome to Geeklog Thursday, April 22 2021 @ 10:45 am EDT

Geeklog Forums

Two Questions...


Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 18/10/04
Posts: 105
1) Is it possible to app a centerblock on the Forum Index Page?

2) I have got my links in the links section openning in a new window. Can I get the links in the "What's New" Block to also open in a new window?

If anyone knows an answer to either question please post a reply.

Thanks to any help.
 Quote

me!!! No You!!!

Anonymous
I want to know the answer to number 1 as well.
 Quote

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 18/10/04
Posts: 105
blah
Does anyone know?
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 29/12/04
Posts: 555
Location:Champaign, Illinois
in forum/index.php
around line 87 look for echo COM_site_Header();
that produces your site header and leftblocks.

if you add:
PHP Formatted Code
        $display = ' ';
        $display .= phpblock_yourblockname();
        echo $display;



 

after that with yourblockname replaced with the name of your block.
In this case your block has to exist in either lib-common or lib-custom or have been added by a pluggin.



FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 18/10/04
Posts: 105
Which question does this answer?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by thefilmmaker: Which question does this answer?

Neither. And in addition to that, it's nonsense. If you already have a PHP block function, there's no need to hard-code it anywhere, when you can simply create a new "PHP block" for it.

The answer to your first question is "no", AFAIK.

The answer to your second question can be found by using the search function. And you may also find a few of my posts explaining why it is a bad idea to open new windows ...

bye, Dirk
 Quote

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 18/10/04
Posts: 105
o.k Thanks very much.
 Quote

All times are EDT. The time is now 10:45 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