Folder View 2 Support Product Page
This topic was archived
doesn't work - folder lists
Asked 13 Sep 2009 03:58:31
1
has this question
13 Sep 2009 03:58:31 Chris P. posted:
I can't get this to work at all. 1) created a new site and created a new page named index.php
2) I click inside the body tags and then click the folder view plugin icon. I leave all of the default settings and click OK.
3) This inserts the plugin on to the page with sample values named item 1, item 2, item 3, item3.1, item 4
4) I click the folder icon to select a folder to use (we'll use the home directory for now)
5) When I do this the code changes from
<script language="javascript" type="text/javascript">
<!--
dmxListToTree({
bullets : 'plusminus',
icons : true,
struct : true,
objId : 'FolderView'
});
//-->
</script>
<ul class="dmxtree" id="FolderView">[*]Item 1[/*][*]Item 2[/*]
<li class="expanded">Item 3[list][*]Item 3.1[/*][/list]
[/*][*]Item 4[/*][/list]
to
<script language="javascript">
<!--
dmxListToTree({
struct : true,
bullets : "plusminus",
clickOn : "row",
icons : true,
objId : "FolderView",
src : "./",
server : "dmx_folderview.php",
toJSONString : "function () {
return s.object(this);
}"
});
//-->
</script>
<ul class="dmxtree" id="FolderView">[*]Item 1[/*][*]Item 2[/*]
<li class="expanded">Item 3[list][*]Item 3.1[/*][/list]
[/*][*]Item 4[/*][/list]
When this happens, the menus seem to loose their formatting AND I can no longer click the "Folder View Settings" link to edit the settings. (It's no longer there)
All that shows up on the page at that point is a broken version of the sample links which don't actually seem to work
Replies
Replied 15 Sep 2009 09:57:14
15 Sep 2009 09:57:14 Miroslav Zografski replied:
Hello Chris,
What are your DW, OS, and extension versions?
Also are dmx_folderview.php and dmx_folderview_config.php files created?
Have you tried to close DW, clear your cache file, restart DW and reapply the extension?
Regards,
What are your DW, OS, and extension versions?
Also are dmx_folderview.php and dmx_folderview_config.php files created?
Have you tried to close DW, clear your cache file, restart DW and reapply the extension?
Regards,
Replied 01 Oct 2009 00:32:46
01 Oct 2009 00:32:46 Chris P. replied:
Thank you for the reply. I thought I'd get an email when a response was posted so didn't know there was a response.
Anyway, DW CS4, Windows XP sp3 and extension ver. 2.0.0. I have also tried the above but it doesn't help.
Thanks!
Replied 01 Oct 2009 15:08:41
01 Oct 2009 15:08:41 Patrick Julicher replied:
Hi Chris,
Could you delete the following lines of code from your page:
This should leave this:
Kind regards, Patrick
Could you delete the following lines of code from your page:
toJSONString : "function () {
return s.object(this);
}" This should leave this:
<script language="javascript">
<!--
dmxListToTree({
struct : true,
bullets : "plusminus",
clickOn : "row",
icons : true,
objId : "FolderView",
src : "./",
server : "dmx_folderview.php",
});
//-->
</script>Kind regards, Patrick

