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

Support Forum

Start ::  PostNuke 0.7 Support ::  XTE Support ::  When Content Wrappers go bad! need help

Moderated by: Support Team

Bottom
When Content Wrappers go bad! need help

  • Link to this postingPosted: 13.01.2008, 00:01
    Profile
    backharlow
    rank:
    pnFreshman pnFreshman
    registered:
     July 2006
    Status:
    offline
    last visit:
    14.01.08
    Posts:
    31
    Okay so I'm working on a theme, and trying to a assign a template to a module.
    Created the template in Templates.
    Then went over to Content Wrappers. I then created a new Content Wrapper, assigned to the module, however I didn't choose anything for the bottom field.
    The new Wrapper then showed as THE ONLY wrapper for the theme, and was inactive.
    So I hit configure, and tried to assign the Wrapper to my template htm file, but the drop down for selecting a template was blank.
    So, I cancelled, and tried to delete the Wrapper, to start over, and it said, Sorry! No zones specified in API arguments. and threw me back to the main menu.
    Now, every time I try to access Content Wrappers function whatsoever in the theme, it says Sorry! No zones specified in API arguments. and throws me out again. I went into the database and was unable to find any table entry for my bad Wrapper.
    All I want to do is delete the broken Wrapper entry so I can get back to attempting to use Wrappers at all.
  • Link to this postingPosted: 13.01.2008, 00:12
    Profile Homepage
    AmmoDump
    rank:
    pnProfessional pnProfessional
    registered:
     December 2003
    Status:
    offline
    last visit:
    08.05.08
    Posts:
    2635
    LOL, this is why I do all my themes by hand.

    Are you using PN .7 or .8 ?





    -----
    -- David Pahl -- (PostNuke Support Team)

    <div id="me" class="none" style="none" />

  • Link to this postingPosted: 13.01.2008, 02:22
    Profile
    backharlow
    rank:
    pnFreshman pnFreshman
    registered:
     July 2006
    Status:
    offline
    last visit:
    14.01.08
    Posts:
    31
    I'm on PN .764. What do you mean by doing it "by hand". Don't you still have to go through the Xanthia interface to get the wrappers, block control and the like to work? I'm vaguely aware that you can put module assignment in the xaninit.php file, but I don't know how and it doesn't seem to be documented anywhere.
    Also, I solved the initial problem of this post by doing a "table flush" in MySql of the theme_zone table, but now I'm stuck where I can create a template entry in Xanthia as a Module Template, and then create a Content Wrapper assigned to the module as "New Master for a module", and then successfully assign the template to the Wrapper. But.. there is no visible effect on the actual module output that the Wrapper has been assigned to. So, in affect, none of this does any good. The module template for the homepage (which is set up the same way by default) seems to work, and all block-control and tag related things work, so this is strange.

    Specifically, all I'm trying to do is assign a master template to pnForum.
  • Link to this postingPosted: 13.01.2008, 02:40
    Profile Homepage
    AmmoDump
    rank:
    pnProfessional pnProfessional
    registered:
     December 2003
    Status:
    offline
    last visit:
    08.05.08
    Posts:
    2635
    Honestly, I have no idea how to get the XTE interface to work with .7
    Xaninit.php
    Code
    CreateThemeTemplate($skinID, <template label>, <template filename>, <template type>);
    CreateThemeZone($skinID, <definition - language define>, <label>, <type>, <active>, <skin type>);

    look at the other in the file...
    You have to reinitalize the theme... or just copy and rename it. Make sure your cache and compile are set in Dev mode.
    Really storing this data in the DB is a poor idea anyway. I always hard write config files.



    -----
    -- David Pahl -- (PostNuke Support Team)

    <div id="me" class="none" style="none" />

Start ::  PostNuke 0.7 Support ::  XTE Support ::  When Content Wrappers go bad! need help

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to PostNuke