Giter Club home page Giter Club logo

Comments (6)

Spheerys avatar Spheerys commented on September 24, 2024

OK I have found the answer by myself : #15 (comment)

The official doc really should be updated :)

from cliche.

argnist avatar argnist commented on September 24, 2024

Done http://rtfm.modx.com/display/ADDON/Cliche

from cliche.

Spheerys avatar Spheerys commented on September 24, 2024

Thank for the others ;)
Do you know if the MODX rtfm is editable by everybody ?
I never found the way to create an account to participate !

from cliche.

Spheerys avatar Spheerys commented on September 24, 2024

In fact I have a problem: after disabled the load of jquery, the native CSS doesn't load anymore.
Bug or feature ?

from cliche.

argnist avatar argnist commented on September 24, 2024

"The MODX Documentation Wiki is maintained by community members. If you wish to contribute to the Documentation, please request access by emailing [email protected] with your MODX.com username and what parts of the documentation you'd like to be able of working on."

It's the bug. It uses loadJquery instead of loadCss for CSS loading...
You may change in core\components\cliche\controllers\web\plugins\default\default.class.php
$loadCss = $this->getProperty('loadJquery', true);
to
$loadCss = $this->getProperty('loadCss', true);

from cliche.

Spheerys avatar Spheerys commented on September 24, 2024

OK it works !
But I have another problem (ahahah) : I'm loading manualy the last version of jQuery (1.9.1) for other thing.
Moreover, the automatic jquery loaded by Cliche was an old version : 1.4
That's why I wanted to disable the autoload.

But now, with jquery 1.9.1, the fancybox doesn't want to works anymore.
Maybe this version of fancybox is too older for jquery 1.9.1... I'll try to load a new version as new plugin...

from cliche.

Related Issues (20)

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.