Own menu items open in center Block?

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
crazydiamond
Active Member
Posts: 5
Joined: 30. January 2011 18:31

Own menu items open in center Block?

Post by crazydiamond »

Your Portal Version: 1.0.6
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: 92.232.81.30/phpbb

PHP Version: 3

What have you done before the problem was there?


What have you already tryed to solve the problem?
Board is in test mode on my own PC

Description and Message
Hi,

I was wondering if somebody could help me.
I really like this Portal and have been playing with it for hours now.

I wanted to add an external wind meter from a local site to my Portal custom block for center block.
I had to remove the left column to fit it in, but it does finally work with the following code.

Code: Select all

<center><embed src="http://www.tbyc.org/weather/index.php"HEIGHT=650 WIDTH=700></center>
I have now decided that I would much prefer to have some custom menu items instead, and have each of those open within a Custom center block.
Is this Possible?

I have read this knowledge/kb_show.php?id=16, So I am aware of how to add menu items and point them at my own php pages.
But I would really like everything to open within a Block that is in the center of my portal home page.

This would be great, as I could have wind meters and tide timtables appear in the same block when a visitor clicks the link on the menu.

Thanks for your time, and I look forward to some expert advice.

Terry[/i]

Topic author
crazydiamond
Active Member
Posts: 5
Joined: 30. January 2011 18:31

Re: Own menu items open in center Block?

Post by crazydiamond »

Have since found out that you cannot run php in blocks :/

Is there no way what so ever to run php within a block?
Only way I can seem to do it is

Code: Select all

<center><embed src="todaytide.php"width=150  length=400 </center>
todaytide grabs the tide information and puts it in the block, but IE and Firefox both need a plugin>!?!?

Anyone? Please

Topic author
crazydiamond
Active Member
Posts: 5
Joined: 30. January 2011 18:31

Re: Own menu items open in center Block?

Post by crazydiamond »

Ignore this, The trouble these blocks are giving me, I will not bother and just create a new php page for each link.
These blocks have problems with php :(
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Own menu items open in center Block?

Post by Marc »

The blocks do not have problems with PHP, you just need to use the template syntax for phpBB.

More info on that: http://wiki.phpbb.com/display/MODDOCS/T ... ate+syntax
Locked

Return to “board3 Portal 1.0.x - English Support”