Module Tutorial "My First Module" Question

First question is has anyone tested this with Dolphin 7.1?

I have been testing how different tasks are done in Dolphin 7.1 and have worked through the tutorial in the link below.

          Dolphin 7 Tutorial: My First Module

I have had a few odd things come up and I wanted to validate that someone has tested this with Dolphin 7.1.x

I updated the config.php to allow 7.x.x for the version.

Second, I downloaded the file listed at the bottom of the tutorial thinking that I had just typed something wrong.

The file I used was the bloggie4 file.  It installs, no errors... but does not work correctly.


Thank you,

Cory

Quote · 13 Feb 2013

Anyone?

Quote · 13 Feb 2013

Ok, so maybe I should ask if there is another module dev document that is for Dolphin 7.1

Quote · 14 Feb 2013

It works.

It's a bit crude. Empty page at first because nothing is there.

Go to yoursite.com/m/bloggie/add

Then add a test blog, then go back to yoursite.com/m/bloggie

https://www.deanbassett.com
Quote · 14 Feb 2013

Thank you for validating this.  I am going to start over and try to find what my error is then.

 

Quote · 14 Feb 2013

 

but does not work correctly

It would have helped if you actually stated what was not working. Describing the problem. Because just saying it does not work does not tell us what we need to look for.


https://www.deanbassett.com
Quote · 14 Feb 2013

I was just looking for a does it work with 7.1 or not.  As a general rule, when I really hit a wall I will give lots of info and prolly even screen shots.  :-)

Thanks again though!

Quote · 14 Feb 2013

well - i have a bunch of php pages that I am going to attempt to convert into a module, but I am having a small issue: I get this after installing the demo bloggie4

Fatal error: Class 'MeBlggConfig' not found in /home/mytherap/public_html/inc/classes/BxDolModule.php on line 65

any help in getting this resolved will be greatly appreciated

caredesign.net
Quote · 17 Feb 2013

scratch that last post - i found out what it was:

right under this:

require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolConfig.php');

I put this:

class MeBlggConfig extends BxDolConfig {
    /**
    * Constructor
    */
    function MeBlggConfig($aModule) {
        parent::BxDolConfig($aModule);
    }
}

 

caredesign.net
Quote · 17 Feb 2013

The bloggie zip file already comes with the MeBlggConfig class file.

You should not have had to do anything but upload the files. Don't understand why you were getting a error. If all of the files were uploaded it would not have done that.


https://www.deanbassett.com
Quote · 17 Feb 2013

 

scratch that last post - i found out what it was:

right under this:

require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolConfig.php');

I put this:

class MeBlggConfig extends BxDolConfig {
    /**
    * Constructor
    */
    function MeBlggConfig($aModule) {
        parent::BxDolConfig($aModule);
    }
}

 

What file did you add that to. Because require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolConfig.php'); does not appear in any of the bloggie files.


You may want to start over again. You should not have had to edit anything. You did something wrong somewhere.


https://www.deanbassett.com
Quote · 17 Feb 2013

i went back and looked at my original bloggie4 files - apparently - again another dreamweaver screw up, and it corrupted a few files- but the original classes/MeBlggConfig.php was correct in the original.

caredesign.net
Quote · 17 Feb 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.