Announcement

Collapse
No announcement yet.

Changing default content type per channel?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OrganForum
    commented on 's reply
    Thanks! I'll give it a try.

  • Shon
    replied
    I was able to find an easy workaround for this right now, but it involves a small template edit. I'm sure that's not recommended...

    OrganForum

    I was able to do this by editing single template: Module Templates > widget_newcontent

    and adding (replace EventForumChannelD with the channel [Node ID] of your event forum channel):

    HTML Code:
    <vb:if condition="$channelInfo['nodeid'] == 'EventForumChannelD">
    {vb:set MyContentType, 'Event'}
    <vb:else />
    {vb:set MyContentType, 'Text'}
    </vb:if>
    and replacing:

    HTML Code:
    defaultContentType=Text,
    with:

    HTML Code:
    defaultContentType={vb:raw MyContentType},
    It works exactly as I was hoping for.

    Leave a comment:


  • delicjous
    replied
    You could force a click on contenttype button with javascript/ jquery for specific channels.

    Leave a comment:


  • Shon
    commented on 's reply
    I voted it up, thank you!

  • Wayne Luke
    replied
    https://tracker.vbulletin.com/vbulle...sues/VBV-20689

    Commenting and voting there with your use cases would help me push for change. I can't guarantee it will happen but I can push for it.

    Leave a comment:


  • Shon
    replied
    Thank you... I too wish that you could change the permissions differently between topics and replies.

    Leave a comment:


  • OrganForum
    replied
    There is no way to set a default channel type. You can force a channel to be a certain type with permissions, but as currently implemented, this is of limited value.
    https://forum.vbulletin.com/forum/vb...ls#post4452177

    Leave a comment:


  • Wayne Luke
    replied
    There is not. Text is always the default.

    Leave a comment:


  • Shon
    started a topic Changing default content type per channel?

    Changing default content type per channel?

    There isn't any way to change the default content type (photo, link, poll, event) per channel is there?

Related Topics

Collapse

Working...
X