Author |
Message |
v3x-uk
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Oct 08, 2010
Posts: 4
|
Posted:
Fri Oct 08, 2010 11:23 am |
|
Hi
I know this isnt really the ideal place to be posting about this but Im hoping someone here will be able to help
Im new to xml so please bear with me
Ive picked up a web template online and seems to be having difficulty editing it.
It comes as an .swf with an .xml to edit text, links etc
I have done some partial edits and have encountered a few problems;
1. Links on the main page have flash images as a background. When running locally these images sit immediately behind the text however when hosted 4 out of 5 of the links become out of sync from the images.
I have attached a screenshot to give a better idea
2. CDATA does not appear to be displaying at all when hosted. Again everything works fine locally.
Here is a sample of the code that displays correctly when run locally but vanishes when hosted.
Code:
<page name="services">
<image imageUrl="_pic2.png" link="asfunction:link"/>
<image imageUrl="_pic3.png" link="asfunction:link"/>
<texts>
<pageText><![CDATA[
Services
]]></pageText>
<pageText><![CDATA[
About our services
]]></pageText>
<pageText><![CDATA[
<font color="#ffffff">LOREM IPSUM DOLOR SIT AMET</font><br/>
consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci .tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
]]></pageText>
<pageText><![CDATA[
Unique service
]]></pageText>
|
The text, Services, About our services and Unique Service does not display when hosted.
The dummy text displays correctly both locally and hosted.
I am running firefox although this is confirmed to be displaying the same in IE. I use firefox when viewing locally.
Any help would be greatly appreciated
Thanks |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Mon Oct 18, 2010 9:57 pm |
|
<bump> |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
v3x-uk
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 24, 2010 3:28 am |
|
Still have this problem....
Anyone?
P.S: Thanks for the bump Montego ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 24, 2010 8:52 am |
|
Unfortunately, not sure how many here are familiar with .swf. I can see the text "Services" in your hosted image version and I don't see any of the other text items that you reference even in your local version, so it is a bit confusing as to what is and is not working properly. One thing you may want to check is with your hosts version and configuration of ShockWave support? Is there something server-side that needs to be configured properly in order for all the right components to be delivered to the browser? (As you can tell, I'm reaching here big time as I don't really know anything about ShockWave. Just trying what I can to help.) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jul 18, 2004
Posts: 579
|
Posted:
Sun Oct 24, 2010 3:13 pm |
|
Can you try this:
Code:
<page name="services">
<image imageUrl="_pic2.png" link="asfunction:link"/>
<image imageUrl="_pic3.png" link="asfunction:link"/>
<texts>
<pageText><![CDATA[
Services
]]></pageText>
<pageText><![CDATA[
About our services
]]></pageText>
<pageText><![CDATA[
LOREM IPSUM DOLOR SIT AMET
consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci .tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
]]></pageText>
<pageText><![CDATA[
Unique service
]]></pageText>
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
v3x-uk
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Oct 28, 2010 3:54 am |
|
Hi Whitehat
My initial thought was font color too but this proved incorrect, I appreciate the thoughts though, probably should of mentioned that.
With regards to your questions Montego I am including some further information that might help.
As I mentioned before I am pretty sure that it is an issue with the CDATA and its compatibility with the server, I am having the host check this as I type.
Here is another example.
This shows a screenshot of the services page (run locally) I was refering to in my original post. You can see all pictures and text displays correctly.
Screenshot of the same page when hosted
Here is a section of that code
Code:<page name="services">
<image imageUrl="_pic2.png" link="asfunction:link"/>
<image imageUrl="_pic3.png" link="asfunction:link"/>
<texts>
<pageText><![CDATA[
Services
]]></pageText>
<pageText><![CDATA[
About our services
]]></pageText>
<pageText><![CDATA[
LOREM IPSUM DOLOR SIT AMET
consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci .tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
]]></pageText>
<pageText><![CDATA[
Unique service
]]></pageText>
<pageText><![CDATA[
<font color="#ffffff">DUIS AUTEM VEL EUM IRIURE DOLOR IN </font><br/>
In vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at eros et accumsan et iusto odio dignissi
m qui blandit praesent luptatum. <br/>
<a href="asfunction:_root.more_click_func,0"><font color="#62ef05">MORE</font></a>
]]></pageText>
<pageText><![CDATA[
SERVICES OVERVIEW
]]></pageText>
<pageText><![CDATA[
<font color="#ffffff">DESIGN STUDIO</font><br/>
consectetuer adipiscing elit, sed diam and nonummy nibh eui
mod tincidunt ut.
<br/>
<a href="asfunction:_root.more_click_func,1"><font color="#62ef05"> MORE</font></a>
<br/>
<font color="#ffffff">DESIGN STUDIO</font><br/>
consectetuer adipiscing elit, sed diam and nonummy nibh eui
mod tincidunt ut.
<br/>
<a href="asfunction:_root.more_click_func,2"><font color="#62ef05"> MORE</font></a>
]]></pageText>
<pageText><![CDATA[
Service list
]]></pageText>
<pageText><![CDATA[
Consectetuer adipiscing elit, sed diam and nonummy nibh eui mod tincidunt ut laoreet dolore magna aliquam erat volutpat.
<br/><br/>
<font color="#ffffff"><a href="asfunction:link">
>> Sedipiscing elit, sed diam and nonummy <br/>
>> Nibh eui mod tincidunt ut laoreet dolore <br/>
>> Magna aliquam erat volutpat. <br/>
>> Ut wisi enim ad minim veniam, quis <br/>
>> Nostrud exerci tation ullamcorper suscipit <br/>
>> Lobortis nisl ut aliquip ex ea <br/>
>> Commodo consequat. <br/><br/>
</a></font>
<a href="asfunction:_root.more_click_func,3"><font color="#62ef05"> ALL WORKS</font></a>
<br/><br/>
<font color="#ffffff"><a href="asfunction:link">
>> Sedipiscing elit, sed diam and nonummy <br/>
>> Nibh eui mod tincidunt ut laoreet dolore <br/>
>> Magna aliquam erat volutpat. <br/>
>> Ut wisi enim ad minim veniam, quis <br/>
>> Nostrud exerci tation ullamcorper suscipit <br/>
>> Lobortis nisl ut aliquip ex ea <br/>
>> Commodo consequat. <br/><br/>
</a></font>
]]></pageText>
</texts>
|
Thanks
P.S: Montego if you are able/willing to help outside of the forums I would be happy to supply you with ftp details. |
Last edited by v3x-uk on Thu Oct 28, 2010 4:48 am; edited 5 times in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Oct 28, 2010 9:06 am |
|
v3x-uk, unfortunately I would be of no help as I have NO experience with SWF as I said above here:
Quote: |
(As you can tell, I'm reaching here big time as I don't really know anything about ShockWave. Just trying what I can to help.)
|
Merely trying to draw out information from you that might help others help you or give you ideas. Sorry. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Oct 28, 2010 11:39 am |
|
Is this code embedded into javascript?
Code:
<script type="text/javascript">
</script>
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
killing-hours
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/18f54b284d120ece8c103.gif)
Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx
|
Posted:
Thu Oct 28, 2010 2:56 pm |
|
Just a thought... are you viewing a cached page?
Also, would you be willing to provide a link to the page?
Might also check into these two tools
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
_________________ Money is the measurement of time - Me
"You can all go to hell…I’m going to Texas" -Davy Crockett |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
v3x-uk
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Nov 09, 2010 8:21 am |
|
Thought I would let you guys know that I fixed this issue after some trial and error.
It seems that the server required me to have my CDATA all on one line with further lines wordwrapped.
Soo.. I changed this
Code:<pageText><![CDATA[
Services
]]></pageText>
|
to this
Code:<pageText><![CDATA[Services]]></pageText>
|
Strange but worked
Thanks for all the help and hopefully this might help someone else! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|