sorttable.js works sometimes and sometimes not

e107 CMS » Forums » e107 v1.x Support » Third Party Code / Theme Support << Previous thread | Next thread >>
Knutars
Jun 25 2012, 11:52AM
Registered Member #25544
Joined: Mar 07 2006, 12:14AM
Location: Stockholm, Sweden
Posts: 245
Added this script to the website.
On some pages it works, like on this printer friendly version of this original page, where it doesn't work. Click the table headers to test.

This is regardless of theme.

Phuleeze, how come it doesn't work always?
[ Edited Jun 25 2012, 11:54AM ]
Go to top
Website
Moc
Jun 25 2012, 02:45PM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #44563
Joined: Apr 12 2008, 03:01AM
Location: The Netherlands
Posts: 3521
Looking at the source code; on the original page it loads http:// e107.se/e107_plugins/content/sorttable.js rather than http:// e107.se/sorttable.js


Try try to set the path to /sorttable.js
[ Edited Jun 25 2012, 02:45PM ]
Go to top
Knutars
Jun 25 2012, 03:43PM
Registered Member #25544
Joined: Mar 07 2006, 12:14AM
Location: Stockholm, Sweden
Posts: 245
First of all, thank you Doctor Moc, your prescription helped me... instead of
<script src="sorttable.js"></script>
I now use
<script src="/sorttable.js"></script>
Second, I wonder if people really can comprehend how extraordinary frustrating it is to maintain a simple web site these days, when a single slash makes all the difference? I'm telling you, it's harder than most users can imagine Thanx again.

EDIT: I forgot to tell you that I use sorttable on download.php as well, check it out! I would suggest the dev team to integrate it into e107 - it's pretty useful.
[ Edited Jun 26 2012, 02:08AM ]
Go to top
Website
Moc
Jun 26 2012, 02:46AM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #44563
Joined: Apr 12 2008, 03:01AM
Location: The Netherlands
Posts: 3521
You're welcome! Yep, welcome to the world of being a webmaster, a real one

It would be nice feature request that could be easily implemented in 2.0.
I like your website layout btw!
[ Edited Jun 26 2012, 02:46AM ]
Go to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System