FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Template editor problems
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Template editor problems [message #32105] Thu, 08 June 2006 18:00 Go to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
This is in regard to 2.7.4.

When I open the template editor, the top three templates are "#index.tmpl", "#pdf.tmpl", and "#rdf.tmpl". If I click the plus next to "#index.tmpl" the page refreshes and the selection disappears from the list; but a "index.tmpl" selection appears. If I click the plus next to the new "index.tmpl" selection this new one disappears and the "#index.tmpl" selection reappears. If I click the plus next to "#pdf.tmpl" then the selection disappears altogether. It will reappear when I try to expand another template (and that template does not expand). If I click the plus next to "#rdf.tmpl" it will actually expand the selection and show me the "rdf_Charset" option. If I select this option I get "Could not open template" on an otherwise blank page. I don't think this problem is limited to only these templates. Some seem to work and others do not (they disappear).
Re: Template editor problems [message #32111 is a reply to message #32105] Thu, 08 June 2006 22:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I suspect that is because you have files that start with #, which are not part of the standard template selection.

FUDforum Core Developer
Re: Template editor problems [message #32112 is a reply to message #32105] Thu, 08 June 2006 23:41 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
I have not modified them. I was starting to work on a new one but had to stop before I could get started because of this problem.
Re: Template editor problems [message #32149 is a reply to message #32112] Mon, 12 June 2006 15:27 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you show me a file listing inside the tmpl directory of the theme that you are editing. Also, was this a clean install of 2.7.4, or was it an upgrade from a previous release?

FUDforum Core Developer
Re: Template editor problems [message #32154 is a reply to message #32105] Mon, 12 June 2006 19:56 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
I checked it on my production forum and my test forum before reporting. Both are upgraded forums; in the case of the production forum, many times upgraded. I was going to completely erase my test forum today and install 2.7.5 from scratch to see if the problem persists, but I haven't had time. Maybe tomorrow. Anyway, here is the file list from the tmpl directory of the theme I was trying to edit on my test forum (I just did a `cp -R` to create the new theme; there really should be "copy template" and "copy theme" options in the editor so that the file system doesn't have to be manipulated directly):

Quote:

dyn50-248:/Library/WebServer/FUDforum/thm/new_theme/tmpl root# ls -1A
actions.tmpl
adm_acc.tmpl
admincp.tmpl
allowed_user_lnk.tmpl
alt_var.tmpl
attach.tmpl
avatar_msg.tmpl
avatarsel.tmpl
buddy.tmpl
buddy_list.tmpl
captcha.tmpl
cookies.tmpl
coppa.tmpl
coppa_fax.tmpl
curtime.tmpl
date_formats.tmpl
db.tmpl
draw_forum_path.tmpl
draw_pager.tmpl
draw_radio_opt.tmpl
draw_select_opt.tmpl
drawmsg.tmpl
drawpmsg.tmpl
email.tmpl
emailconf.tmpl
err.tmpl
errmsg.tmpl
error.tmpl
fileio.tmpl
finduser.tmpl
footer.tmpl
forum.css.tmpl
forum.tmpl
forum_notify.tmpl
forumsel.tmpl
get_cur_ppage.tmpl
getfile.tmpl
groupmgr.tmpl
groups.tmpl
header.tmpl
help_index.tmpl
iemail.tmpl
ignore.tmpl
ignore_list.tmpl
imsg_edt.tmpl
index.tmpl
ip.tmpl
ipoll.tmpl
is_perms.tmpl
isearch.tmpl
list_referers.tmpl
logaction.tmpl
logedin.tmpl
login.tmpl
markread.tmpl
merge_th.tmpl
messages
minimsg.tmpl
mklist.tmpl
mmd.tmpl
mmod.tmpl
mnav.tmpl
modque.tmpl
msg.tmpl
mvthread.tmpl
online_today.tmpl
pdf.tmpl
pmsg.tmpl
pmsg_view.tmpl
pmuserloc.tmpl
poll.tmpl
polllist.tmpl
post.tmpl
post_common.tmpl
post_opt.tmpl
post_proc.tmpl
postcheck.tmpl
ppost.tmpl
pre_reg.tmpl
private.tmpl
qbud.tmpl
quicklogin.tmpl
ratethread.tmpl
rdf.tmpl
referals.tmpl
reg_conf.tmpl
register.tmpl
remail.tmpl
replace.tmpl
report.tmpl
reported.tmpl
reset.tmpl
return.tmpl
rev_fmt.tmpl
rhost.tmpl
root_index.tmpl
rpasswd.tmpl
rst.tmpl
search.tmpl
search_forum_sel.tmpl
security.tmpl
selmsg.tmpl
show.tmpl
showposts.tmpl
smiley.tmpl
smladd.tmpl
smtp.tmpl
spell.tmpl
split_th.tmpl
ssu.tmpl
stats.tmpl
subscribed.tmpl
tabs.tmpl
th.tmpl
th_adm.tmpl
th_nav.tmpl
thr_exch.tmpl
thread.tmpl
thread_notify.tmpl
thread_view_common.tmpl
threadt.tmpl
tmp_view.tmpl
tree.tmpl
tz.tmpl
uc.tmpl
ulink.tmpl
usercp.tmpl
users.tmpl
users_reg.tmpl
usrinfo.tmpl
wordwrap.tmpl


It does the same thing with the default template/theme.
Re: Template editor problems [message #32187 is a reply to message #32154] Tue, 13 June 2006 20:08 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you do "ls -lia" please.

FUDforum Core Developer
Re: Template editor problems [message #32190 is a reply to message #32187] Tue, 13 June 2006 20:27 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
Quote:

dyn50-248:/Library/WebServer/FUDforum/thm/new_theme/tmpl root# ls -lia
total 1376
6155048 drwx--x--x 133 www www 4522 Jun 8 13:45 .
6154225 drwx--x--x 5 www www 170 Jun 8 13:45 ..
6155179 -rw-r----- 1 www www 2349 Jun 8 13:45 actions.tmpl
6155050 -rw-r----- 1 www www 798 Jun 8 13:45 adm_acc.tmpl
6155051 -rw-r----- 1 www www 2469 Jun 8 13:45 admincp.tmpl
6155052 -rw-r----- 1 www www 1102 Jun 8 13:45 allowed_user_lnk.tmpl
6155053 -rw-r----- 1 www www 485 Jun 8 13:45 alt_var.tmpl
6155054 -rw-r----- 1 www www 483 Jun 8 13:45 attach.tmpl
6155055 -rw-r----- 1 www www 807 Jun 8 13:45 avatar_msg.tmpl
6155056 -rw-r----- 1 www www 1785 Jun 8 13:45 avatarsel.tmpl
6155057 -rw-r----- 1 www www 480 Jun 8 13:45 buddy.tmpl
6155058 -rw-r----- 1 www www 4616 Jun 8 13:45 buddy_list.tmpl
6155059 -rw-r--r-- 1 www www 557 Jun 8 13:45 captcha.tmpl
6155060 -rw-r----- 1 www www 486 Jun 8 13:45 cookies.tmpl
6155061 -rw-r----- 1 www www 1292 Jun 8 13:45 coppa.tmpl
6155062 -rw-r----- 1 www www 2409 Jun 8 13:45 coppa_fax.tmpl
6155063 -rw-r----- 1 www www 609 Jun 8 13:45 curtime.tmpl
6155064 -rw-r----- 1 www www 3143 Jun 8 13:45 date_formats.tmpl
6155065 -rw-r----- 1 www www 472 Jun 8 13:45 db.tmpl
6155066 -rw-r----- 1 www www 1256 Jun 8 13:45 draw_forum_path.tmpl
6155067 -rw-r----- 1 www www 2517 Jun 8 13:45 draw_pager.tmpl
6155068 -rw-r----- 1 www www 785 Jun 8 13:45 draw_radio_opt.tmpl
6155069 -rw-r----- 1 www www 767 Jun 8 13:45 draw_select_opt.tmpl
6155070 -rw-r----- 1 www www 17739 Jun 8 13:45 drawmsg.tmpl
6155071 -rw-r----- 1 www www 8870 Jun 8 13:45 drawpmsg.tmpl
6155072 -rw-r----- 1 www www 2861 Jun 8 13:45 email.tmpl
6155073 -rw-r----- 1 www www 726 Jun 8 13:45 emailconf.tmpl
6155074 -rw-r----- 1 www www 1854 Jun 8 13:45 err.tmpl
6155075 -rw-r----- 1 www www 717 Jun 8 13:45 errmsg.tmpl
6155076 -rw-r----- 1 www www 1398 Jun 8 13:45 error.tmpl
6155077 -rw-r----- 1 www www 483 Jun 8 13:45 fileio.tmpl
6155078 -rw-r----- 1 www www 5511 Jun 8 13:45 finduser.tmpl
6155079 -rw-r----- 1 www www 1239 Jun 8 13:45 footer.tmpl
6155080 -rw-r----- 1 www www 10727 Jun 8 13:45 forum.css.tmpl
6155081 -rw-r----- 1 www www 480 Jun 8 13:45 forum.tmpl
6155082 -rw-r----- 1 www www 501 Jun 8 13:45 forum_notify.tmpl
6155083 -rw-r----- 1 www www 1536 Jun 8 13:45 forumsel.tmpl
6155084 -rw-r----- 1 www www 1462 Jun 8 13:45 get_cur_ppage.tmpl
6155085 -rw-r----- 1 www www 546 Jun 8 13:45 getfile.tmpl
6155086 -rw-r----- 1 www www 7339 Jun 8 13:45 groupmgr.tmpl
6155087 -rw-r----- 1 www www 483 Jun 8 13:45 groups.tmpl
6155088 -rw-r----- 1 www www 1753 Jun 8 13:45 header.tmpl
6155089 -rw-r----- 1 www www 1629 Jun 8 13:45 help_index.tmpl
6155090 -rw-r----- 1 www www 3532 Jun 8 13:45 iemail.tmpl
6155091 -rw-r----- 1 www www 483 Jun 8 13:45 ignore.tmpl
6155092 -rw-r----- 1 www www 4278 Jun 8 13:45 ignore_list.tmpl
6155093 -rw-r----- 1 www www 672 Jun 8 13:45 imsg_edt.tmpl
6155094 -rw-r----- 1 www www 6634 Jun 8 13:45 index.tmpl
6155095 -rw-r----- 1 www www 2804 Jun 8 13:45 ip.tmpl
6155096 -rw-r----- 1 www www 481 Jun 8 13:45 ipoll.tmpl
6155097 -rw-r----- 1 www www 489 Jun 8 13:45 is_perms.tmpl
6155098 -rw-r----- 1 www www 548 Jun 8 13:45 isearch.tmpl
6155099 -rw-r----- 1 www www 1912 Jun 8 13:45 list_referers.tmpl
6155100 -rw-r----- 1 www www 493 Jun 8 13:45 logaction.tmpl
6155101 -rw-r----- 1 www www 2383 Jun 8 13:45 logedin.tmpl
6155102 -rw-r----- 1 www www 3493 Jun 8 13:45 login.tmpl
6155103 -rw-r----- 1 www www 529 Jun 8 13:45 markread.tmpl
6155104 -rw-r----- 1 www www 2716 Jun 8 13:45 merge_th.tmpl
6155105 -rw-r----- 1 www www 2337 Jun 8 13:45 messages
6155106 -rw-r----- 1 www www 1388 Jun 8 13:45 minimsg.tmpl
6155107 -rw-r----- 1 www www 2530 Jun 8 13:45 mklist.tmpl
6155108 -rw-r----- 1 www www 2101 Jun 8 13:45 mmd.tmpl
6155109 -rw-r----- 1 www www 2228 Jun 8 13:45 mmod.tmpl
6155110 -rw-r----- 1 www www 5927 Jun 8 13:45 mnav.tmpl
6155111 -rw-r----- 1 www www 1941 Jun 8 13:45 modque.tmpl
6155112 -rw-r----- 1 www www 7531 Jun 8 13:45 msg.tmpl
6155113 -rw-r----- 1 www www 2351 Jun 8 13:45 mvthread.tmpl
6155114 -rw-r----- 1 www www 2123 Jun 8 13:45 online_today.tmpl
6155115 -rw-r----- 1 www www 586 Jun 8 13:45 pdf.tmpl
6155116 -rw-r----- 1 www www 8277 Jun 8 13:45 pmsg.tmpl
6155117 -rw-r----- 1 www www 1512 Jun 8 13:45 pmsg_view.tmpl
6155118 -rw-r----- 1 www www 1877 Jun 8 13:45 pmuserloc.tmpl
6155119 -rw-r----- 1 www www 5597 Jun 8 13:45 poll.tmpl
6155120 -rw-r----- 1 www www 2903 Jun 8 13:45 polllist.tmpl
6155121 -rw-r----- 1 www www 14128 Jun 8 13:45 post.tmpl
6155122 -rw-r----- 1 www www 9510 Jun 8 13:45 post_common.tmpl
6155123 -rw-r----- 1 www www 1537 Jun 8 13:45 post_opt.tmpl
6155124 -rw-r----- 1 www www 1112 Jun 8 13:45 post_proc.tmpl
6155125 -rw-r----- 1 www www 1724 Jun 8 13:45 postcheck.tmpl
6155126 -rw-r----- 1 www www 9549 Jun 8 13:45 ppost.tmpl
6155127 -rw-r----- 1 www www 1549 Jun 8 13:45 pre_reg.tmpl
6155128 -rw-r----- 1 www www 690 Jun 8 13:45 private.tmpl
6155129 -rw-r----- 1 www www 1963 Jun 8 13:45 qbud.tmpl
6155130 -rw-r----- 1 www www 1520 Jun 8 13:45 quicklogin.tmpl
6155131 -rw-r----- 1 www www 535 Jun 8 13:45 ratethread.tmpl
6155132 -rw-r----- 1 www www 577 Jun 8 13:45 rdf.tmpl
6155133 -rw-r----- 1 www www 2744 Jun 8 13:45 referals.tmpl
6155134 -rw-r----- 1 www www 1350 Jun 8 13:45 reg_conf.tmpl
6155135 -rw-r----- 1 www www 19160 Jun 8 13:45 register.tmpl
6155136 -rw-r----- 1 www www 3925 Jun 8 13:45 remail.tmpl
6155137 -rw-r----- 1 www www 487 Jun 8 13:45 replace.tmpl
6155138 -rw-r----- 1 www www 2325 Jun 8 13:45 report.tmpl
6155139 -rw-r----- 1 www www 2590 Jun 8 13:45 reported.tmpl
6155140 -rw-r----- 1 www www 2406 Jun 8 13:45 reset.tmpl
6155141 -rw-r----- 1 www www 483 Jun 8 13:45 return.tmpl
6155142 -rw-r----- 1 www www 486 Jun 8 13:45 rev_fmt.tmpl
6155143 -rw-r----- 1 www www 480 Jun 8 13:45 rhost.tmpl
6155144 -rw-r----- 1 www www 545 Jun 8 13:45 root_index.tmpl
6155145 -rw-r----- 1 www www 2011 Jun 8 13:45 rpasswd.tmpl
6155146 -rw-r----- 1 www www 793 Jun 8 13:45 rst.tmpl
6155147 -rw-r----- 1 www www 5266 Jun 8 13:45 search.tmpl
6155148 -rw-r----- 1 www www 954 Jun 8 13:45 search_forum_sel.tmpl
6155149 -rw-r----- 1 www www 489 Jun 8 13:45 security.tmpl
6155150 -rw-r----- 1 www www 4124 Jun 8 13:45 selmsg.tmpl
6155151 -rw-r----- 1 www www 2046 Jun 8 13:45 show.tmpl
6155152 -rw-r----- 1 www www 2467 Jun 8 13:45 showposts.tmpl
6155153 -rw-r----- 1 www www 484 Jun 8 13:45 smiley.tmpl
6155154 -rw-r----- 1 www www 1227 Jun 8 13:45 smladd.tmpl
6155155 -rw-r----- 1 www www 49 Jun 8 13:45 smtp.tmpl
6155156 -rw-r----- 1 www www 536 Jun 8 13:45 spell.tmpl
6155157 -rw-r----- 1 www www 3117 Jun 8 13:45 split_th.tmpl
6155158 -rw-r----- 1 www www 533 Jun 8 13:45 ssu.tmpl
6155159 -rw-r----- 1 www www 743 Jun 8 13:45 stats.tmpl
6155160 -rw-r----- 1 www www 3394 Jun 8 13:45 subscribed.tmpl
6155161 -rw-r----- 1 www www 1461 Jun 8 13:45 tabs.tmpl
6155162 -rw-r----- 1 www www 471 Jun 8 13:45 th.tmpl
6155163 -rw-r----- 1 www www 483 Jun 8 13:45 th_adm.tmpl
6155164 -rw-r----- 1 www www 1112 Jun 8 13:45 th_nav.tmpl
6155165 -rw-r----- 1 www www 3218 Jun 8 13:45 thr_exch.tmpl
6155166 -rw-r----- 1 www www 8461 Jun 8 13:45 thread.tmpl
6155167 -rw-r----- 1 www www 504 Jun 8 13:45 thread_notify.tmpl
6155168 -rw-r----- 1 www www 4919 Jun 8 13:45 thread_view_common.tmpl
6155169 -rw-r----- 1 www www 4927 Jun 8 13:45 threadt.tmpl
6155170 -rw-r----- 1 www www 509 Jun 8 13:45 tmp_view.tmpl
6155171 -rw-r----- 1 www www 10999 Jun 8 13:45 tree.tmpl
6155172 -rw-r----- 1 www www 470 Jun 8 13:45 tz.tmpl
6155173 -rw-r----- 1 www www 7548 Jun 8 13:45 uc.tmpl
6155174 -rw-r----- 1 www www 815 Jun 8 13:45 ulink.tmpl
6155175 -rw-r----- 1 www www 4357 Jun 8 13:45 usercp.tmpl
6155176 -rw-r----- 1 www www 480 Jun 8 13:45 users.tmpl
6155177 -rw-r----- 1 www www 511 Jun 8 13:45 users_reg.tmpl
6155178 -rw-r----- 1 www www 11029 Jun 8 13:45 usrinfo.tmpl
6155049 -rw-r----- 1 www www 489 Jun 8 13:45 wordwrap.tmpl
Re: Template editor problems [message #32206 is a reply to message #32190] Wed, 14 June 2006 14:08 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Does the default theme contain those files perhaps?

FUDforum Core Developer
Re: Template editor problems [message #32209 is a reply to message #32206] Wed, 14 June 2006 18:26 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
Yes, they are the exact same. I copied the default directory to "new_theme" and tried to edit it with the template editor. On my production forum, I don't have any extra themes or templates. Nor have I modified the default template in any way.
Re: Template editor problems [message #32236 is a reply to message #32209] Fri, 16 June 2006 08:35 Go to previous messageGo to next message
hjansen is currently offline  hjansen   Belgium
Messages: 5
Registered: June 2006
Location: Belgium
Karma: 0
Junior Member
I have exactly the same problem on a brand new installation
Re: Template editor problems [message #32280 is a reply to message #32236] Mon, 19 June 2006 01:26 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS, here is the patch:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=11502


FUDforum Core Developer
Re: Template editor problems [message #32340 is a reply to message #32280] Wed, 21 June 2006 17:44 Go to previous message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
Awesome. It is working like normal now.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: posted URLs broken in message bodies
Next Topic: Problems with Categories
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 10:47:34 GMT 2024

Total time taken to generate the page: 0.02825 seconds