Fork me on GitHub

NEW MODULE: BlockHome - Custom pages of news and blocks  Bottom

Go to page [-1] 1 - 2 - 3 - ... 9 - 10 - 11 [+1]:

  • Has anyone tested out BlockHome with AutoTheme 1.0, the paid version?

    I tried BlockHome with AT .7 (the free version) on a fresh install of PN and it worked fine, but now I did a fresh install of PN using AT 1.0 and none of the AT Autoblocks are showing up as Block styles in BH when I'm editing block styles for Columns.

    Can anyone verify that it works under AT 1.0?
  • Not by default... to get it to work with AT 1.0, find the following code at the top of the pnadmin.php file in the BlockHome module:

    Code

    if (file_exists('modules/Blocks/autoblock.cfg')) {
        include('modules/Blocks/autoblock.cfg');

    And change it to:

    Code

    if (file_exists('modules/AutoTheme/autotheme.cfg')) {
        include('modules/AutoTheme/autotheme.cfg');

    Then, in the pnconfig.php of that module *remove* the code to suck in the Nuclei blocks, as they will not work together:

    Code

    // Add extra Nuclei Block Zones included with your version of the program
    if (file_exists('modules/Blocks/nuclei.cfg')) {
        $GLOBALS['styles'] = $GLOBALS['styles'] + array('1' => 'Area 1',
                        '2' => 'Area 2',
                        '3' => 'Area 3',
            '4' => 'Area 4',                            '5' => 'Area 5',
            '6' => 'Area 6',
            '7' => 'Area 7',
            '8' => 'Area 8',
            '9' => 'Area 9',
            'W' => 'Area W',
            'X' => 'Area X',   
            'Y' => 'Area Y',   
            'Z' => 'Area Z',   
            't' => 'Top',   
            'b' => 'Bottom',                            );
    }

    (Or just remove Areas 1 through 9)... That should do it!

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Awesome.. thanks!
  • Update Notice: BlockHome has had a minor version update to address the issues above. From the ChangeLog:

    [BlockHome version 1.1.1]
    • Changed ctype function to is_numeric in pnadmin/pnuser to alleviate compatibility issues with newer PHP
    • Added compatibility with AutoTheme 1.0 (Commercial Version)
    • Updated pnadmin so Nuclei Block zones are not loaded if either AT, AT-L is present, to prevent zone conflicts

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • After installing, intializing and activating the module, I have a problem when trying to use it. The icon shows up in the AdminCP, but when I click on it, it just goes to a listing that is identical to the News module.

    Here's the URL it's generating:

    http://www.mysite.com/Nuke/index.php?module=BlockHome&type=admin
  • I have unzipped BlockHome in modules but which I didnt notice is the it was in a folder modules so its was in modules/modules/BlockHome I went and intialized it then I noticed so I deleted the folder BlockHome to /modules and deleted the emtpy modules folder then next thing is the modules icon in the Administration Menu not available I read about the nuke_module and changing the pn_state to 2 but I still didnt understand what to do please I need help I am still new to postnuke :)
  • To OSS & skicrave, if you are unzipping online - unzip in your PN *root* directory. If you are unzipping and uploading, you want to place the BlockHome directory (and the files & subdirs therein) under the module directory in your PN site... Also, the module is designed to work with PN .726, so make sure you have the correct version...

    So it *should* be in...

    Code

    module/BlockHome/

    I'd start from scratch if still experienceing any difficulties...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • nate I know that but when I unzipped BlockHome I had the file in modules I alreay downloaded it to that directory so it had /modules/modules/BlockHome then I initialized and as i was doing that I noticed that I did something wrong so I went and deleted that folder now in Admin Menu I dont see Modules everything else is working the folder is there and modules folder contains Modules and I reset that folder to 755 maybe it changed permission but nothing worked my main problem now is that I cant see the Modules in admin menu :(
  • I'd say start over.... deactivate/delete the module, then reupp the folders to the correct directory...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • As I wish to do that but i cant since i dont see the MODULES ICON in the ADMINISTRATION MENU
  • I think then maybe what you did was *overwrite* some files in your modules/Modules directory. Re-up the files for your Modules module (modules/Modules), then upload the BlockHome file to the modules (modules/BlockHome) subdir and you should be fine...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Nate -- Thanks for your mod and your tutorial! Excellent work! I am a newbie to PHP & Postnuke. I am creating a multisite and I am using your Mod (BlockHome) to create the different main pages for each site. I have built the first group which has 2 blocks; first block (Block Style: Left Cell Width: 100%) that carries 10 stories, second block (Block Style: Right Cell Width: 100%) that carries a random picture. My question to this is how can I fill the same first group with more blocks but only under the randon picture block using BlockHome? The object is to fill the right side to meet the page length of the stories.

    Thanks in advance for your time and support.
  • Can this block be used with AutoTheme? I'm looking for some very specific functionality and this may do what I need, but all my site themes are developed using ATlite. I turn off switching of themes due to design specifics of layout. I'm going d/l your module and test it out on my test environment w/ AT and see what happens.

    Thanks
  • Sorry, didn't see posts at end of thread...... Sorry for the post, please ignore.

    Ruth in AZ
  • Nate, you provided me some info a while back regarding news block placement based on what I wanted to do. At first glance at this new module, I'm thinking you solved my delimma, but I'm still a bit confused about the functionality of the mod.

    What I'm looking to do is to be able to direct each individual news story to a particular block placement within a given page or pages, which with the current core news mod you really can't do without making hacks to the code. Am I correct in that, when a news story is created, I can go into this module and direct its placement using its id's. I use AutoTheme lite and create different default theme.html for specific moduals, but this hasn't really help with using the news mod. How would I use this in conjunction with a news.html page I create. I would create that template with all the blocks I might want to use for placement. How would I specify that template for setting this up and for that matter any of the templates that I might want to use for the different modules.

    I hope I've been clear with my descriptions. If this does what I think it does, you've just moved PN to the next level. What I'm trying to accomplish is using PN in more of an online magazine layout that is interesting and flexible.

    Thanks for your great work

    Ruth in AZ

Go to page [-1] 1 - 2 - 3 - ... 9 - 10 - 11 [+1]:

  • 0 users

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