[pmwiki-users] allow apostrophe in $WikiTitle?
anno at shroomery.org
Wed Jun 27 14:27:27 CDT 2007
Tegan Dowling wrote:
> On 6/27/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>> On Wed, Jun 27, 2007 at 07:45:23AM -0500, Tegan Dowling wrote:
>>> Hi, all:
>>> In my local/congig.php, I have
>>> // $WikiTitle is the name that appears in the browser's title bar.
>>> $WikiTitle = 'My Site Name Here';
>>> // allow use in wikipages - http://www.pmwiki.org/wiki/PmWiki/PageVariables
>>> $FmtPV['$WikiTitle'] = '$GLOBALS["WikiTitle"]';
>>> Is there an escape for the apostrophe so that I could have
>>> $WikiTitle = 'My Site's Name Here'; ?
>> $WikiTitle = 'My Site's Name Here';
> Oh, ah! Here I was looking for a programming-type work-around. duh.
> Thank you!
Probably also $WikiTitle = "My Site's Name Here";
More information about the pmwiki-users