Solved

HTML or PHP Help with Multiple Pages and Redirect

Posted on 2013-05-13
4
288 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 54

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Wordpress CLI 4 41
Error while running Get-NetConnectionProfile within Windows 7 PowerShell 8 39
How can I increase the size of this logo 5 34
PHP AJAX Wordpress 9 19
This article will show, step by step, how to integrate R code into a R Sweave document
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
The viewer will learn how to count occurrences of each item in an array.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

776 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