| Author |
Message |
fpg-merlin New Member


Joined: Sep 06, 2007 Posts: 10 Location: England
|
Posted:
Sat May 17, 2008 4:55 pm |
|
1st sorry if this in the wronge part of the forums...
I'm running RN on my gaming website,
What I would like to do is put the following page on to my front page or into a block,
at the moment I have a link directly to the script, but I'm not sure if I can move the script to show like the COD4 tracker does.
Anyone any ideas if this is posible....  |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7327 Location: Arizona
|
Posted:
Mon May 19, 2008 5:17 am |
|
Well, that second link of yours gives me a 404, so not sure what the content looks like.
If this is for your front page, the likely candidate is definitely a block. Take a look at any of the many examples already in your blocks directory for how to do this. The bottom line with the block is that the final HTML output string for the block must be stored within the variable named $content. |
|
|
|
 |
fpg-merlin New Member


Joined: Sep 06, 2007 Posts: 10 Location: England
|
Posted:
Mon May 19, 2008 6:19 am |
|
Sorry,
I tried some thing with Moduals, its back now
As for the block, the script comes in a folder with images |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7327 Location: Arizona
|
Posted:
Tue May 20, 2008 5:25 am |
|
The below is the big hint that you need...
| montego wrote: | | The bottom line with the block is that the final HTML output string for the block must be stored within the variable named $content. |
The size of this looks like it could be made into a Center block. Give it a go... create yourself a new block file under blocks, pattern if off of any of the ones already in there, and just remember instead of echo'ing out HTML, you instead need to continue to concatenate the HTML into the $content variable. (There are plenty of examples to choose from!) |
|
|
|
 |
fpg-merlin New Member


Joined: Sep 06, 2007 Posts: 10 Location: England
|
Posted:
Tue May 20, 2008 11:26 am |
|
montego Thanks very much, I'll give it a bash  |
|
|
|
 |
|
|
|
|