Modify

Opened 5 years ago

Last modified 4 years ago

#9866 assigned enhancement

[patch] enable replacement of $USER with username

Reported by: Benjamin Lau Owned by: Ryan J Ollos
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 5 years ago.
includemacro-uservar_withdefaultpage.patch (2.0 KB) - added by Benjamin Lau 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Benjamin Lau

Attachment: includemacro-uservar.patch added

Changed 5 years ago by Benjamin Lau

comment:1 Changed 5 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 4 years ago by Ryan J Ollos

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Ryan J Ollos.

Add Comment


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

 
Note: See TracTickets for help on using tickets.