video description in siteadmin

Discuss of AVS script, custom modifications or anything related to this video script

video description in siteadmin

Postby aymeric » Fri Apr 23, 2010 1:51 pm

Hello,

How to integrate the "video description" for my AVS siteadmin.

in the videos-edit.tpl in backend/default :

I edited the file videos-edit.tpl (template/backen/default)
and after line 14, added :
<label for="keyword">Description: </label>
<textarea name="description" cols="40" rows="8">{$video[0].description}</textarea><br>

So now I can see the description box in my site admin.
But when I write something, nothing is registered. So It missed something else, but I can't find what !

What are the other files to modify ?

thank you in advance,
regards
aymeric
 
Posts: 2
Joined: Tue Mar 09, 2010 3:13 pm

Re: video description in siteadmin

Postby nuevolab » Mon Apr 26, 2010 4:51 pm

This is only output template.
Also file edit.php (siteadmin/modules/videos) must be edited to read "description" value sent and save it to database.
nuevolab
Site Admin
 
Posts: 29
Joined: Sun Sep 06, 2009 2:32 am


Return to AVS

Who is online

Users browsing this forum: No registered users and 0 guests

cron