vedran
 Member Posts:8
 | | 07/01/2008 1:26 AM |
Alert | Hello! We use SQLView (03.00.02) in combination with xsl stylesheets. It works perfectly, until you try to export module settings - for example, while creating a page template. All other parameters are exported except source for xsl stylesheet (SQL table ModuleSettings, parameter xslsrc). So, on new pages created with template, all SQLView modules are shown as unformated tables and you have to define xsl stylesheets again, thus making the concept of importing modules and their settings unpractical. Is there a way to export xslsrc setting?
Thanks, Vedran | | | |
|
dnnstuffadmin DNNStuff Founder
 Site Member Posts:1261

 | | 07/02/2008 10:33 AM |
Alert | Hi Vedran,
Let me take a look at the source. I probably forgot to add that property into the import/export functionality.
| | Richard Edwards DNNStuff Founder | |
|
dnnstuffadmin DNNStuff Founder
 Site Member Posts:1261

 | | 07/02/2008 11:41 AM |
Alert | The problem was as I expected. I have made the adjustment in code and uploaded to the SQLView download section. You can find the post here, http://www.dnnstuff.com/Download/tabid/298/forumid/17/postid/1201/view/topic/Default.aspx
Thanks for alerting me to the issue. | | Richard Edwards DNNStuff Founder | |
|
vedran
 Member Posts:8
 | | 07/03/2008 2:27 AM |
Alert | Thanks for your quick answer and update.
I updated to 04.00.01 and xslSrc parameter is added to SQLView when exporting to xml template. For example: <xslSrc><![CDATA[SQL_format.xsl]]></xslSrc>
However, there are few more bugs and xsl stylesheets are not added to new page created with template. First one is name xslSrc - it must be xslsrc (case sensitive), otherwise that parameter is not added to table dbo.ModuleSettings. If it's xslsrc in template, than xslSrc parameter is added dbo.ModuleSettings, but it still doesn't work (for example you can't even change xsl stylesheet from edit module settings if parameter is named xslSrc). There are also errors if you try to export content of one specific SQLView module.
Second one is value of xslsrc. Now it's xsl stylesheet's filename and it should be FileID=xxx (referenced with dbo.Files). | | | |
|
dnnstuffadmin DNNStuff Founder
 Site Member Posts:1261

 | | 07/03/2008 5:23 AM |
Alert | Hi Vedran,
Send me an email to support at dnnstuff.com and I'll send you another build. We can work through this together and I'll post an update on the site when we've figured this out.
| | Richard Edwards DNNStuff Founder | |
|
dnnstuffadmin DNNStuff Founder
 Site Member Posts:1261

 | | 07/08/2008 5:07 AM |
Alert | I just wanted to close this thread off so others would know what transpired. The xmlsrc import/export problem was fixed and a new download was provided with this feature, version 4.0.1.
Thanks Vedran. | | Richard Edwards DNNStuff Founder | |
|