Jump to content

Creation of channels only for webmaster level users


langel87

Recommended Posts

The easiest way would be to go to Website UI -> Global blocks -> Global block "Edit Channel Form" and wrap the whole its template code into this:

{{if $smarty.session.status_id==6}}
	... here goes the original code that was in that block template
{{else}}
	<strong class="popup-title">
		{{if $smarty.post.dvd_id>0}}
			{{$lang.edit_channel.title_edit_channel}}
		{{else}}
			{{$lang.edit_channel.title_create_channel}}
		{{/if}}
	</strong>
	<div class="popup-holder">
		<div class="generic-error">
			Creating channels is available for webmaster users only.
		</div>
	</div>
{{/if}}

 

  • Thanks 1
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.

Guest
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...