Blog

/Blog
­

Prestashop module translation for module developers

By |August 6th, 2015|

Are you a PrestaShop 1.6 module developer and do you need to add translations for your module?

Then check out these pitfalls that are not mentioned in the PrestaShop documentation.

When on the “Localization -> Translations” page, […]

Prestashop resources

By |June 11th, 2015|

Prestashop constants:
Here’s a list of pretty much all the constants that Prestashop 1.6 defines on a default installation with the default theme and demo content installed.

You can call these from within a Smarty template by {$smarty.const._SOME_CONSTANT}

ALL_CARRIERS
CARRIERS_MODULE
CARRIERS_MODULE_NEED_RANGE
DS
HTMLPURIFIER_PREFIX
MIN_PASSWD_LENGTH
PS_BOTH_TAX
PS_CARRIERS_AND_CARRIER_MODULES_NEED_RANGE
PS_CARRIERS_ONLY
PS_ORDER_PROCESS_OPC
PS_ORDER_PROCESS_STANDARD
PS_PRODUCT_TAX
PS_REGISTRATION_PROCESS_AIO
PS_REGISTRATION_PROCESS_STANDARD
PS_ROUND_DOWN
PS_ROUND_HALF
PS_ROUND_UP
PS_STATE_TAX
PS_TAX_EXC
PS_TAX_INC
PS_UNPACK_MODIFIED
PS_UNPACK_NATIVE
SMARTY_DIR
SMARTY_MBSTRING
SMARTY_PLUGINS_DIR
SMARTY_RESOURCE_CHAR_SET
SMARTY_RESOURCE_DATE_FORMAT
SMARTY_SPL_AUTOLOAD
SMARTY_SYSPLUGINS_DIR
_CAN_LOAD_FILES_
_COOKIE_IV_
_COOKIE_KEY_
_CUSTOMIZE_FILE_
_CUSTOMIZE_TEXTFIELD_
_DB_NAME_
_DB_PASSWD_
_DB_PREFIX_
_DB_SERVER_
_DB_USER_
_MAIL_DIR_
_MEDIA_SERVER_1_
_MEDIA_SERVER_2_
_MEDIA_SERVER_3_
_MODULE_DIR_
_MYSQL_ENGINE_
_PS_ADMIN_CONTROLLER_DIR_
_PS_ADMIN_IMG_
_PS_ADMIN_PROFILE_
_PS_ALL_THEMES_DIR_
_PS_BASE_URL_
_PS_BASE_URL_SSL_
_PS_CACHEFS_DIRECTORY_
_PS_CACHE_DIR_
_PS_CACHE_ENABLED_
_PS_CACHING_SYSTEM_
_PS_CAT_IMG_DIR_
_PS_CLASS_DIR_
_PS_COL_IMG_DIR_
_PS_CONFIG_DIR_
_PS_CONTROLLER_DIR_
_PS_CORE_DIR_
_PS_CORE_IMG_DIR_
_PS_CREATION_DATE_
_PS_CSS_DIR_
_PS_DEBUG_PROFILING_
_PS_DEBUG_SQL_
_PS_DEFAULT_CUSTOMER_GROUP_
_PS_DEFAULT_THEME_NAME_
_PS_DISPLAY_COMPATIBILITY_WARNING_
_PS_DOWNLOAD_DIR_
_PS_EMPLOYEE_IMG_DIR_
_PS_FRONT_CONTROLLER_DIR_
_PS_GENDERS_DIR_
_PS_GEOIP_DIR_
_PS_GEOLOCATION_NO_CATALOG_
_PS_GEOLOCATION_NO_ORDER_
_PS_IMG_
_PS_IMG_DIR_
_PS_JQUERY_VERSION_
_PS_JS_DIR_
_PS_LANG_IMG_DIR_
_PS_MAGIC_QUOTES_GPC_
_PS_MAIL_DIR_
_PS_MANU_IMG_DIR_
_PS_MIN_TIME_GENERATE_PASSWD_
_PS_MODE_DEMO_
_PS_MODE_DEV_
_PS_MODULE_DIR_
_PS_ORDER_STATE_IMG_DIR_
_PS_OS_BANKWIRE_
_PS_OS_CANCELED_
_PS_OS_CHEQUE_
_PS_OS_DELIVERED_
_PS_OS_ERROR_
_PS_OS_OUTOFSTOCK_
_PS_OS_PAYMENT_
_PS_OS_PAYPAL_
_PS_OS_PREPARATION_
_PS_OS_REFUND_
_PS_OS_SHIPPING_
_PS_OS_WS_PAYMENT_
_PS_OVERRIDE_DIR_
_PS_PDF_DIR_
_PS_PEAR_XML_PARSER_PATH_
_PS_PRICE_DISPLAY_PRECISION_
_PS_PROD_IMG_
_PS_PROD_IMG_DIR_
_PS_ROOT_DIR_
_PS_SCENE_IMG_DIR_
_PS_SCENE_THUMB_IMG_DIR_
_PS_SHIP_IMG_DIR_
_PS_SMARTY_CHECK_COMPILE_
_PS_SMARTY_CONSOLE_CLOSE_
_PS_SMARTY_CONSOLE_OPEN_
_PS_SMARTY_CONSOLE_OPEN_BY_URL_
_PS_SMARTY_DIR_
_PS_SMARTY_FORCE_COMPILE_
_PS_SMARTY_NO_COMPILE_
_PS_SSL_PORT_
_PS_STORE_IMG_DIR_
_PS_SUPP_IMG_DIR_
_PS_SWIFT_DIR_
_PS_TAASC_PATH_
_PS_TCPDF_PATH_
_PS_THEME_DIR_
_PS_THEME_MOBILE_DIR_
_PS_THEME_MOBILE_OVERRIDE_DIR_
_PS_THEME_OVERRIDE_DIR_
_PS_THEME_TOUCHPAD_DIR_
_PS_TMP_IMG_
_PS_TMP_IMG_DIR_
_PS_TOOL_DIR_
_PS_TRANSLATIONS_DIR_
_PS_TRANS_PATTERN_
_PS_UPLOAD_DIR_
_PS_USE_SQL_SLAVE_
_PS_VERSION_
_STOCK_MOVEMENT_MISSING_REASON_
_STOCK_MOVEMENT_ORDER_REASON_
_SUPP_DIR_
_THEMES_DIR_
_THEME_CAT_DIR_
_THEME_COL_DIR_
_THEME_CSS_DIR_
_THEME_DIR_
_THEME_GENDERS_DIR_
_THEME_IMG_DIR_
_THEME_JS_DIR_
_THEME_LANG_DIR_
_THEME_MANU_DIR_
_THEME_MOBILE_CSS_DIR_
_THEME_MOBILE_DIR_
_THEME_MOBILE_IMG_DIR_
_THEME_MOBILE_JS_DIR_
_THEME_NAME_
_THEME_PROD_DIR_
_THEME_PROD_PIC_DIR_
_THEME_SCENE_DIR_
_THEME_SCENE_THUMB_DIR_
_THEME_SHIP_DIR_
_THEME_STORE_DIR_
_THEME_SUP_DIR_
_THEME_TOUCHPAD_CSS_DIR_
_THEME_TOUCHPAD_DIR_
_THEME_TOUCHPAD_JS_DIR_
__PS_BASE_URI__

 

Phonegap 3 – Command Line Tips

By |March 15th, 2015|

After having worked with the Phonegap 2.x series before, I mistakenly perceived the 3.x series as an unwelcome change to the way of working I had grown used to.

Phonegap 3.x is centered around the command […]

iScroll 4 documentation

By |March 22nd, 2013|

iScroll, a lovely library that works pretty darn well but whose documentation leaves to be desired in my opinion.

The document below is an addition to the existing docs for all you googlers out there.
About iScroll […]