Related Topics


[Video CMS v4]images are falling under "Watch Videos". (V4)  (Read 528 times) Print

1 B


ronyhage  May 12, 2015, 11:01:37 PM

Hi,

When an image is uploaded, you can see it in "watch videos" in the sidebar. I want don't want images to appear in the videos section. how can I do it? as I want them only to appear in the images section.

Regards.

Logged


Alexander  May 13, 2015, 12:27:27 AM

Add
Code
media < 2
to the sql query.

com/com_videolist.php

replace all instances of

Code
and ".DB_PREFIX."videos.pub > 0
with

Code
and ".DB_PREFIX."videos.pub > 0 and ".DB_PREFIX."videos.media < 2

Logged

ronyhage  May 13, 2015, 09:15:04 PM

ok i replaced all the codes with the code you gave me.

whats
Add
media < 2
to the sql query.
?

Sorry im new to coding. I think this is whats stopping me from making it work because i replaced the code with the code you gave me already and its not working.

Replaced this:and ".DB_PREFIX."videos.pub > 0
with: and ".DB_PREFIX."videos.pub > 0 and ".DB_PREFIX."videos.media < 2


thanks

Logged


Alexander  May 14, 2015, 02:13:33 PM

I've updated com/com_videolist.php in latest version on the store.

Logged