• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Desctiption problem

Started by mihai,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mihaiTopic starter

Hi!
I want to have a btn like(Add to,embed video,report)for description so i must add somethink like this in video.php
<a id="embedit" href="javascript:void(0)" class="tipW" title="<?php echo _lang('Embed content');?>"><i class="icon-youtube-play"> <?php echo _lang('');?></a>

The problem is that i don't know what should i edit so i can have a description content not a embed video content:)
Please help!!
  •  

Marius P.

You have a weird way of explaining things and I can't get it.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

On ultimatube theme you have on video page 3 buttons(Embed video,Report,Add to playlist) and i want to add another one for description:) and i don't know how to make that i know that i must add a code like the one that i posted but for descripton option:)
  •  

mihaiTopic starter

So when you pressed that button you will have de description displayed under the button(like the other buttons)
  •  

Marius P.


So you want to hide the description and show it on click?


Html:
<a id="showed" href="javascript:void(0)>Show description</a>



Js (phpvibe_app.js in the document ready):


$("#showed").click(function(){
    $("#thedescription").toggleClass('hide');
	
  });



Add id #thedescription and class hide to video.php to the description element.


Or to the entire box like


<div class="box">

to
<div id="thedescription" class="box hide">
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

yafe3

is this works for creating a show more button for description ?

Quote from: @Mario on
So you want to hide the description and show it on click?


Html:
<a id="showed" href="javascript:void(0)>Show description</a>



Js (phpvibe_app.js in the document ready):


$("#showed").click(function(){
    $("#thedescription").toggleClass('hide');
	
  });



Add id #thedescription and class hide to video.php to the description element.


Or to the entire box like


<div class="box">

to
<div id="thedescription" class="box hide">

  •  

mihaiTopic starter

  •  

Similar topics (7)