Ask a Question form

  • hkeyzer
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 7 months ago #31800 by hkeyzer
Replied by hkeyzer on topic Ask a Question form
Hi,

Tried that also and it didn't work.

I have a site with the Drug Store template and it works fine, so I compared the file:
components\com_virtuemart\views\askquestion\tmpl\form.php

on both sites and they are the same, so I suspect that the issue of the counter not working might not be in this file.

Thanks - still looking would appreciate another ideas.

Please Log in to join the conversation.

More
11 years 7 months ago #31810 by ivan.milic
Replied by ivan.milic on topic Ask a Question form
Instead of:
Code:
$document->addScript('http://code.jquery.com/jquery-1.9.1.min.js');

put:


$document->addScriptDeclaration('<script src=" code.jquery.com/jquery-1.9.1.min.js ">');

but leave it there if it still does not work so we could see result.

Please Log in to join the conversation.

  • hkeyzer
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 7 months ago #31829 by hkeyzer
Replied by hkeyzer on topic Ask a Question form
Done,

Ask a question form now showing some of the code at top of page.
Left in for you to review.

Thanks

Please Log in to join the conversation.

More
11 years 7 months ago - 11 years 7 months ago #31840 by ivan.milic
Replied by ivan.milic on topic Ask a Question form
Try this, remove those previous changes, then oprn:

components\com_virtuemart\views\askquestion\view.html.php

after line 50 $document = JFactory::getDocument ();
add
Code:
$document->addScript('http://code.jquery.com/jquery-1.9.1.min.js');
Last edit: 11 years 7 months ago by ivan.milic.

Please Log in to join the conversation.

Time to create page: 0.112 seconds
Powered by Kunena Forum