Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Seperate menu / subsite

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1727 Views
  • Mednezz
    Avatar
    Community Member
    23 Posts

    Seperate menu / subsite Link to this post

    Hey there guys!

    I've made a site using silverstripe, until now without much problems! Take a look if you like http://www.emp-ex.nl It's dutch but is a job search site and all kinds of carreer news and information. The site you see is for employees but now i want to make a different section for companies using the same templates but with it's own menu (sitetree) and some other stuff then for the employees.

    Now i've tried solving this problem by litterally copying the whole website, but my problem is i got 2 databases, 2 filemanagers, and next to that i want to share the news module and open job vacancies. Does silverstripe provide a solution for this problem? Does anyone know how i could script this?

    Would it be possible to create 2 folders in the sitemenu and read out folder 1 for the employees and folder 2 for companies? Maybe some other solution?

    Thank you for thinking with me! If anyone would like to see some code of it just ask!

    Grtz Martin

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Seperate menu / subsite Link to this post

    holy crap, awesome site - its great to see silverstripe being adopted for more complex projects out in the open!
    hayden from silverstripe has been building a "subsites"-feature for some clients that might match your needs - afaik, its still early beta and not merged back into trunk yet, but you might wanna ask him about some pointers (or even a copy of the code) - hayden (a) silverstripe (dot) com

  • Tim
    Avatar
    Core Development Team
    201 Posts

    Re: Seperate menu / subsite Link to this post

    Nice looking site Mednezz - don't forget to add it to your profile, so it gets shown in the showcase section.

    Re the sub site code, I think this may be in sub version now if you want it, however it's not going to be formally released for about a month or so.

  • Mednezz
    Avatar
    Community Member
    23 Posts

    Re: Seperate menu / subsite Link to this post

    thank you guys! I've added the site to the showcase!

    I'll have a look in the svn!

    Cheers!

  • Mednezz
    Avatar
    Community Member
    23 Posts

    Re: Seperate menu / subsite Link to this post

    and back again! hahaha

    I downloaded the module from the subversion. Committed it to my project, did the db/build/?flush=1 but can't get it to work.

    Am i forgetting something? The _config.php looks ok, don't see any errors or whatever. Tried getting the module by requesting /admin/subsites

    What am i missing? I'm eager to help silverstripe developing this module but need a little help starting...

  • Andy
    Avatar
    230 Posts

    Re: Seperate menu / subsite Link to this post

    The subsites module requires the changes made to the core for SilverStripe 2.1.0 - this should be released not too far away, else you can try the code in subversion.

    1727 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.