Welcome, Guest
Username Password: Remember me

xmlParseEntityRef
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: xmlParseEntityRef

Re: xmlParseEntityRef 13 years, 3 months ago #5207

  • Spubs
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
Android are the ones we have to test, but doesn't work for iphone either.

For testing we're using my ATT Aria (android), My boss's android (not sure what model his is) and an iphone 4.

For system testing I'm using the android SDK simulator, safari user agent switching, and changing the cookies to the android layout in firefox using the url www.theshorthorn.com/index.php?option=com_mobilejoomla&task=setmarkup&markup=mobile&return=Lw==
Last Edit: 13 years, 3 months ago by Spubs.

Re: xmlParseEntityRef 13 years, 3 months ago #5208

  • Spubs
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
Lines 98 to 110: (wrapped in CDATA)

 
<script type="text/javascript">
//<!--
/* <![CDATA[ */
(function(){
var loc = "cloud-ad.appspot.com/ad.js"
var uri = "?domain=" + encodeURIComponent(window.location.hostname);
var src = ('https:' == document.location.protocol ? 'https://' : 'http://') + loc + uri;
var strings = ['<script src="', src, '" type="text/javascript">', '<', '/script>'].join('');
document.write(strings);
})();
/* ]]> */
//-->
</script>
 


Lines 131 to 144: (Wrapped in CDATA)

 
<script type="text/javascript">
/* <![CDATA[ */
window.addEvent('domready', function(){
ids = ['94f20043e0f1a0c146dce83f1874584f'];
ids.each (function(id) {
holder = $('JaCommentPlaceHolder'+id);
comment = $('JaCommentContainer'+id);
if ($chk(holder) && $chk(comment)) {
holder.replaceWith(comment.remove());
}
});
});
/* ]]> */
</script>
 


Lines 146 to 155: (Wrapped in CDATA)

 
<script type='text/javascript'>
//<![CDATA[
var disqus_shortname = 'shorthorn';
(function () {
var s = document.createElement('script'); s.async = true;
s.src = 'http://disqus.com/forums/shorthorn/count.js?v=1314371936';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(s);
}());
//]]>
</script>
 


Lines 157 to 167: (NOT wrapped in CDATA!)

 
<script type="text/javascript" language="javascript">addthis_pub="joomlart";addthis_header_color="#000000";addthis_header_background="#999999";addthis_brand="joomlart.com";addthis_language="en";addthis_options="";addthis_offset_top="";addthis_offset_left="";</script><a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif" border="0" alt="" /> </a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script></span>
<script type="text/javascript">
window.addEvent('domready', function(){
holder = $('jabookmark-container');
wapper = $('jabookmarkWapper');
if (holder && wapper) {
holder.setStyle('display','block');
wapper.replaceWith( holder.remove() );
}
});
</script>
 
Last Edit: 13 years, 3 months ago by Spubs.

Re: xmlParseEntityRef 13 years, 3 months ago #5209

  • Spubs
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
The hard part is finding the offending files to wrap in CDATA...

Re: xmlParseEntityRef 13 years, 3 months ago #5211

  • Spubs
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
OK, I found the offending file: root/plugins/content/plg_jabookmark/tmpl/common.php

BUT, that only got rid of the error. The slideshow still does not show on mobile.

Re: xmlParseEntityRef 13 years, 3 months ago #5214

  • Barnabas
  • OFFLINE
  • Moderator
  • Posts: 329
  • Karma: 6
I have a windows laptop and I use www.harddisksearch.com/ for searching on it.
It will find text in php files.

I don't know the answer to the original question though.

Re: xmlParseEntityRef 13 years, 3 months ago #5239

  • Spubs
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
i was able to correct the error, but the slideshow still refuses to show for iphone or andoid.

Looking at the source, at line 52, in the very long string, the UL is set to visibility: hidden (which would explain the long page- visibility leaves space for the element, display: none removes it completely)

2 questions:

1) how to make the slideshow show?
2) how does it treat captions? We usually caption each photo separately.
Last Edit: 13 years, 3 months ago by Spubs.

Re: xmlParseEntityRef 13 years, 3 months ago #5244

  • Spubs
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
So I've looked at the source from a desktop and from a mobile emulation, and I think I figured out what is wrong.

The system sets the UL to visibility hidden, then uses ID's to turn each LI on one-by-one for the slideshow. The mobile template is removing this javascript.

Looks like the required files are /plugins/content/sigplus/engines/boxplus/slider/js/boxplus.slider.min.js and /plugins/content/sigplus/engines/boxplus.caption.min.js but I'm not positive on that.
Last Edit: 13 years, 3 months ago by Spubs.

Re: xmlParseEntityRef 13 years, 3 months ago #5246

  • Spubs
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
did some poking around since I work a different shift than the newsroom online editor, and found this. It's the code that creates the slideshow. It's a sigplus module, I know nothing about it.....other than it needs to work.

If it helps any, it works on the iphone (tested with iphone 4) but not the android/xhtml layout.

 
<p>Welcome Week</p>
<p> </p>
<p>
<span id="internal-source-marker_0.42206436889956545" style="font-size: 11pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">
{gallery}sigplus/welcomeweek2011{/gallery}
</span>
<br />
<span style="font-size: 11pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;"> </span>
<br />
<span style="font-size: 11pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">{jathumbnail off}</span>
</p>
 
Last Edit: 13 years, 3 months ago by Spubs.
  • Page:
  • 1
  • 2
Time to create page: 0.30 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.