cakephp complex query multiple ‘OR’ condition

 

4 ماه پیش

Cakephp using bindmodel to get to deep relations

http://mark-story.com/posts/view/using-bindmodel-to-get-to-deep-relations   Now we want to find the Division that a particular Item belongs to. In normal SQL we could do Show…

4 ماه پیش

Cakephp Multiple languages

http://blog.designs.codes/multi-language-website-using-cakephp/   Multiple languages in a CakePHP 2.* application in 5 steps https://book.cakephp.org/2.0/en/core-libraries/internationalization-and-localization.html  

6 ماه پیش

Add file to media library programmatically

 

8 ماه پیش

Using The WordPress Debug Log

define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_DISPLAY’, false ); define( ‘WP_DEBUG_LOG’, true ); if ( ! function_exists(‘write_log’)) { function write_log (…

8 ماه پیش

How to merge / concatenate mp3s with PHP

http://www.theblog.ca/merge-mp3s-php   One of the new features of my anti-spam plugin is the ability to create auto-generated mp3 files. The plugin concatenates individual…

8 ماه پیش

Android Generating Signed apk

ساخت فایل APK (خروجی APK) در اندروید استودیو   https://developer.android.com/studio/publish/app-signing.html

11 ماه پیش

Django celery test project

https://github.com/sibtc/django-celery-example https://simpleisbetterthancomplex.com/tutorial/2017/08/20/how-to-use-celery-with-django.html

1 سال پیش

Django Get Ajax data with post, get, json

http://www.tangowithdjango.com/book/chapters/ajax.html https://simpleisbetterthancomplex.com/tutorial/2016/08/29/how-to-work-with-ajax-request-with-django.html https://gist.github.com/pebreo/e27deb89d102dedc0db0 (tested)

1 سال پیش

Django create variable in template

templatetags.py

setting.html 

 

 

1 سال پیش