Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 2 Hours, 11 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Stubborn code
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Stubborn code
#6488
Stubborn code 2 Years ago  
Here's on for ya...I have been at this for 6 hours now and I have tried Jumi, JCE trick, TinyMCE trick, No Editor trick and have failed all attempts - Can you help?

I created an HTML spry dataset in Dreamweaver. It has a "data file" that is an HTML file that contains a table with data (text and images).

Then there is the page that pulls the data - it contains the following code which I have put into Sourcer with no luck:

<script src="SpryData.js" type="text/javascript"></script>
<script src="SpryHTMLDataSet.js" type="text/javascript"></script>
<link href="SprySpotlightColumn.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
<!--
var dsCd = new Spry.Data.HTMLDataSet("cddata.html", "cdData");
//-->

<div id="wrapper">
  
  <div spry:region="dsCd" class="SpotlightAndStacked">
     <div spry:repeat="dsCd" class="SpotlightAndStackedRow">
       <div class="SpotlightContainer">
         <div class="SpotlightColumn"> {photo}</div>
       </div>
       <div class="StackedContainer">
         <div class="StackedColumn"> {title}</div>
         <div class="StackedColumn"> {description}</div>
         <div class="StackedColumn"> {tracks}</div>
         <div class="StackedColumn"> {time}</div>
       </div>
            </div>
  </div>
</div>
Katherine
Posts: 4
User OfflineClick here to see the profile of this user
Last Edit: 2010/01/13 11:15 By peter.
The administrator has disabled public write access.
 
#6489
Re: Stubborn code 2 Years ago  
What do you mean with "no luck"?
Does the code get placed in the html output of your site? Do you get javascript errors?
The external files, where are they located?
Do you have a link to you page where you are trying to place the code?
Peter van Westen
Admin
Posts: 9147
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#6491
Re: Stubborn code 2 Years ago  
thewindinstitute.com.s79171.gridserver.c...s/testing-music.html

SEF links are activated

I am using JCE editor and noticed the info about the zero in th opening tag - will give that a try,

I am confused about where the index.php and the file structure relationship - not sure if it is in root or in template structure.

No luck means no error and nothing shows up - blank page

Thanks,
K
Katherine
Posts: 4
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6492
Re: Stubborn code 2 Years ago  
The code is placed on the page (see the HTML source of the page). And the links to the .js and .css files seem to be correct.

I don't know why it is not working. But it isn't a problem of Sourcerer, but someting in the code.

Try setting it up on a stand-alone html page first and see if it will even work on that.
Peter van Westen
Admin
Posts: 9147
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#6494
Re: Stubborn code 2 Years ago  
It does work on a stand alone html page.

I looked at the code through View Source of Firefox, I noticed that maybe joomla is adding the extra "/" in front of the link to the javascript:

<script src="/SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="/SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
<link href="/SpryAssets/SprySpotlightColumn.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">


and that the reference to the data file does not. cddata.html

Well I am half way there - it was the file cddata... I added /cddata.html and the data showed up, now the photos referencing right - Whoo Hooo!

Thanks, Katherine
Katherine
Posts: 4
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6496
Re: Stubborn code 2 Years ago  
Ok, great!
Peter van Westen
Admin
Posts: 9147
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#6504
Re: Stubborn code 2 Years ago  
Got everything working. Had to consolidate all .js, .css, and .jpg files into SpryAssets folder - link addressing to images was confusing. The trick is that you have to add a "/" to help joomla out with linking. thewindinstitute.com.s79171.gridserver.c...s/testing-music.html

Thanks for a great extension!
Katherine
Posts: 4
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max
hosting joomla