Solved

HTML or PHP Help with Multiple Pages and Redirect

Posted on 2013-05-13
4
290 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 56

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

756 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