ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Wiki url/title separation + upload .rar?

May 27, 2008 2:26pm

Subscribe [3]
  • #1 / May 27, 2008 2:26pm

    wolferey

    33 posts

    I’ve been setting up our community’s new website, and hit a kinda big problem with the wiki. Basicly, I’m wondering how to make it so that users can enter a title and url separatly. Right now it works like this:

    At the “new page” box, you enter a title.. let’s say you enter “water”. The wiki article will then get the title “water”, and the url will be /wiki/water/


    This screws up when people write about water in different categories. Our setup is like this: http://www.timespin.net/spillmodding/wiki/Special:Categories

    A user writes about water in, say, valve hammer editor source, and puts it in that category. If another user wants to write about water for the unreal editor, he will be directed to the water guide for source, since it took the url first, so the user would have to be creative with the title, something like “water in unreal editor”.. which is ok, but a bit silly if your browsing the unreal editor category and all the articles end with “in unreal editor” or something like that.. And it also looks silly when you get titles like “Entity List Valve Hammer Editor Source”.. As an URL, its good, but as a title, it just looks silly.


    So I was wondering, is there any way to separate URL from title, so users can write both (like when you publish an entry in a weblog), do I have to set up pages manually, linking to each article just to make it look a little prettier.. or some other way I haven’t thought about? :sick:


    Also, how do I allow .rar files in uploads? 🐍

  • #2 / May 27, 2008 7:43pm

    Sue Crocker

    26054 posts

    If you don’t want to display the title in your wiki theme, remove the line that has {title} in it, or replace {title} with something else like a non-breaking space.

    As far as allowing .rar files in uploads, you’d need to modify the /system/lib/mimes.php file and add:

    'rar'    =>    'application/x-rar-compressed',

    List of Mime Types

    Does that help?

  • #3 / May 27, 2008 9:09pm

    wolferey

    33 posts

    The .rar upload helped, working now 😊

    As for the wiki, not really what I had in mind. I do want to have titles, but I was thinking more along the lines about if it would be possible to make some sort of custom field (or something) for the title, so we can separate the title from the url, just like in weblogs. I was wondering how to do something like that.

  • #4 / May 27, 2008 9:12pm

    Sue Crocker

    26054 posts

    The wiki doesn’t have that sort of functionality in it. You’d have to include that text inside the wiki entry itself.

    Feel free to make a Feature Request for it, or find if someone else has asked for the same thing.

  • #5 / May 28, 2008 12:02am

    wolferey

    33 posts

    okey, guess I’ll have to figure out some clever way aruond it for now, and make a feature request.. thanks for the help 😊

  • #6 / May 28, 2008 7:36am

    Ingmar

    29245 posts

    You’re welcome. Closing this thread for now, if anything else comes up, related or not, kindly statr a new thread. Thank you.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases