Jump to content

How to disable tags?

Recommended Posts

I want to disable tags and leave only categories. I looked for everything and couldn't find it, could you tell me? I want to completely disable tags and remove the required tags field on the video upload form.

Link to comment
Share on other sites

You need to go to Website UI -> Pages and search for video_edit block there. Open the video_edit block settings and there you can remove tags from template, something like this:

<div class="row">
	<label for="edit_video_tags" class="field-label {{if $optional_tags!=1}}required{{/if}}">{{$lang.edit_video.field_tags}}</label>
	<input type="text" name="tags" id="edit_video_tags" class="textfield" value="{{$smarty.post.tags}}" placeholder="{{$lang.edit_video.field_tags_hint}}" {{if $is_locked=='true'}}readonly{{/if}}/>
	<div class="field-error down"></div>

also in block parameters you need to activate optional_tags.

Link to comment
Share on other sites

  • 2 weeks later...

Hello! Thanks, it worked perfectly.

Now I have another question:

When doing some testing on a live website, I used Grabber to embed videos from other websites. I managed to embed more than 80 thousand videos, but I didn't like the result of the embed function. So I deleted everything. As a result, if I start a video now, the video ID number in the database will be very high, as shown in the image below.

Is there any way to get the number back to normal, like zero or less, corresponding to the current amount of real content presented on the site? The 80 thousand was deleted.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...