1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RM 1.0 Increase Tag line

Discussion in 'Resource Manager Support' started by Morgain, Mar 28, 2013.

  1. Morgain

    Morgain Well-Known Member

    I would like the give the "Tag line" more capacity - make it a small text area of 2 lines, not a single line text field.

    How could I do that please?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can edit the resource_add template and increase the number of characters permitted from 100.

    <input type="text" name="tag_line" value="{$resource.tag_line}" class="textCtrl" id="ctrl_tag_line" maxlength="100" />

    However, you will also need to edit the xf_resource table and increase the tag_line field value from varchar(100) to match.

    There may also be changes required in the datawriter too.

    In short, it's not a simple change.
    Morgain likes this.
  3. Morgain

    Morgain Well-Known Member

    I'll ask my friendly divinity (dev) to do it Paul. Thank you.
  4. Luxus

    Luxus Well-Known Member

    It would be cool if the tag line field is actually a normal textarea field (with bbcode support) where we can put the first few lines of an article there to properly emulate an article system.
    tinker and Morgain like this.
  5. Morgain

    Morgain Well-Known Member

    Well I'd settle for a textarea myself. But very much agree I want control of size.
  6. Morgain

    Morgain Well-Known Member

Share This Page