Solved

HTML or PHP Help with Multiple Pages and Redirect

Posted on 2013-05-13
4
291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 57

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

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 …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

752 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