Modify

Opened 13 years ago

Last modified 5 years ago

#9866 new enhancement

[patch] enable replacement of $USER with username

Reported by: Benjamin Lau Owned by:
Priority: normal Component: IncludeMacro
Severity: normal Keywords: patch
Cc: Trac Release: 0.11

Description

The attached patch allows for the creation of variable include pages based on the username.

Attachments (2)

includemacro-uservar.patch (601 bytes) - added by Benjamin Lau 13 years ago.
includemacro-uservar_withdefaultpage.patch (2.0 KB) - added by Benjamin Lau 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by Benjamin Lau

Attachment: includemacro-uservar.patch added

Changed 13 years ago by Benjamin Lau

comment:1 Changed 13 years ago by Benjamin Lau

Added a "default page" capability. This can be configured in the trac.ini like this:

[includemacro]                                                                                                                                                        
default_page = users/unknown

comment:2 Changed 11 years ago by Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

comment:3 Changed 5 years ago by Ryan J Ollos

See also #13782.

comment:4 Changed 5 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted
Status: assignednew

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.