Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1734

Extension Writers Discussion • Re: 📕 Extension Development Documentation

$
0
0
Hello,

There appear to be some typos in this section of the documentation.

Code:

{% if not $INCLUDED_JQUERYUIJS %}    {% INCLUDEJS '@vendor_extname/jquery-ui.js' %}    {% DEFINE $INCLUDED_JQUERYUIJS = true %}{% endif %}
Shouldn't it look like this to avoid the blank page (of death)?

Code:

{% if not definition.INCLUDED_JQUERYUIJS %}    {% INCLUDEJS '@vendor_extname/jquery-ui.js' %}    {% DEFINE INCLUDED_JQUERYUIJS = true %}{% endif %}
The same goes for the examples of template variable definitions.
  • HighSlide JS: $INCLUDED_HIGHSLIDEJS
  • Font Awesome CSS: $INCLUDED_FONTAWESOMECSS
  • ColorBox JS: $INCLUDED_COLORBOXJS
  • ColPick JS: $INCLUDED_COLPICKJS
  • MoTools JS: $INCLUDED_MOTOOLSJS
  • Dojo JS: $INCLUDED_DOJOJS
  • Angular JS: $INCLUDED_ANGULARJS

Statistics: Posted by cabot — Wed Apr 10, 2024 12:23 pm



Viewing all articles
Browse latest Browse all 1734

Trending Articles