hfs2
hfs2 copied to clipboard
2.3m can't list folder on web if using the template of 2.4RC7.
want to try save vfs with 2.3m, because https://github.com/rejetto/hfs2/issues/20.
I found this line from 2.4RC7(which has newer theme) can't work with 2.3m. but the two versions just use the same symbols only, and the macros don't affect any <a>
tag of this section.
https://github.com/rejetto/hfs2/blob/29f6bac31c94651b18474cec9e489ce376abbb34/default.tpl#L422
checked documents, but found nothing about [+folder]
section means.
is there any quickfix for this issue? Thanks
[+section] means append content below to this section.
I've found that, hfs 2.3 and 2.4 use different section format on this.
These works equally in two versions, both serves content 1 2
in browser at address /~1
and /~2
:
# HFS 2.3:
[1=2]
1
[+1=+2]
2
# HFS 2.4
[1=2|public]
1
[+1=2]
2
So, in 2.3 you need to change all [+file=folder]
to [+file=+folder]
. link
to +link
respectively.
can a template like that work for both 2.3 and 2.4?
The newest Takeback template works for both 2.3 and 2.4, and have a skin which can be installed to make it like 2.4 default template. All of needed are in a release zip.
If there's any incompatibilities, simply report in its issue :)