Friday 05 November 2004 12:26:17 am
Hi,
Sorry, I clicked the topic.
yes , I also don't want to create a section just in order to override a folder, but I met another problem: if I want to let the user to remove or edit self created files,the override template can't works.
1)I let the user have the authority to create,edit or remove
2)Add the corresponng program in specifal_file_line.tpl 3)Modify the override.ini.append file
[specifial_file_folder]
Source=node/view/full.tpl
MatchFile=specifal_file_folder.tpl
Subdir=templates Match[node]=202
[specifial_file_line]
Source=node/view/line.tpl
MatchFile=specifal_file_line.tpl
Subdir=templates Match[node]=202 The"the_specifial_file_folder" works fine, but the "specifial_file_line" can't work, still use default file_line.tpl. but if I created a section for the specifial folder, and modified the override.ini.append file as below,is works fine.
[specifial_file_line]
Source=node/view/line.tpl
MatchFile=specifal_file_line.tpl
Subdir=templates
Match[section]=18 Match[class]=12 Is it possible if I don't create a section to let the specifial_file_line.tpl works fine for the specifial folder? any hint or code will be high appreciate.
regards! SGpoon
|