resources /Web Tricks

Creating New Pages

Source: resources / WebTricks /NewPage

To make a new page in a wiki all you need to do is

  1. Edit an existing page and add a link to a new page that does not exist.
  2. Save the page you where editing and you will see a black "?" next to the link.
  3. Click on that link and you will get a form for creating the new page.

Here is the standard documentation about Adding Pages and you also might find the page about SubPages very useful in creating a page.

Turn off that Link

Source: resources / WebTricks /EscapeWikiWords

Problem
You want to include a word in your text that happens to look like a WikiWord, but you don't want it to automatically link to a page.
Solution
Use a tilde (~) in front of the word.

Embed a QuickTime Movie

Problem
You want to show a movie inside your page.
Solution

Add this to your page:

<?plugin RawHtml
<object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
WIDTH="240" HEIGHT="180"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<param NAME="src" VALUE="http://danm.ucsc.edu/~lyle/examples/inkcap_web.mov">
<param NAME="target" VALUE="myself">
<param NAME="href" VALUE="http://danm.ucsc.edu/~lyle/examples/inkcap_web.mov">
<param NAME="pluginspage" VALUE="http://www.apple.com/quicktime/download/indext.html">
<embed   WIDTH="240" HEIGHT="180" TARGET="myself"
AUTOPLAY="false"
HREF="http://danm.ucsc.edu/~lyle/examples/inkcap_web.mov" BGCOLOR="336699"
BORDER="0"
PLUGINSPAGE="http://www.apple.com/quicktime/download/indext.html">
</embed>
</object>
?>

Like this / Quick Time, enjoy.

Hide the left Navigation

<?plugin RawHtml

<style type="text/css">

#navigation {
        display:none;
}
#header {
        margin-left:0px;
}
#content {
        margin-left:0px !important;;
}
</style>
?>

Make that Title Capitalized

Problem
You want that title of the wiki page to be capitalized, but instead it is all lower case.
Solution

Add this to the top of the page:

<?plugin RawHtml
<style>
#pagetitle a{ text-transform: capitalize !important;}
</style>
?>

Remove a Page

Problem
You made a page on this site that you want to delete (wrong name, moving the page.. etc)

Solution: Remove the page (if moving, make the new page first and put the content in... then ...)

  1. Go to the page that you created (You can only do it to pages you created, and you must be signed in.)
  2. Go to the bottom of the page and click "actions"
  3. Scroll down and click "Remove Page"
  4. Confirm the removal.. carfull now - do you have a copy of the content?

HTML in the Wiki Page

Source: Raw Html

Problem
You want to put HTML into a page of this Wiki.

Solution: Use the Raw Html Plugin which allows you to put html content on the wiki page.

<?plugin RawHtml
Your HTML Here
?>

Forbidden Error when going to your non-wiki page

Problem
You run into a "Forbidden" error when going to your site... like this?
Reason
The visitor is asking for a directory. And that directory does not have any default file to load. And directory listing is off.

Solutions:

  1. Add a default file called "index.html". or...
  2. Tell the web server to turn on directory listing.

    1. add a file called .htaccess
    2. and put a line with the text "Options Indexes"

Making a Page that is "yours"

Source: resources / WebTricks /SubPage

Problem
You want to make a page that is about your work on something that many people work on, but you want this page to be yours.
Example
You are in DANM 201 and want to make notes about the class. You could make LyleDANM-201, but this isn't as clean as...

Solution: Make a "Sub page"

On your page, or the page you want to be the "parent"

make a "link" called "[/DANM-201HistoryOfNewMedia]"

This will make a link to a page called: http://danm.ucsc.edu/web/yourpage/DANM-201HistoryOfNewMedia (where "yourpage" is the page you made the link from.

The actual Wiki Page is called "yourname/DANM-201HistoryOfNewMedia" so from other places you can link to this page with [yourpage/DANM-201HistoryOfNewMedia]

This will function better when (read if) we ever get the auto navigation thing working for sub pages. Then you will have pages that have children have a nav to those child pages. On the course page that navigation is static-ish.


Technical Help


Category Technical Help


Page Details
Contact DANM  |  Digital Arts and New Media  |  Arts Division  |  Grad Division
login