dev-master
9999999-devyii2-cackle-reviews extension
BSD-4-Clause
The Requires
by truth4oll
extension yii2 reviews cackle
yii2-cackle-reviews extension
{ "require": { "evgenybukharev/yii2-cackle-reviews": "dev-master" } }
php composer.phar update
php yii migrate/up --migrationPath=@vendor/evgenybukharev/yii2-cackle-reviews/migrations
ΠΠ°ΡΡΡΠΎΠΉΡΠ΅ ΠΌΠΎΠ΄ΡΠ»Ρ Π² ΠΊΠΎΠ½ΡΠΈΠ³ΡΡΠ°ΡΠΈΠΎΠ½Π½ΠΎΠΌ ΡΠ°ΠΉΠ»Π΅, (*1)
'modules' => [ 'cackle_reviews' => [ 'class' => 'evgenybukharev\yii2_cackle_reviews\Module', 'site_id' => 'YOUR_ID', 'account_api_key' => 'YOUR_KEY', 'site_api_key' => 'YOUR_KEY', ], ],
Π‘ Π±ΠΎΠ»Π΅Π΅ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠ΅ΠΉ, ΠΊΠ°ΠΊ ΠΏΠΎΠ»ΡΡΠΈΡΡ account_api_key
ΠΈ site_api_key
ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Π½Π° ΡΡΡΠ°Π½ΠΈΡΠ΅ [http://cackle.me/help/review-import], (*2)
ΠΡΠ·ΠΎΠ² Π²ΠΈΠ΄ΠΆΠ΅ΡΠ°, (*3)
echo CackleReviewWidget::widget([ 'sync' => true, 'params' => [ 'channel' => 'your_product_id', ] ]);
Π‘ΠΈΠ½Ρ ΡΠΎΠ½ΠΈΠ·Π°ΡΠΈΡ ΠΎΡΠ·ΡΠ²ΠΎΠ² Ρ ΡΠ΅ΡΠ²Π΅ΡΠΎΠΌ cackle., (*4)
Π Π΅Π°Π»ΠΈΠ·ΠΎΠ²Π°Π½ΠΎ 2 ΡΠΈΠΏΠ° ΡΠΈΠ½Ρ
ΡΠΎΠ½ΠΈΠ·Π°ΡΠΈΠΈ, Π½Π΅ΠΏΠΎΡΡΠ΅Π΄ΡΡΠ²Π΅Π½Π½ΠΎ ΡΠ΅ΡΠ΅Π· Π²ΠΈΠ΄ΠΆΠ΅Ρ, ΡΠΊΠ°Π·Π°Π² ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡ sync=>true, Π»ΠΈΠ±ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ ΠΊΠΎΠ½ΡΠΎΠ»ΡΠ½ΡΡ ΠΊΠΎΠΌΠ°Π½Π΄Ρ:
yii cackle_reviews/sync
ΠΡΠΎΡΠΈΡ!, (*5)
yii2-cackle-reviews extension
BSD-4-Clause
extension yii2 reviews cackle