Webmastersite.net
Register Log In

Parsing for toplist generator fails
when called from within a javascript

Comments on Parsing for toplist generator fails

PurpleCow
Internet Evangelist

Usergroup: Customer
Joined: Oct 19, 2003

Total Topics: 43
Total Comments: 103
Posted Jan 01, 2009 - 1:01 AM:

Hi,

I generated a new top list and used teh generated code to be parsed from within a javascript file. But it is failing.

On my home page, I have created multiple tabs using ajax tabs script. Each tab will load different toplist. When I tried one for latest added links, it fails to parse the code. This toplist code is placed in a tpl file called 'newblogs.tpl and this file is saved in a folds called tabs inside of the default templates folder.

Any help on How I can get this to work? URL: www.blogectory.com - check the home page

Thanks much

Cheers
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 01, 2009 - 9:29 AM:

What do you mean by "within a javascript file"? Javascript isn't PHP and isn't WSN, so of course nothing except javascript will be processed in it, unless you're using WSN's own javascript header template.

Please put your custom (added by you) templates in the 'custom' subdirectory of your template set. I can't promise you that I won't do something in the future that will break a site that puts them in any other location.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.