Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Adding "External" .php to a Block
  • Posted: 09.11.2003, 02:04
     
    cecilbergwin
    rank:
    Freshman Freshman
    registered:
     June 2003
    Status:
    offline
    last visit:
    08.11.03
    Posts:
    10
    Hello people.

    My problem is, I have several .php pages which i would like to display on (side) blocks.

    How would i implement a working .php page into a block on PostNuke ?

    Many thanx..

    Cecil
  • Posted: 09.11.2003, 02:08
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.11.08
    Posts:
    13413
    use the core / PHP block and paste in the code

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 09.11.2003, 02:23
     
    cecilbergwin
    rank:
    Freshman Freshman
    registered:
     June 2003
    Status:
    offline
    last visit:
    08.11.03
    Posts:
    10
    Thx for reply. I scoured the forums and that suggestion was the only thing i found. Still no joy.

    I get a parse error for the PHP script im trying to use. Ive got several scripts to use and none of these seem to be able to be added that way ?.

    Any more help greatly appreciated.

    Thank you.
  • Posted: 09.11.2003, 02:31
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.11.08
    Posts:
    13413
    when you add the script to the block, remove the PHP tags i.e as these are not needed.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 09.11.2003, 02:40
     
    cecilbergwin
    rank:
    Freshman Freshman
    registered:
     June 2003
    Status:
    offline
    last visit:
    08.11.03
    Posts:
    10
    ok, Well that worked.

    I now got a problem, my script had error and i cant get to my main page to even remove block ?

    ANywhere i can go maually to now remove.? Need help bad now page dead.
  • Posted: 09.11.2003, 02:46
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.11.08
    Posts:
    13413
    look in the nuke_blocks table, and deactivate the block that is causing the problem by editing the pn_active field.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 09.11.2003, 02:54
     
    cecilbergwin
    rank:
    Freshman Freshman
    registered:
     June 2003
    Status:
    offline
    last visit:
    08.11.03
    Posts:
    10
    Cant get to admin panel or nothing mate.
  • Posted: 09.11.2003, 02:58
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.11.08
    Posts:
    13413
    sorry, via phpMyAdmin - it should be available as a link in CPanel, if you have that at your host...

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 09.11.2003, 02:58
     
    cecilbergwin
    rank:
    Freshman Freshman
    registered:
     June 2003
    Status:
    offline
    last visit:
    08.11.03
    Posts:
    10
    *Problem Solved*

    Thanx Hammerhead, i ended up going directly into the SQL DB an (deactivating) that block. Many thanx sir I owe you 1.
    This should also clear my "original" problem up as the block was actually working the way you suggested to me Thanks, juts obviously i had PHP script error my side.

    Thanx
  • Posted: 09.11.2003, 03:04
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.11.08
    Posts:
    13413
    Glad you got your problem sorted :)

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 09.11.2003, 03:14
     
    cecilbergwin
    rank:
    Freshman Freshman
    registered:
     June 2003
    Status:
    offline
    last visit:
    08.11.03
    Posts:
    10
    This is what im trying to acheive.

    Im using PostNuke *main*
    PhpBB "Forums"

    Now If i would have been sensible in the 1st place, i should have done like you guys done with a PNphpBB conversion, but i Launched my site in June this year and things have grown somewhat now in"content" & "members" for both Site and Forums.

    I only have User - Sign ups via forum, as my PostNuke install contains only myself and staff for administration. Now then... I want to make the main front site (PN) more dynamic with the Forum data. So i spotted the Fetch_all_phphbb scripts. This seemed do be a good idea to solve my problems for dynamic data on front end.

    Errors now occuring via path data ../ from forum, "but" im sure ill sort that 1 out unless you have any suggestions. from paths i state below.

    Do you have any suggestions yourself ? or anybody else who may have better ways to get my "forum" data segments like,Users online, Top Threads and so on without having to use any Mod at this current stage.

    My site if you want to have a look is www.racing.edgegaming.com with forums being at www.racing.edgegaming,com/forums (2 seperate installs).

    Any help, tips, advice is appreciated for sure. Thanx.
  • Posted: 09.11.2003, 03:19
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.11.08
    Posts:
    13413
    well the best best best thing to do would be to use a conversion script to take your standalone forums into the PNphpBB module. I think these are available. That would completley solve your problem...

    If you are sure you dont want to do that, then the solution you have at the moment is the only one I can think of

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula