- Posts: 160
- Thank you received: 1
Ask a Question form
-
hkeyzer
Inactive member -
Topic Author
- Member
-
Less
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.
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 7 months ago #31810
by ivan.milic
Replied by ivan.milic on topic Ask a Question form
Instead of:
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.
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
-
Less
More
- Posts: 160
- Thank you received: 1
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
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
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
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