Tuesday 24 June 2003 4:50:58 am
Just tried out a fresh db of rev 2795 of the latest svn and installed the demo data. When i logged into the forums and then changed the url to goto user/edit/14 i found that i could eventually edit my profile. BUT, then i noticed the text 'PAGELAYOUT' on the screen. Having a look at the default pagelayout.tpl in 'design/demo/templates' I find that indeed that text is there, along with a {$module_result.content}. I didnt have this in my default pagelayout and when i add it I find that I can now edit my profile.... Another but, this is not what i want. I want to edit my profile from within the specified pagelayout, so I added an override for section 2, the users section...
# General Overrides
[pagelayout_mysite]
Source=pagelayout.tpl
MatchFile=pagelayout_mysite.tpl
Subdir=templates Match[section]=1
[pagelayout_test]
Source=pagelayout.tpl
MatchFile=pagelayout_mysite.tpl
Subdir=templates Match[section]=2 and bingo, it works :) I'll add this to the cont docs later today. Paul
|