We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

FB Like button | Forum

Topic location: Forum home » Support » General Questions
Michal
Michal Oct 10 '11
How to add LikeButton to video plugin? thanks
Michal
Michal Oct 10 '11
Here
Attachments:
  here.PNG (438.98Kb)
Max
Max Oct 10 '11
Hi
To do it, you have to edit a file
Open "ow_plugins/video/views/controllers/video_view.html"
Go to line 35, insert a new line and past your own code like this :


Have fun ! ^^
Michal
Michal Oct 10 '11
Thanks guy :)
Michal
Michal Oct 10 '11
Does not work :(
The Forum post is edited by Michal Oct 10 '11
Attachments:
  fb.PNG (34.02Kb)
Max
Max Oct 10 '11
Have you refresh the cache ?
Set your site like this :

define('OW_DEBUG_MODE', true);
define('OW_DEV_MODE', true);

in ow_includes/config.php
The Forum post is edited by Max Oct 10 '11
Michal
Michal Oct 10 '11
Error

OW Debug - Error
Message:Smarty error: [in /home/www/czrande.cz/www/ow_plugins/video/views/controllers/video_view.html line 38]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 599)File:/home/www/czrande.cz/www/ow_libraries/smarty/Smarty.class.phpLine:1092
Max
Max Oct 10 '11
Hmm
I don't know why this error..
Did you try the code with an iframe ?
SEO HOME PAGE SERVICE
Taylor Lautner… By the way you might want to check out this cool site I found…… mexican restaurant
SEO HOME PAGE SERVICE
Taylor Lautner… By the way you might want to check out this cool site I found…… mexican restaurant