Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 01:02 pm EDT

Geeklog Forums

Two Questions...


Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 10/18/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: 10/18/04
Posts: 105
blah
Does anyone know?
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/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:
Text 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: 10/18/04
Posts: 105
Which question does this answer?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/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: 10/18/04
Posts: 105
o.k Thanks very much.
 Quote

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