PostNuke: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  Extensions Support and Information ::  Modules ::  Pagemaster feedback

Moderated by: Support Team

Goto page : Previous Page 1 | 2 | 3
Bottom
Pagemaster feedback

  • Link to this postingPosted: 17.04.2008, 13:54
    Profile Homepage
    mumuri
    rank:
    pnSoftmore pnSoftmore
    registered:
     May 2004
    Status:
    offline
    last visit:
    04.05.08
    Posts:
    53
    is it possible to import the existing workflow from Pagesetter (for instance Wiki workflow)

    -----
    Top Flood - a discussions board based on pnForum
  • Link to this postingPosted: 17.04.2008, 15:04
    Profile
    spax
    rank:
    pnFreshman pnFreshman
    registered:
     January 2005
    Status:
    offline
    last visit:
    04.05.08
    Posts:
    37
    Actually it's very easy to import an workflow from Pagesetter to pagemaster, the notation is very similar. I plan to import all standart workflows anyway.
    But as I said, If you have own workflows it's easy to convert them.
  • Link to this postingPosted: 17.04.2008, 19:10
    Profile Homepage
    videokid
    rank:
    pnProfessional pnProfessional
    registered:
     March 2003
    Status:
    offline
    last visit:
    07.05.08
    Posts:
    806
    Well instead of working, I couldn't resist any longer, so I installed the latest Pagemaster form SVN.
    1. Installation went fine
    2. made a pub type, also went fine
    3. made a publication, went not so fine
    Code
    Table 'pnuser_postnuke.pn__pagemaster_pubdata1' doesn't exist
    SELECT MAX(pm_pid) FROM pn__pagemaster_pubdata1

    Table '
    pnuser_postnuke.pn__pagemaster_pubdata1' doesn't exist
    INSERT INTO pn__pagemaster_pubdata1 (pm_pid,pm_online,pm_showinlist,pm_language,pm_1,pm_2,pm_cr_date,pm_cr_uid,pm_lu_date,pm_lu_uid)VALUES (1,'1','1','','Test 1','Well, believe it or not, this is really a test, not only with pagemaster, but with my new computer... oeha... icon_smile .
    So, Test 1'
    ,'2008-04-17 12:51:35','2','2008-04-17 12:51:35','2')


    I guess it's the prefix change?

    Well, back to work now

    - Igor
    -----
    Have a nice day
    PostNuke.be is currently running
    PN 0.8.0.0-RC3
  • Link to this postingPosted: 17.04.2008, 20:10
    Profile
    spax
    rank:
    pnFreshman pnFreshman
    registered:
     January 2005
    Status:
    offline
    last visit:
    04.05.08
    Posts:
    37
    possible that a prefix change don't work with pagemaster.
    did you create the tables after adding the fields? There is a button for that.
  • Link to this postingPosted: 17.04.2008, 20:13
    Profile
    spax
    rank:
    pnFreshman pnFreshman
    registered:
     January 2005
    Status:
    offline
    last visit:
    04.05.08
    Posts:
    37
    At the moment I have serious problems with table SUFIX (select * from abc AS sufixname)
    Because I added a nice feature. If you add a pubfield with publication type, you can choos pagemaster should JOIN this table automaticly and you can tell pagemaster which fields you wanna use from the joined table.
    The problem is now, that a few fields are the same pm_online e.g. so if you use this in where it does not work. At the moment I did not find a solution without hacking DBUtil :(

    Has nothing to do with your problem, but thats why there are not so many commits at the moment....
  • Link to this postingPosted: 17.04.2008, 21:25
    Profile Homepage
    videokid
    rank:
    pnProfessional pnProfessional
    registered:
     March 2003
    Status:
    offline
    last visit:
    07.05.08
    Posts:
    806
    OK, my bad, I didn't update the Database tables. Sorry.
    After I did I still got an error, but somehow the data was/is saved.
    Code
    Table 'uwctnvdq_postnuke.pn_pagemaster_pubdata1' doesn't exist
    update pn_pagemaster_pubdata1 set pm_hitcount = pm_hitcount + 1 where pm_pid = 1
    News
    Exit-Handler: Exiting after SQL-error Stacktrace:


    in phpmy_admin pm_hitcount isn't increasing... there's indeed the suffix problem I guess.

    - Igor

    - Igor
    -----
    Have a nice day
    PostNuke.be is currently running
    PN 0.8.0.0-RC3
  • Link to this postingPosted: 03.05.2008, 22:06
    Profile Homepage
    bronto
    rank:
    pnHelper pnHelper
    registered:
     September 2001
    Status:
    offline
    last visit:
    12.05.08
    Posts:
    113
    One thing I've hoped would be added to Pagesetter, and now pagemaster, is the ability to set a landing URL in the workflow after a form is submitted. A "thank you for submitting this form" thing. I hacked something in to Pagesetter to do this, but it was ugly because the workflow was out of scope by the time I needed the URL, so I jammed the URL into a session variable when I still could.

    Reading your conditional workflow description, maybe this is possible with pagemaster now?
  • Link to this postingPosted: 04.05.2008, 12:01
    Profile
    spax
    rank:
    pnFreshman pnFreshman
    registered:
     January 2005
    Status:
    offline
    last visit:
    04.05.08
    Posts:
    37
    This is possible in pagemaster.
    And you can also execute workflow actions, without loading the form and press a button with a URL request instead.
  • Link to this postingPosted: 05.05.2008, 16:31
    Profile Homepage
    videokid
    rank:
    pnProfessional pnProfessional
    registered:
     March 2003
    Status:
    offline
    last visit:
    07.05.08
    Posts:
    806
    Hi, since I'm using another prefix then the standard one, I've changed function.hitcount.php
    Code
    function smarty_function_hitcount($params, & $smarty) {

        $prefix = pnDBGetTablePrefix('pagemaster_pubdata');
        $tid = $params['tid'];
        $pid = $params['pid'];

        if (!$tid)
        return 'Required parameter [tid] not provided in smarty_function_hitcount';
        if (!$pid)
        return 'Required parameter [pid] not provided in smarty_function_hitcount';
       
        $tablename = $prefix . '_pagemaster_pubdata' . $tid;

        $sql = "update $tablename set pm_hitcount = pm_hitcount + 1 where pm_pid = $pid "
        DBUtil :: executeSQL($sql);
       


    }

    I haven't checked out the other plugins yet, but I guess if someone is using another prefix, they'll end up having problems... [especially if upgrading from an old PN-installation... one never knows... icon_wink ]
    Just letting you know...
    - Igor
    -----
    Have a nice day
    PostNuke.be is currently running
    PN 0.8.0.0-RC3
  • Link to this postingPosted: 05.05.2008, 23:45
    Profile Homepage
    videokid
    rank:
    pnProfessional pnProfessional
    registered:
     March 2003
    Status:
    offline
    last visit:
    07.05.08
    Posts:
    806
    bon, I've been playing with PM...[read, didn't want to work today]
    I managed to make some templates...

    - Upload image: the image is uploaded, no tmb created... and error comes up. I can see the uploaded image on the ftp-server
    - list and multi-list: serious problems... not working, although I can edit/add categories [I really had to check that section out]
    - publication ID: I could get it to work
    - something is wrong with the cr_date en lu_date... updating the article changes the created_date

    In the future: how about inlinePubLists, ReadPubCounts and filtering?

    test site: http://www.postnuke.be/

    Just giving feedback icon_wink

    Enough for today...

    - Igor



    -----
    Have a nice day
    PostNuke.be is currently running
    PN 0.8.0.0-RC3
  • Link to this postingPosted: 05.05.2008, 23:48
    Profile Homepage
    videokid
    rank:
    pnProfessional pnProfessional
    registered:
     March 2003
    Status:
    offline
    last visit:
    07.05.08
    Posts:
    806
    forgot to mention, in the database, for the image field I could find:
    Code
    a:3:{s:9:"orig_name";s:8:"kn03.jpg";s:8:"tmb_name";s:38:"91d9v0tkc2bmk3wvvnt6kk51vtwspk-tmb.jpg";s:9:"file_name";s:34:"91d9v0tkc

    I hope it's helpfull...
    - Igor
    -----
    Have a nice day
    PostNuke.be is currently running
    PN 0.8.0.0-RC3
Goto page : Previous Page 1 | 2 | 3

Start ::  Extensions Support and Information ::  Modules ::  Pagemaster feedback

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to PostNuke