I've also tried moving the xsl files to within the themes and the edited files do not show as modified in the browser even after restarting the server.
Please can someone check what I have done and let me know whether this is correct.
The first thing that I did was to follow James Craig's instructions in a different post.
James Craig wrote:
cd /Library/Application\ Support/Apple/WikiServer/Themes/
There is a directory for each theme. You can create your own themes here, or create copies of the theme directory. For example:
sudo cp -r float.green.banner.wikitheme/ mytheme.wikitheme
sudo cp wireframe.wikitheme/theme.plist mytheme.wikitheme/
Then edit the theme.plist file copied from the wireframe theme.
1. Change the displayName from "Wireframe Theme" to "My Custom Theme".
2. Change the name from "com.apple.wireframe" to your own unique ID.
3. Change the "selectable" key to true (or remove the key/value pair).
4. Uncomment the "sidebars" key/value pair. NOTE: The "Upcoming Events" sidebar dict needs a UID key/value; either add one or leave that dict commented.
5. Save the file.
The next thing I did was to copy the XSL into the custom theme folder as per John Anderson's instructions.
John Anderson1 wrote:
You should start with the templates already in /usr/share/wikid/lib/apple_templates and copy them into your template folder. Never edit these files in-place -- we will end up overwriting them in a software update! Copy the xsl files into your custom theme. The theme will need to be selected in that specific group wiki's settings in order for the new xsl files to be used.
I have restarted the server with:
sudo serveradmin stop teams;sudo serveradmin start teams
and I have restarted the web service but the changes do not take effect.
If I modify the files directly in /usr/share/wikid/lib/apple_templates then the changes are effected.
So my theme folder looks like this:
pwd: /Library/Application Support/Apple/WikiServer/Themes/ooai.wikitheme
folder contents:
-rwxrwxrwx 1 root _teamsserver 14K Dec 14 23:45 all_settings.xsl*
-rwxrwxrwx 1 root _teamsserver 921B Dec 14 23:45 all_tags.xsl*
-rwxrwxrwx 1 root _teamsserver 2.2K Dec 14 23:45 calendar_entry.xsl*
-rwxrwxrwx 1 root _teamsserver 5.7K Dec 14 23:45 calendar_grid.xsl*
-rwxrwxrwx 1 root _teamsserver 2.1K Dec 14 23:45 comment_entry.xsl*
-rwxrwxrwx 1 root _teamsserver 2.5K Dec 14 23:45 comment_listing.xsl*
drwxrwxrwx 6 root _teamsserver 204B Dec 14 22:59 compressed/
-rwxrwxrwx 1 root _teamsserver 5.3K Dec 14 23:45 content_entry.xsl*
-rwxrwxrwx 1 root _teamsserver 3.9K Dec 14 23:45 content
entrylisting.xsl*
-rwxrwxrwx 1 root _teamsserver 12K Dec 14 23:45 default.xsl*
-rwxrwxrwx 1 root _teamsserver 7.9K Dec 14 23:45 directory.xsl*
-rwxrwxrwx 1 root _teamsserver 5.9K Dec 14 23:45 error.xsl*
-rwxrwxrwx 1 root _teamsserver 1.3K Dec 14 23:45 folder_listing.xsl*
-rwxrwxrwx 1 root _teamsserver 9.8K Dec 14 23:45 group_listing.xsl*
-rwxrwxrwx 1 root _teamsserver 2.3K Dec 14 23:45 grouphome.xsl*
-rwxrwxrwx 1 root _teamsserver 760B Dec 14 23:45 loginpage.xsl*
-rwxrwxrwx 1 root _teamsserver 1.2K Dec 14 23:45 mail
archivelisting.xsl*
-rwxrwxrwx 1 root _teamsserver 2.1K Dec 14 23:45 moderate.xsl*
-rwxrwxrwx 1 root _teamsserver 8.0K Dec 14 23:11 preview.png*
-rwxrwxrwx 1 root _teamsserver 119B Dec 14 23:11 print.css*
-rwxrwxrwx 1 root _teamsserver 1.5K Dec 14 23:45 revision_listing.xsl*
-rwxrwxrwx 1 root _teamsserver 117B Dec 14 23:11 screen.css*
-rwxrwxrwx 1 root _teamsserver 5.9K Dec 14 23:45 search.xsl*
-rwxrwxrwx 1 root _teamsserver 365B Dec 14 23:27 theme.plist*
-rwxrwxrwx 1 root _teamsserver 2.3K Dec 14 23:45 weblog_listing.xsl*
In the blog the settings have been changed to load this new theme.
So what am I doing wrong?
Cheers
Craig