PDA

View Full Version : Request for a little rationalisation of UserCP templates


Kier
Mon 19th Feb '01, 7:16am
In my travels through the templates system, I noticed that most of the vB2 pages use makenavbar(..) to populate the $navbar template - this is a superb system, and makes my life a damned sight easier than it was with vB1.1x, as I display my navbar like this:

http://kier.3dfrontier.com/images/navbar.gif

However, with all the progress that has been made here, the UserCP still uses the old system... could the userCP navbar have its own template in a forthcoming version?

Secondly, I would really like to see the UserCP templates rationalised a little, in much the same way as the forumdisplay templates have been done.

It's rather infuriating to have to edit $usercp, $modifyprofile, $modifyoptions, $modifypassword, $listedit, $privfolder, $subscribe, $modifyavatar (etc...) all of which have the same data at the top of the page (breadcrumb + usercpnav)... couldn't all of these become sub-page elements for a main usercp page template in the same way as $forumdisplay has $forumdisplay_forumslist and $forumdisplay_threadslist? It would certainly make editing the control panel templates much easier.

leadZERO
Mon 19th Feb '01, 10:52am
Isn't it possible to add templates yourself and use them? I thought I remembered being able to add templates, you could just use that and then the variable in all the others.

Kier
Mon 19th Feb '01, 11:02am
Yes of course, but for those users who don't want to get too complex, it would be nice if this particular example was sorted in the same way as forumdisplay has been.