Welcome Guest, Not a member yet? Register   Sign In
Matchbox RC2

[eluser]murphy2006[/eluser]
No problem! Wow, that is very cool. Matchbox climed a notch in my book.
Thanks for a great module!

[eluser]garymardell[/eluser]
Any module manager out there? *echo*...*echo*...*echo*...

I mean how would it even get implemented?

[eluser]zdknudsen[/eluser]
I had planned to make one, but still haven't made anything usable. Basicly it would work by having a file in the module root folder with methods for installing/updating/etc.

If I'll ever get it done, it wont be in the nearest future.

[eluser]Michel-Ange[/eluser]
It is possible to call a module from a view ike in ME :
Code:
<?php echo modules::run('module_name', $data, 'method_to_call') ?>
or did I have to use librairies to do that kind of job from a view ?

[eluser]zdknudsen[/eluser]
No, this is not possible with Matchbox. I try to keep it as close to CodeIgniter except for the added organization possibilites. Using Matchbox, libraries is probably the way to go, yes.

[eluser]adamp1[/eluser]
Is the install uninstall module functions in the latest release? I know you talked about them not long ago. I'm not asking about an actual administration page just the library functions?

[eluser]zdknudsen[/eluser]
I'll just qoute myself Smile
[quote author="Zacharias Knudsen" date="1208057135"]I had planned to make one, but still haven't made anything usable. Basicly it would work by having a file in the module root folder with methods for installing/updating/etc.

If I'll ever get it done, it wont be in the nearest future.[/quote]

Besides, the install/uninstall wouldn't be functions as such, as it were the module developers themselves that would fill them out, and the module manager merely calling them. What they would contain would mostly just be database table imports.

I've been wondering if some kind of unpacking mechanism (for images, stylesheets, etc, that could be exported to a given asset directory) would be of interest.

[eluser]adamp1[/eluser]
That would be good, might have to then implement my own install/uninstall methods.

[eluser]medium_kreation[/eluser]
HI, all is working fine at my local server but when i but the site live it gives the below error..
Code:
Fatal error: Call to undefined function: module_model()

My local server is Windows/Apache/PHP 5.2 /Mysql 5
& my online server is Linux/Apache/PHP 4.4 /MYSQL 5

plz help i don’t know what’s wrong..

problem is at the default controller that load when you access the domain url
Code:
<?php

class Site extends Controller {

    function Site()
    {
        parent::Controller();
        
        #load modules
        $this->load->module_model('news','news_model', 'news');

[eluser]zdknudsen[/eluser]
Sounds very much to me like you're using an old version of Matchbox which required a fix for PHP4 servers (since CodeIgniter couldn't, and still can't - damn you devteam, extend the Loader class in php4). My best advice would be to upgrade, but if you do not wish to do so, a hotfix file should have been provided with the version you downloaded.




Theme © iAndrew 2016 - Forum software by © MyBB