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

Remove "Latest" from Content Menu | Forum

Kяuncн Leader
Kяuncн Apr 16 '14


Needing to remove Latest Embeds and show only Latest Uploads..
Jose
Jose Apr 19 '14
ow_plugins\video\controllers\video.php
in the first line from method getMenu() appears this list:
$validLists = array('featured', 'latest', 'toprated', 'tagged');
remove 'latest' from there and it should work

i only looked the code didn´t try so maybe i´m wrong!
The Forum post is edited by Jose Apr 19 '14
Kяuncн Leader
Kяuncн Apr 19 '14

Quote from Jose ow_plugins\video\controllers\video.php
in the first line from method getMenu() appears this list:
$validLists = array('featured', 'latest', 'toprated', 'tagged');
remove 'latest' from there and it should work

i only looked the code didn´t try so maybe i´m wrong!

I did try that B4 posting this, guess I should have noted that here, thanks anyways..
Also using Advanced Video/Uploader, "It's tab can be seen in the screenshot,,, that plugin I couldn't fine a similar file to adjust..
The Forum post is edited by Kяuncн Apr 19 '14
Abbey
Abbey Apr 21 '14
Have you tried hiding it with css?

I did similar in groups, I was told to use inspect element to find it and added a code in custom css
Kяuncн Leader
Kяuncн Apr 21 '14
Not an option, not unless I wanted to hide this tab for Latest Members, Blogs, and Groups along with it...

Videos
ul.ow_content_menu li._latest

Blogs
ul.ow_content_menu li._latest

Groups
ul.ow_content_menu li._latest

Members
ul.ow_content_menu li._latest

"Same code for all"