Re: Can't execute JS

30 views
Skip to first unread message
Message has been deleted

piero

unread,
Dec 25, 2014, 7:07:03 PM12/25/14
to wfrog...@googlegroups.com


Il giorno giovedì 25 dicembre 2014 23:14:33 UTC+1, piero ha scritto:
Hi, I've modified the main.html file to customize the site but for some reason the "<script type="text/javascript"..etc." I've added in the first lines are not passed to the ftp server.
   Scripts run with no problem on locale only.
Any guess?
Thanks.

Jordi Puigsegur Figueras

unread,
Dec 26, 2014, 1:57:37 AM12/26/14
to wfrog...@googlegroups.com

Hi,
I think wfrog keeps a cached compiled version of the template. You have to reboot after modifying main.html.

Jordi

El dia 26/12/2014 1:07, "piero" <jloc...@gmail.com> va escriure:
--
You received this message because you are subscribed to the Google Groups "wfrog-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wfrog-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

piero

unread,
Dec 26, 2014, 12:08:01 PM12/26/14
to wfrog...@googlegroups.com
Hi Jordi, thanks for your reply, I've rebooted several times, still the whole "script type" block at the beginning of main.html is ignored on the remote server while is correctly displayed by localhost:7680.
I thought it was due to some restrictions by the hosting service, but scripts inserted manually are executed correctly.

Jordi Puigsegur Figueras

unread,
Dec 29, 2014, 2:56:15 AM12/29/14
to wfrog...@googlegroups.com
No idea then ... you should check cheetah templates documentation.I don't remember any specific issue but it's been a long time. 

Jordi.

piero

unread,
Dec 29, 2014, 6:18:03 AM12/29/14
to wfrog...@googlegroups.com
Thanks again Jordi, sorted it out somehow moving the links to external JS files after the style tags, still having problems only with the calendar, menu and buttons are displayed but not functioning.
Hope this helps as it seems other users have the same issue looking at the online user station page,

piero

unread,
Dec 31, 2014, 7:11:27 AM12/31/14
to wfrog...@googlegroups.com
The calendar script works only with HTTP renderer?
On FTP pages clicking the arrows doesn't scroll the previous data on graphs...

Jordi Puigsegur Figueras

unread,
Dec 31, 2014, 7:14:13 AM12/31/14
to wfrog...@googlegroups.com

Yes, you need an http server to retrieve old data. Basically it is the same page with different parametrs. This is the reason it is disabled when using http.

Jordi

El dia 31/12/2014 13:11, "piero" <jloc...@gmail.com> va escriure:
The calendar script works only with HTTP renderer?
On FTP pages clicking the arrows doesn't scroll the previous data on graphs...

--

piero

unread,
Dec 31, 2014, 7:41:46 AM12/31/14
to wfrog...@googlegroups.com
Ok, thanks Jordi.
Reply all
Reply to author
Forward
0 new messages