Fork me on GitHub

Pagesetter in admin.htm  Bottom

  • Maybe I'm missing something very obvious, but this is driving me nuts. If anyone has a clue about what I can do to get this working, it would be greatly appreciated. The ideas that I've found here only go partway towards fixing the problem or add new problems. The same applies to what I've found at the Pagesetter sites.

    I'm developing a site on PostNuke .764. I'm also using Pagesetter 6.3 for most of the general content. I have a custom theme for the front end and have developed a very basic admin page. I've got the admin.htm working well for everything except Pagesetter, which dies a sad death in various fashions depending on what I try to do.

    If I use the fix listed in http://community.postnuke.com/Article2807.htm, all the javascript dies if I go beyond the initial Pagesetter admin page (module=Pagesetter&type=admin). At this point, I can't do anything.

    Code

    Code
    <!--[pnvarcleanfrominput name="func" assign="func"]-->
    <!--[pnmodgetname assign="module"]-->
    <!--[ if ($module=="pagesetter") && (($func=="publist")||($func=="pubedit") || ($func=="pubtypeedit"))]-->
    <body >
    <a href="index.php">Frontpage</a> | <a href="admin.php">Administration</a> |<a href="Stats.html">Statistics</a>            
    <!--[$maincontent]--></body><!--[else]-->
    main body


    If I try to set a pagesetter.htm page for the module, only the initial type=admin page works. Everything else defaults to the master.htm page which is what I'm trying to avoid (the layout doesn't work for admin tasks). And the javascript still doesn't work.

    Code

    <!--[pnvarcleanfrominput name=func assign=func]--> <!--[if ($func == 'pubedit') || ($func == 'publist') || ($func == 'pubtypeedit') || ($func == 'history')]--><!--[include file="modules/admin.htm"]--><!--[else]--><!--[include file="master.htm"]--><!--[/if]-->


    As this is still a local install, I can't provide a link to check it out (there is no way I'm going live until I get this sorted out). But if anyone has any idea of what I can try to get this working, I would greatly appreciate any help at all. At the moment, it is driving me to drink and it is still much too early in the day for a stiff martini. I can't believe that I am the only idiot out there who has tried this and missed something. There has to be something pretty basic that I just can't figure out.
  • The problem is the initial admin page is all that is an admin page, the rest are user pages. There IS a way to specify a template for specific functions in a module in newer versions of PostNuke. I'll have to remember which Site I did it for an I can give you some direction, if someone doesn't beat me to it.

    --
    Home Page | Find on Facebook | Follow on Twitter

This list is based on users active over the last 60 minutes.