[TYPO3-english] Here is an interesting problem. html content element javascript redirect

Syd Alsobrook syd at ittagteam.com
Tue Jun 16 21:11:39 CEST 2009


We are an IBM business partner. IBM provides web content in the form of a js 
stub that you add to your business site.

The include looks like this:
<script 
src="http://content.webcollage.net/hal-generic-x-series-2/showcase?showcase=hal"></script>

I have done the following.

1) Added that line as an HTML content element on the page.
2) Used the following block in an extension template

     page = PAGE
     page {
       10.marks {
          MIDDLE-MARKER = HTML
          MIDDLE-MARKER {
            value = <script 
src="http://content.webcollage.net/hal-generic-x-series-2/showcase?showcase=hal"></script>
          }
       }
    }

I use a CSS based template for my site.

The source code output for version 1 shows this:
<div id="middle-content">
   <div id="middle-marker-box">
      <div id="middle-marker"><a id="c313"></a><script 
src="http://content.webcollage.net/hal-generic-x-series-2/showcase?showcase=hal" 
type="text/javascript"></script></div>
				</div>

This is as I would expect it. However......

When this page loads the url get remapped:
From: /ibm-systems/system-x-server/
to: /ibm-systems/system-x-server/?n-state=http://www.live.hal.webcollage.net/_wc/landing/systemx/rack.html~~~G!00AE1D2A3B25!4UaqsHzk4KMe/6lruA%3d%3d~~~~@http://www.live.hal.webcollage.net/server/hal-generic-x-series-2/hal-showcase

You can see this behavior for your self at:
http://www.ittagteam.com/hardware/ibm-systems/system-x-server

Does anyone have any thoughts?

Thanks,
Syd

-- 
Syd Alsobrook
IT Tag Team, Inc.
518-362-1291
http://www.ittagteam.com


More information about the TYPO3-english mailing list