Announcement

Collapse
No announcement yet.

Unclosed Curly Brace Expression

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • zappaDPJ
    replied
    Ah, I have some small excuse then and it appears to be doing the job so thanks again for coming to my aid, it's most appreciated

    Leave a comment:


  • Zachery
    replied
    Originally posted by zappaDPJ
    It's completely new to me but then I've only been using vBulletin for about 10 years
    It is new to vB4.

    Leave a comment:


  • zappaDPJ
    replied
    It's completely new to me but then I've only been using vBulletin for about 10 years

    Leave a comment:


  • we_are_borg
    replied
    Originally posted by Zachery
    You should add

    <vb:literal>yourjscode</vb:literal>

    It will make the template parser ignore it.
    Always forget the <vb:literal> code trick.

    Leave a comment:


  • zappaDPJ
    replied
    Thanks Zachery, I'll give that a shot.

    Leave a comment:


  • Zachery
    replied
    You should add

    <vb:literal>yourjscode</vb:literal>

    It will make the template parser ignore it.

    Leave a comment:


  • zappaDPJ
    replied
    OK thanks for your help.

    Leave a comment:


  • we_are_borg
    replied
    Its the normal error you get when editing a template that is not allowed and/or supported the second warning is because you attempted a second time so you get another warning that some one else tried it.

    Leave a comment:


  • zappaDPJ
    replied
    It's more the nature of the error handling that concerns me, that can't be right surely?

    Leave a comment:


  • we_are_borg
    replied
    Dont think you can add that like so, best is to look on vBulletin.org what is wrong with the code, vBulletin.com does not assist with custom coding.

    Leave a comment:


  • zappaDPJ
    started a topic [Forum] Unclosed Curly Brace Expression

    Unclosed Curly Brace Expression

    I'm trying to add some code to the headinclude template but keep encountering the following error:

    The following error occurred when attempting to evaluate this template:
    Unclosed Curly Brace Expression
    If I attempt to continue with a save, a new error is generated:

    This template was changed by someone else while you were editing it. Your changes have not been saved.
    The offending line in my code appears to be:

    Code:
    var flashvars = {};
    Is this a bug in the template editor?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X
😀
🥰
🤢
😎
😡
👍
👎