Modify

Opened 2 years ago

Last modified 7 months ago

#9866 assigned enhancement

[patch] enable replacement of $USER with username

Reported by: netjunki Owned by: rjollos
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 netjunki 2 years ago.
includemacro-uservar_withdefaultpage.patch (2.0 KB) - added by netjunki 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by netjunki

Changed 2 years ago by netjunki

comment:1 Changed 2 years ago by netjunki

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

[includemacro]                                                                                                                                                        
default_page = users/unknown

comment:2 Changed 7 months ago by rjollos

  • Owner changed from coderanger to rjollos
  • Status changed from new to assigned

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.