Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 12

ChanuxCurtisOdenMaluchiTorbjornafiqasyraf93ericgillette +6 guests

Bug - Clashes with "Definitions" javascript/hidden element content

This discussion is related to the Quote selection addon.
Hi @TiGR

We are using the vforg theme and recently added the following code to our .tpl

{asset name="Foot"}

This is breaking the quotes plugin. Without the above asset, however, #conversations do not start correctly. I wonder if you can take a look at this.

Comments

  • Posts: 250
    Can you provide a URL to real-life example?
  • Posts: 29
    Well... I don't really want to cripple my live forum's ability to quote for any length of time. I will see if I can get a shadow running for your perusal.
  • Posts: 29
    The following is the content of the definitions div that our {asset} tag is rendering:
    <!-- Various definitions for Javascript //-->
    <div id="Definitions" style="display: none;">
    <input type="hidden" id="SetClientHour" value="0" />
    <input type="hidden" id="AnalyticsTask" value="none" />
    <input type="hidden" id="WhosOnlineFrequency" value="500" />
    <input type="hidden" id="TransportError" value="A fatal error occurred while processing the request.&lt;br /&gt;The server returned the following response: %s" />
    <input type="hidden" id="TransientKey" value="XXX" />
    <input type="hidden" id="WebRoot" value="http://XXX&quot; />
    <input type="hidden" id="UrlFormat" value="/vanilla/index.php?p=/{Path}" />
    <input type="hidden" id="ConfirmHeading" value="Confirm" />
    <input type="hidden" id="ConfirmText" value="Are you sure you want to do that?" />
    <input type="hidden" id="Okay" value="Okay" />
    <input type="hidden" id="Cancel" value="Cancel" />
    <input type="hidden" id="Search" value="Search" />
    </div>
    I have XXXed out a couple of details in the above example.
  • Posts: 29
    Hi @TiGR - finally got around to deploying a "sandbox" version of this.

    I've uploaded and installed vanilla, I've uploaded the vforg theme and I've added the {asset name="Foot"} to the default.master.tpl file.

    Have a look below and try to use the highlight to quote:

    http://paulatkinson.co.nz/vanilla/discussion/1/a-topic-of-no-importance-#Item_2
Sign In or Register to comment.