Git Product home page Git Product logo

doodles's People

Contributors

dafyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

doodles's Issues

stuck at creating table

I am new in extra developement for ModX so please bare with me :)
I am at the point where you create the include snippet in modx with the extra lines of code before the return statement:

<?php
$o = include $file;

$m = $modx->getManager();
$created = $m->createObjectContainer('Doodle');
return $created ? 'Table created.' : 'Table not created.';

return $o;

But when I run the resource document in the browser it says "Table not created."

I'm running this on localhost with xampp.
ModX is installed in /www/modx2
and doodles in the seperated folder /www/doodles

.htaccess RewriteBase is /www/modx2

added System Settings:
doodles.core_path to /www/doodles/core/components/doodles/
and
doodles.assets_url to /doodles/assets/components/doodles/

I noticed that the code in github is slightly different from the ones in the tutorial.
Example: I had to change the MODX_BASE_PATH in "build.config.php".
So I Added

define('MODX_BASE_PATH', dirname(dirname(dirname(dirname(__FILE__)))) . '/www/modx2/');

to make it work in the local environment. this wasn't in the tutorial :(

Is there something else I am missing to make it work on a local mashine?

Index access issue after install package

Hi,

I followed all the tutorial with success and everything worked perfectly except after the install of the doodles package.
I add the following error trying to access the CMP in the manager :

Could not find action file at: /www/core/components/doodles/controllers/index.php

So I changed the following line in doodles/_build/data/porperties/transport.menu.php :

$action->fromArray(array(
    'id' => 1,
    'namespace' => 'doodles',
    'parent' => 0,
    'controller' => 'controllers/index',
   ...

To :

$action->fromArray(array(
    'id' => 1,
    'namespace' => 'doodles',
    'parent' => 0,
    'controller' => 'index',
   ...

After uninstall and re-install the newly build package, it worked fine.

@splittingred could please let us know if this normal or if it comes from somewhere else ?

Tutorial broken with release 2.0.8?

Hi,

I seem to have problems getting this component to work with 2.0.8 by either following the tutorial on the rtmf.modx.com or by downloading the source from here.

Could it be that this tutorial does not work with the most recent version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.