• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Sidebar Question

Started by megaman79,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

megaman79Topic starter

Can this be done?

I have my Sidebar Fixed (Always Open), My question is, it is possible to show the: Videos Channels open , when Site Load and after X a mouth a seconds, Videos Channels Hide.

Thanks 
"Very Happy with PHPVibe"
  •  

PHPVibe A.

I'm not sure how to do this (I don't know much jquery, and Mario is already in vacation).

ollipaust

  •  

PHPVibe A.

This i knew, how to select that particular first li I don't know, since it has no specific class or id.

megaman79Topic starter

Quote from: ollipaust on
http://stackoverflow.com/questions/820951/hide-div-after-a-few-seconds

Hello Ollipaust,

Do you know the correct peace of code I need to add to PHPVibe to get this working ?

Thanks for the tip.

"Very Happy with PHPVibe"
  •  

megaman79Topic starter

Hello PHPVibe,

How can I move the Channel Videos out side, instead of Mouse-Over. I want to have it Fixed, so my visitors can see the Channels right away when they come.

Like this site: youtubemusic.ro

Thanks for the support.
"Very Happy with PHPVibe"
  •  

PHPVibe A.

#6
That's the default PHPVibe theme.

On Brasil I think this will push everything...but, try:

Change

<li class="lihead"><a href=""><i class="icon-indent"></i>'._lang('Video Channels').'</a>'.the_nav().'</li>';


to

<li class="lihead"><a href=""><i class="icon-indent"></i>'._lang('Video Channels').'</a></li> </ul></div>
<div class="sidebar-nav blc">'.the_nav().'</div>';
echo "<div class="sidebar-nav blc"><ul>";

megaman79Topic starter

Quote from: Alexander on
That's the default PHPVibe theme.

On Brasil I think this will push everything...but, try:

Change

<li class="lihead"><a href=""><i class="icon-indent"></i>'._lang('Video Channels').'</a>'.the_nav().'</li>';


to

<li class="lihead"><a href=""><i class="icon-indent"></i>'._lang('Video Channels').'</a></li> </ul></div>
<div class="sidebar-nav blc">'.the_nav().'</div>';
echo "<div class="sidebar-nav blc"><ul>";


For the Brasil theme didn't work.

It only show the top side,: logo, search, login. but the Side bar, content was blank.
"Very Happy with PHPVibe"
  •  

PHPVibe A.

Oups,

echo "<div class="sidebar-nav blc"><ul>";


should have been

echo '<div class="sidebar-nav blc"><ul>';

megaman79Topic starter

Hello Alexander,

I have my Sidebar Fixed,(always open).

How can I move the Music Channels on top of: Browse Videos?
Because I have the Side Fixed, and the Music Channels move to the bottom.

"Very Happy with PHPVibe"
  •  

PHPVibe A.

Show me how the code looks around there, I don't have access to a Brasil source right now.
Should be

'.the_nav(2).'


the music menu rendering.

megaman79Topic starter

#11
Quote from: Alexander on
Show me how the code looks around there, I don't have access to a Brasil source right now.
Should be

'.the_nav(2).'


the music menu rendering.

This is how my code look like now;

//The menu	
echo '<div class="sidebar-nav blc"><ul>

<li class="lihead"><a href=""><i class="icon-youtube-play"></i> '._lang('Browse Videos').'</a>
<ul>
<li><a href="'.list_url(browse).'" title="'._lang('New Media').'"><i class="icon-exchange"></i> '._lang('Recent').'</a></li>
	<li><a href="'.list_url(mostviewed).'" title="'._lang('Most Viewed').'"><i class="icon-list-ol"></i> '._lang('Most Viewed').'</a></li>
	<li><a href="'.list_url(promoted).'" title="'._lang('Featured').'"><i class="icon-check"></i> '._lang('Featured').'</a></li>
	<li><a href="'.list_url(mostliked).'" title="'._lang('Most Liked').'"><i class="icon-heart"></i> '._lang('Most Liked').'</a></li>	
	<li><a href="'.list_url(mostcom).'" title="'._lang('Most Commented').'"><i class="icon-comment"></i> '._lang('Most Commented').'</a></li>	
</ul>
</li> 

<li class="lihead"><a href=""><i class="icon-indent"></i>'._lang('Video Channels').'</a></li> </ul></div>
<div class="sidebar-nav blc">'.the_nav().'</div>';
echo '<div class="sidebar-nav blc"><ul>';

if(get_option('musicmenu') == 1 ) {
echo '<li class="lihead"><a href=""><i class="icon-headphones"></i>'._lang('Music Channels').'</a> '.the_nav(2).'</li>';
}
if(get_option('imagesmenu') == 1 ) {
echo '<li class="lihead"><a href=""><i class="icon-picture-o"></i> '._lang('Image Categories').'</a>'.the_nav(3).'</li>';
}
"Very Happy with PHPVibe"
  •  

PHPVibe A.

Just move this

if(get_option('musicmenu') == 1 ) {
echo '<li class="lihead"><a href=""><i class="icon-headphones"></i>'._lang('Music Channels').'</a> '.the_nav(2).'</li>';
}


right under
//The menu

megaman79Topic starter

Quote from: Alexander on
Just move this

if(get_option('musicmenu') == 1 ) {
echo '<li class="lihead"><a href=""><i class="icon-headphones"></i>'._lang('Music Channels').'</a> '.the_nav(2).'</li>';
}


right under
//The menu


Works fine, but this make the Music Channel Fixed. can I have it the old way, if Mouse over, it will show up the Channels inside "Music Channels".

Thanks Alexander.
"Very Happy with PHPVibe"
  •  

PHPVibe A.

if(get_option('musicmenu') == 1 ) {
echo '<div class="sidebar-nav blc"><ul><li class="lihead"><a href=""><i class="icon-headphones"></i>'._lang('Music Channels').'</a> '.the_nav(2).'</li></ul></div>';
}


Wrap it like this.

Similar topics (7)