|
Cookbook /
RandomTitleSummary: How to make PmWiki have random titles in the browser title bar
Version:
Prerequisites:
Status:
Maintainer:
Categories: Administration
How can I make my Wiki have random titles in the browser title bar?A simple PHP hack, my dear Watson!Inspired by a FireFox plugin that amusingly changes the browser title every time one starts the browser, to names such as "StormUnicorn" and "IcePanda", I decided to see if I could do something similar for my Wiki. This plugin takes a selection of titles (ie, for Example: http://54wiki.aenertia.net Notes and Comments
DirectionsDownload:
And place it in the cookbook directory. Create a page in your wiki, Main.RandomTitle. Fill it with titles, starting every title with two asterisks (**). Open up config.php in an editor. Comment out this line by placing ##'s in front of it: $WikiTitle = "My Wiki"; So it now reads: ## $WikiTitle = "My Wiki"; Now add this line:
include_once("$FarmD/cookbook/randtitle.php");
Save config.php. See if it works! Future Developments
See AlsoContributorsMrAwesome - Contact me for feedback, problems, suggestions, etc. |