Start ::
PostNuke 0.7 Support ::
Core Modules & Blocks ::
phpnuke block to postnuke block
Moderated by: Support Team
-
- rank:
-
Freshman
- registered:
- November 2005
- Status:
- offline
- last visit:
- 13.01.06
- Posts:
- 9
Hi all, I have decided that phpnuke although OK doesnt really do what I want. however PostNuke seems more to what I want to do. it seems strange that phpnuke has dropped the sections module which is one of the reasons for moving to PostNuke.
anyway onto my query I have a block that I used in phpnuke (yes it worked on the sections area when they still existed) and I have tried to get it working in PN but it does not appeared in the new blocks list. The code I used to create this is as follows:
I have searched the threads here but I cannot see an answer for this so I hope I am not duplicating anything
Any help would be appreciated.
Regards
CasioPN -
- rank:
-
Professional
- registered:
- November 2003
- Status:
- offline
- last visit:
- 24.08.08
- Posts:
- 1609
I don't believe anything from phpnuke is compatable with PostNuke at this point... have a look at the Example module for current standards (including blocks), or even in the includes/blocks directory for what PostNuke now calls "oldstyle" blocks for a reference on how to approach this now. You'll see that nothing there resembles your example.
That being said, your example appears to be a simple menu for the sections, PostNuke has a sections block allready available with the core that lists topics dynamicaly... give it a try.
-----
Under Construction! -
- rank:
-
Freshman
- registered:
- November 2005
- Status:
- offline
- last visit:
- 13.01.06
- Posts:
- 9
I will have a look, my head hurts at the moment as I have been studying too many different languages.
In blocks when I create a new one, There is no sections listed there. My version of PostNuke is 0.7.6.0 . I know its not the latest by my webspace provider has this pre-installed so apart from asking if they can upgrade I'll have to put up with this for now.
I had a brief look at the blocks and there seems to be a lot more involved. I will look at the example you mentioned to see if I can figure it out.
Cheers
CasioPN -
- rank:
-
Professional
- registered:
- November 2003
- Status:
- offline
- last visit:
- 24.08.08
- Posts:
- 1609
I am very sorry, my bad... it was the Topics block I was seeing :cry: . Please accept my appolagies.
But since it's just HTML that your inserting the HTML block might do it for you.
Hope your head feels better soon... I hate headaches.
-----
Under Construction!
Start ::
PostNuke 0.7 Support ::
Core Modules & Blocks ::
phpnuke block to postnuke block
