Ok what I THOUGHT I had working was not working very well at all.. in fact.. i wouldn't even say its "working" i'd say its hacked to work and badly at that... I am going to need some sexy custom php or something...
How can I explain it. ok.
so you have a INDEX.HTML page. This page is your only page on the website that EVER gets hit. (very similar to index.php on modx) and then we use .htaccess to redirect EVERYTHING that we type back to index.html and then we take the extra stuff and we send it to javascript and javascript finds the name of the page and the folder where it is and loads it into index.html inside a div called main. <div id="main"></div>
This works great on a standard HTML website with no modx. but here is where i need serious help.
modx and my website are both fighting to do the same thing. see my website wants to make all pages goto index.html and modx wants all pages to goto index.php if we make my page the 1st page in modx and it now becomes index.php we have a bigger problem because modx is creating fake links to pages that only exist in a database and my site is trying to take what modx is giving it, and then suck it back into it self and its just a giant MESS.
you can check it out at
http://ecocool.zadesigns.com
you can see i have 2 links. and they work. and if you go back and forth between them the page does NOT refresh and everything seems great.
but if you type
http://ecocool.zadesigns.com/help.html you will break the site and it goes to the actual help.html page.. instead i want it to stay on index.php load my default page, and suck the help.html page into the main content. which only works if you type
http://ecocool.zadesigns.com/help without the .html on the end.
can someone help me out! if you need access to the server and want to get into the backend and etc then I can give you that because this needs some serious serious brain power from a modx pro.