Vedran
 New Member Posts:8
 |
| 01 Jul 2008 02:26 AM |
|
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 |
|
|
|
|
Richard Edwards DNNStuff Founder
 Veteran Member Posts:1149

 |
| 02 Jul 2008 11:33 AM |
|
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 Did you receive excellent support? Consider leaving a testimonial |
|
|
Richard Edwards DNNStuff Founder
 Veteran Member Posts:1149

 |
| 02 Jul 2008 12:41 PM |
|
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 Did you receive excellent support? Consider leaving a testimonial |
|
|
Vedran
 New Member Posts:8
 |
| 03 Jul 2008 03:27 AM |
|
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). |
|
|
|
|
Richard Edwards DNNStuff Founder
 Veteran Member Posts:1149

 |
| 03 Jul 2008 06:23 AM |
|
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 Did you receive excellent support? Consider leaving a testimonial |
|
|
Richard Edwards DNNStuff Founder
 Veteran Member Posts:1149

 |
| 08 Jul 2008 06:07 AM |
|
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 Did you receive excellent support? Consider leaving a testimonial |
|
|