Solved

HTML or PHP Help with Multiple Pages and Redirect

Posted on 2013-05-13
4
287 Views
Last Modified: 2013-05-19
Folks:

Forgive my jumping around here, I am going to try and keep it short and sweet.

I have a client that I am building an internal website for the company. What they want on this would be Page A.) having ticket (statistic information) on the screen (table form) Page B.) Another screen that has sales on it (table form as well) and Page C.) having simple tips in working in the environment (simple HTML).

The problem I am having is that they want these three screen to have a 15 second auto refresh, so Page A will show, then 15 seconds later Page B, then 15 seconds later Page C. 15 seconds later back to Page A and they want this in a constant loop over and over through out the day. They will make changes to Page A and B once a day, so I have to have a Admin panel (Content Zone) for the customer to make those once a day changes. So I am using wordpress to host everything and the problem I am running into is that when they are in the Admin panel and they are editing a page the page auto redirects within the editing page on the client which prevents them from changing data.

Is there anything out there that can disable the auto redirect script in the Admin panel or some sort of code I can install on the particular page in the head tags that will only load when you visit the site through the regular way and not through the Admin panel? Is there like a jQuery or some sort of other coding for website that may operate like an iframe to display the three sites on one site going across the screen?

I have a week left on this project and hoping to get this all completed soon, so any and all help is appreciated. Thanks
0
Comment
Question by:JustinBMak
  • 3
4 Comments
 
LVL 52

Assisted Solution

by:Julian Hansen
Julian Hansen earned 500 total points
ID: 39163699
This I believe should answer your question

http://wordpress.org/support/topic/disable-plugin-javascripts-in-admin-but-enable-on-front-end-only

You need to check if you are not an admin is_admin() and then load the script that does the auto redirect.
0
 

Author Comment

by:JustinBMak
ID: 39164366
I read the article, I don't see where to load the JS code without loading it in the <header> tags which then all three pages would have the same redirect. On my web server, I do not see the actual files that I created in the admin console which makes it even harder.

I am no Wordpress genius, I learned on the old fashion Coldfusion stuff so I am getting more confused on how I am supposed to be injecting this code when I do not see the files on the webserver (ex: contact.php) if I actually built a contact page.
0
 

Accepted Solution

by:
JustinBMak earned 0 total points
ID: 39164443
Figured it out (sort of), since it's not a public viewing professional built website, this plug-in worked great!

http://wordpress.org/extend/plugins/redirection/

I just changed the settings from 301 Redirect to Meta Redirect and set the timer and went to each page and set it to loop to one another every 10 seconds.
0
 

Author Closing Comment

by:JustinBMak
ID: 39178255
Found a plug-in to work the way I wanted so that it's not too technical.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
This article will show, step by step, how to integrate R code into a R Sweave document
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now