Disable WordPress Comments on all posts with MySQL command
1. Setting > Discussion : Disable comments of WordPress page
2: PhpMyAdmin: UPDATE wp_posts SET comment_status = ‘closed’ WHERE comment_status = ‘open’;
1. Setting > Discussion : Disable comments of WordPress page
2: PhpMyAdmin: UPDATE wp_posts SET comment_status = ‘closed’ WHERE comment_status = ‘open’;
Kis puha, ragadós kezek nyúlkálnak a kincsesládába,
a nyáj zúg, farkas járja az erdőt.
A kanász egy mesén gondolkodik,
a bojtár elszökött.
A házak ablakai mögött súgdolódnak,
nem ízlik a bor.
A föld alszik, fekete és zsíros.
A kezek tiszták, megmosva.
A pusztaságba messzire látni,
de nincs mit.
Az éjszaka hideg,
az angyalok bebújnának a kabátok alá.
links:
https://github.com/enyo/dropzone/wiki/FAQ
http://stackoverflow.com/questions/17872417/integrating-dropzone-js-into-existing-html-form-with-other-fields
https://github.com/enyo/dropzone/wiki/Combine-normal-form-with-Dropzone
http://www.acnenomor.com/1916426p1/combine-normal-form-with-dropzone
http://stackoverflow.com/questions/25377744/configure-dropzone-display-area
When you create it in code:
http://stackoverflow.com/questions/18032132/dropzone-image-upload-options-not-working
Implementing DropzoneJS with Laravel 4: http://chrisbeaver.com/2014/09/using-dropzonejs-laravel-4/
Dropzone.js and Laravel 4: http://www.rustynailor.co.uk/dropzone-js-and-laravel-4/
Special Dropzone setting in this article: Upload and Resize image using Dropzone.js, jQuery, Ajax and PHP: http://www.jqueryajaxphp.com/upload-resize-image-dropzone-php/
utcazenélés | 163 | Ft/m2/nap |
konténer | 3051 | Ft/db/nap | 2543 | Ft/db/nap | 2136 | Ft/db/nap | 1627 | Ft/db/nap |
Közterület-használati díj – a 3/2013. (III. 8.) Főv. Kgy. rendelet 2. melléklete : budapest.hu/Documents/kozterulet_hasznalat/D%c3%adjt%c3%a1bla20140808.docx
Add remove section of elements – Snippet on JSFiddle
source: http://jsfiddle.net/webeswork/cjf0j9zm/6/
jQuery(document).ready(function() {
//add element
jQuery(“#book_add_btn”).click(function() {
jQuery(‘#book_collection’).append(jQuery(“#book_collection .book_wrapper:last-child”).clone());
jQuery(“#book_collection .book_wrapper:last-child input[type=text]”).val(”);
});
//remove element
jQuery(“.book_wrapper .imagecheckbox”).live(“click”, function() {
if (jQuery(this).parent().parent().children().length > 1) {
jQuery(this).parent().remove();
}
});
});
Put this in your routes.php file and you will see the SQL that Eloquent is executing when you go to pages that have any sort of access to Eloquent models. This helps a lot when debugging SQL in Laravel.
// Display all SQL executed in Eloquent
Event::listen('illuminate.query', function($query)
{
var_dump($query);
});
Link:
http://www.laravel-tricks.com/tricks/display-all-sql-executed-in-eloquent
Using Query Builder is easy way and complicated writing.
I had thought that I couldn’t use Eloquent ORM for complicated query but I found the solution.
A code snippet:
$bid_products = Bid::with(array(‘Product’ =>
function($query){$query->orderBy(‘title’, ‘ASC’);}))
->where(‘admin_id’, ‘=’, $admin_id)->orderBy(‘bids.created_at’, ‘desc’)
->get();
Links:
http://stackoverflow.com/questions/15533659/sorting-data-with-eloquent
10 quick tips to get better at Laravel http://tech.knolskape.com/10-quick-tips-to-get-better-at-laravel/
Laravel Eloquent vs Fluent query builder http://blog.sriraman.in/laravel-eloquent-vs-fluent-query-builder/
Laravel’s Eloquent ORM versus Query Builder http://www.rogerpence.com/2013/07/29/laravels-eloquent-orm-versus-query-builder/
Univerzális Entitás Kezelés: http://files.meetup.com/15327232/Perger_Peter_-_Univerzalis_entitas_kezeles-L4R4VELBP.pdf