[pmwiki-users] setting $Author with $AuthId as prefix
Kathryn Andersen
kat_lists at katspace.homelinux.org
Mon Jan 22 19:38:40 CST 2007
On Mon, Jan 22, 2007 at 10:00:07AM -0600, Patrick R. Michaud wrote:
> Simply be sure to also (re)set $AuthorLink when changing $Author:
>
> include_once("$FarmD/scripts/author.php");
> include_once("$FarmD/scripts/authuser.php");
> $Author = "$AuthId-" . preg_replace('/^[^-]*-/', '', $Author);
> $AuthorLink = "[[~$Author]]";
Works great! Thanks!
Kathryn
--
_--_|\ | Kathryn Andersen <http://www.katspace.com>
/ \ |
\_.--.*/ | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
v |
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe
More information about the pmwiki-users
mailing list