darragh Posted January 4, 2009 Posted January 4, 2009 Hi, I;m trying to edit the eportal JSP login page to add Google Analytics script, however any changes that i make to index.jsp are not reflected. when i add the code, save it, restart IIS, Tomcat etc.. and refresh my browser (SHIFT +Refresh) no luck i looked at the html that the browers see but no luck. any Ideas? any one add google analytics to ePortal
danIT Posted January 4, 2009 Posted January 4, 2009 Did you restart the E-portal service? And are you editing the correct files, try adding some basic code to the page and see if that appears.
darragh Posted January 4, 2009 Author Posted January 4, 2009 Did you restart the E-portal service? And are you editing the correct files, try adding some basic code to the page and see if that appears. I restarted the eportal service under services and yes i'm edding the correct files, located them under IIS, however i found that if i edit index.htm it just redirects to login.jsp under /webapps/login.jsp so added the google analytics code their and google seams to be able to see it now, however i don't think the javascript gets time to run as the moment you browes to the URL i'm in the login.jsp page. I have to dive into the login.jsp page more as it has include=header.jsp in a few places so i guess i need to locate the correct header file and get the javascript to exec their, will try that tommorrow
Jay Posted January 5, 2009 Posted January 5, 2009 ePortal works as a JSP thingy, so I'm guessing (no copy to hand) it expands a WAR file within Tomcat. The good side is you can alter/edit the expanded files under Tomcat (program files/apache etc/tomcat/webapps/ePortal/ I'd guess). The downside is that when you restart it may overwrite them. Sorry, without looking at ePortal directly, can't tell too much more.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now