1
htdkbno
Load a php in Centerblock
  • 2007/6/10 10:22

  • htdkbno

  • Just popping in

  • Posts: 24

  • Since: 2007/3/4 1


Hi there

After a lot of problems with our old site we desided to make a new one. This one is up and running now (http://www.huntthemdown.dk)

My ? to you is as follows: Can i load my leaderboard (http://www.huntthemdown.dk/_htd/index.php) into the entire centerblock as a page. And all done from my link in the left block. (you are able to see it on the site.)

I am running the latest XOOPS 2.0.16

Hope someone can help.

regards - Kim

2
Quest
Re: Load a php in Centerblock
  • 2007/6/10 12:03

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


You should be able to do that pretty easily. Take a look at this site- I didn't name the page, :). It has excellent information and provides several choices for you to try.

http://mywebresource.com/xfd/

3
htdkbno
Re: Load a php in Centerblock
  • 2007/6/10 13:23

  • htdkbno

  • Just popping in

  • Posts: 24

  • Since: 2007/3/4 1


Really good link - learned alot - butttt

i can add the link in the main menu with this addition but a need to change target.

<a class="menuMain" href="<{$xoops_url}>/_htd/index.php">leaderboard</a>

The targer should be the center of the page instead of "same" page.

I have event try Tiny?? models and i can still not get it to work.

What i need is:
Hot to Wrap PHP in Modules. (Not html)

4
tic174
Re: Load a php in Centerblock
  • 2007/6/10 16:43

  • tic174

  • Just popping in

  • Posts: 11

  • Since: 2003/12/9


Not sure if this will help, but have u tried Herve`s Iframe?

5
htdkbno
Re: Load a php in Centerblock
  • 2007/6/11 13:20

  • htdkbno

  • Just popping in

  • Posts: 24

  • Since: 2007/3/4 1


Quote:

tic174 wrote:
Not sure if this will help, but have u tried Herve`s Iframe?


Nahh didnt do the trick - thx anyway - its a nice little tool

6
tic174
Re: Load a php in Centerblock
  • 2007/6/11 17:46

  • tic174

  • Just popping in

  • Posts: 11

  • Since: 2003/12/9


Ahh sorry i think i understand what u mean now.

U want a link in your menu saying "Battlefield2 stats" (or something like that) and when the user clicks on that it`l open your stats in the center block?

If thats the case you could try using the most excellent multimenu by [WPC]Solo71 and creating a menu with a link to your stats index.php.
But then the problem is that it`l take your users out side your XOOPS site and to just the stats page.

The only other thing i can think of is combining Multimenu with yet another great module called icontent (i think it was made by InstantZero, but i cant see a mention about it at his site, maybe u could ask there or on here)

Upload the stats folder to icontent/inpages, then in the admin menu activate the stats directory and then active the index.php.

Then in multimenu create a link to the stats page in icontent.
And that should be it.

Im sure theres probably a eaiser way of doing it, but thats the only way i could think of doing it.

7
htdkbno
Re: Load a php in Centerblock
  • 2007/6/12 10:42

  • htdkbno

  • Just popping in

  • Posts: 24

  • Since: 2007/3/4 1


Yeah that is exsactly want i want. I solved by problem last night, kind a. I got the module "cjaycontent_v3" to work - BUT and there is a but - it wont show the graphic, such as rank ond country.

I will try the other modules you suggested.

But if someone know cjay and could tell me why the graphic won show - please answer here.

Link to original page:
http://www.huntthemdown.dk/_htd/index.php

Link to page without graphic
http://www.huntthemdown.dk/modules/cjaycontent/index.php?id=3

Regards - kim

8
htdkbno
Re: Load a php in Centerblock
  • 2007/6/12 12:22

  • htdkbno

  • Just popping in

  • Posts: 24

  • Since: 2007/3/4 1


IT WORKS !!!!!!!!!!!!

I got it to work with the ejay modul. It was a ? about moving all the pictures to a different folder.

Thx again for all the help!

regards - kim

Login

Who's Online

159 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits