×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Add New

Add New 15 years 2 months ago #6290

  • Richard Strother
  • Richard Strother's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Everything was working fine last week and all of a sudden our "Add New" comments button doesn't work (nor does quote or reply).

Tried switching templates and using different browsers but it seems like the Javascript does nothing...

Any help would be capital as I don't have a lot of time to invest into fixing it.
The site is jarsofstars.com
and the comments are enabled in the 52 Photos section.
Thanks in advance.

Add New 15 years 2 months ago #6303

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
I get the following JS errors when loading the page at jarsofstars.com/index.php?option=com_con...temid=44#CommentForm
Error: google is not defined
Source File: http://jarsofstars.com/index.php?option=com_content&view=article&id=27:golf-balls&catid=10:52-photos&Itemid=44#CommentForm
Line: 92
Error: illegal character
Source File: http://jarsofstars.com/templates/jos_02/javascript/menu.js
Line: 3, Column: 51
Source Code:
 var sfEls = document.menusan.getElementsByTagName(”LI”);
Warning: Error in parsing value for 'cursor'.  Declaration dropped.
Source File: http://jarsofstars.com/media/myjosctemplates/myMTdefault-emotop/css/css-green.css
Line: 306

Best I could suggest is to try switching to the modern template of JoomlaComment, and then testing if the problem is resolved. I think because of those JavaScript errors, it's not even getting to the JOSC commentform stuff before crashing-out with a critical error. So try fixing or disabling the menu too.

P.S. "Google undefined" error is caused by...
<script type="text/javascript">
google.load("mootools", '1.1.1');
</script>
...that's strange, is that a Wordpress theme adapted to Joomla or something?

Add New 15 years 2 months ago #6313

  • Richard Strother
  • Richard Strother's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Okay, the menu.js errors made perfect sense and have been fixed and I did switch to the modern template and will style it accordingly once everything is functional...
The "Add New" is still a dead button.
So fixed the menu.js, changed the template and still no dice.

Any additional input would be greatly appreciated.
The template has and never had anything to do with wordpress, custom built by us for this site.
(though admittedly still playing around with it and adding to it)

Add New 15 years 2 months ago #6314

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
wait, wait. What are you trying to achieve? The addnew button is just an anchor that should point to the form for comments. If the form is not in your template than it can not be shown. If you want to make some sliding tricks you should use javascript for all this.

Add New 15 years 2 months ago #6315

  • Richard Strother
  • Richard Strother's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I just want the comments to work... nothing fancy, no sliding, when one clicks the "Add new" button they can add a comment... nothing more or less complex than that.
:laugh:

Add New 15 years 2 months ago #6400

  • Richard Strother
  • Richard Strother's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I still need some help... the comments are still not working...
I switched the template to standard and fixed the javascript in the menu.js.
The "Add New" is a dead link... it does nothing.
I really just want the comments to work and nothing is coming of it.
Please help.

Add New 15 years 2 months ago #6402

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Here is what I can tell you.
Look at the html source code. You will find a a <form id="joomlacomment"....

This is all hidden. What I believe is that you hide it somehow. Please change your template to a standard joomla template such milky something and see if it is working then.
  • Page:
  • 1
Time to create page: 0.111 seconds