Start ::
Community ::
0.8-RC3 Feedback ::
Where's the php Block ? I need to include php scripts too
Moderated by: Support Team
-
- rank:
-
pnFreshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 25.03.08
- Posts:
- 11
I need a block for my external bannerscript that is able to include this small PHP snipped.
The variable is necessary to set the output value.
Copying this into a .php file and call it using the external file block doesn't work. -
- rank:
-
pnProfessional
- registered:
- September 2002
- Status:
- offline
- last visit:
- 11.05.08
- Posts:
- 745
Take the pnRender Block and include that code there. The PHP block was removed due to insolveable security issues.
-----
best regards from Kiel, sailing city
Steffen Voß
Member of the PostNuke Steering Committee
Visit: Kaffeeringe.de - Internet & Kreativität -
- rank:
-
pnFreshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 25.03.08
- Posts:
- 11
The block doesn't give me space to include. It only let me includ parameters but I don't know how that should be filled as there's no info in the pnRender module iteself on how to work with the block.
-
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- online
- Posts:
- 13326
The best way to deal with this is to create a very simple block yourself which contains your banner code - use the blocks in system/Blocks/pnblocks as a basis
-----
Regards,
Simon
itbegins.co.uk - PostNuke Consulting
Please read the Support Guide -
- rank:
-
pnFreshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 25.03.08
- Posts:
- 11
Ok, I modyfied the HTMLblock to
what gives me correct output on the right side (the 2 banners under each other) at http://www.tech...er.de/tb2008
... but now the Blockheader is missing
-
- rank:
-
pnFreshman
- registered:
- July 2004
- Status:
- offline
- last visit:
- 26.03.08
- Posts:
- 22
Same problem here. I tried
inside the HTML block but its just not showing anything. So how do I get this content shown up inside my page?
I tried to make an additional block as well:
But there is just an empty block in this case.
And using finclude-block doesn't work too, it writes the include line down instead of showing the content.
edited by: Horian, Mar 26, 2008 - 09:30 PM
Start ::
Community ::
0.8-RC3 Feedback ::
Where's the php Block ? I need to include php scripts too
