Share » Forums » Developer » Editing a user profile

Editing a user profile

Editing a user profile

Tuesday 24 June 2003 12:00:10 am - 2 replies

Modified on Tuesday 24 June 2003 12:22:51 am by Paul Forsyth

Author Message

Paul Forsyth

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

Tony Wood

Tuesday 24 June 2003 4:59:55 am

Nice going Paul :)

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu