altaev: (Default)

Originally published at Виталий Алтаев. Please leave any comments there.

123  global $post;   $term_list = wp_get_post_terms($post->ID, ‘product_category’, array("fields" => "all"));   $currentProductCategory = $term_list[0] -> term_id;

altaev: (Default)

Запись опубликована Виталий Алтаев. Please leave any comments there.

Simplest way to call function from loaded module is passing function name to the module: 123456789101112131415161718192021——— —main.lua ——— function myFunction()   print("hello from module!") end local interface = require("interface") interface.init(myfunction) ——— — interface.lua  — your module ——— module(…, package.seeall) function init(callFuncName)   if(callFuncName)then    callFuncName()   end end

altaev: (Default)

Запись опубликована Виталий Алтаев. Please leave any comments there.

Coloring images in Corona is very simple! If you want to paint your image in good solid color, you must know only two trick: First: your image must be WHITE(or white with transparency) and NOT BLACK! Black images will be invisible. Second: use magic bult-in function «YourImageObject:setFillColor(255,0,0)« If you hate (R,G,B) values, use a good [...]

altaev: (Default)

Запись опубликована Виталий Алтаев. Please leave any comments there.

You can turn off authentication for upload.php. Just put code below in an .htaccess file in the same directory: <Files «upload.php»> Satisfy Any </Files>

Profile

altaev: (Default)
altaev

August 2016

S M T W T F S
 123456
78910111213
14151617181920
21222324 252627
28293031   

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 26th, 2017 03:56 am
Powered by Dreamwidth Studios