xmlParseEntityRef

Spubs
13 years, 8 months ago
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>
 
Spubs
13 years, 8 months ago
The hard part is finding the offending files to wrap in CDATA...
Spubs
13 years, 8 months ago
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.
Barnabas
13 years, 8 months ago
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.
Spubs
13 years, 8 months ago
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.
Spubs
13 years, 8 months ago
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.
Spubs
13 years, 8 months ago
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>
 
2

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.