Results 1 to 6 of 6
  1. #1
    djb
    djb is offline
    Senior Member djb's Avatar
    Join Date
    Apr 2010
    Location
    Farnham, Surrey
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A site within a site

    Hi Folks

    Got a quick question which could save me mucking around for hours with various CMS.

    I have a client who runs conferences, his website has the usual stuff, about us, contact and so on but also has links for each conference. When you click on this link each individual conference is essentially a new website apart from a return to home button which takes you back to the parent website.

    Now I want to redo his main website using Drupal/Wordpress - ideally Wordpress as I feel its simpler. What I would like to do is have this site within a site system still though. I know Wordpress allows you to change the header banners for different categorys/sections (can’t remember the terms they use) but is that all it can do? Can you change the whole colour scheme of a section? Make all the generic links (about us etc.) disappear?

    It’s been a long time since I touched Drupal but I suspect it can do this - not sure though.

    The client wants me to create a new website for a large, upcoming conference, but I want to redo his main site as it’s looking a bit ropey, I thought I would try and combine the two and save myself a job.

    Does this even make sense

    Thanks

    David

  2. #2
    Senior Member sthomas's Avatar
    Join Date
    Sep 2010
    Location
    Tunbridge Wells, Kent
    Posts
    275
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi David,

    From what I can gather from your post, I'm pretty sure you could easily achieve this 'site within a site' system using WordPress.

    All of the smaller conference sites would be based on the same template but you could easily redo the header banner and modify the CSS so that the colour schemes change.

    One thing you'd have to be aware of is how many MySQL databases your hosting package would allow you to have (you'd need 1 MySQL database for the main site and 1 for every conference site you intend to create).

    Hope that doesn't confuse things.

    Cheers

    Scott
    Designmatic Ltd | Web Design | Web Development | Graphic Design
    Web Design Kent Graphic Design Kent | Like on Facebook | Follow on Twitter

  3. #3
    Senior Member chris_17's Avatar
    Join Date
    Jun 2009
    Location
    Newcastle
    Posts
    226
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Could you not just create a different page? i.e. copying the php file and using the
    PHP Code:
    <?php /* Template Name: New Template Name */ ?>
    so you can then assign that file to the page you've created.

    Also there are a few plugins you can use to use different stylesheets for different page like what Jason Santa Maria does on his site, there a tutorial on CSS Tricks I believe as well.

    Saves having to mess around with backend stuff.

    Hope this helps

    Chris

    EDIT: Providing it's Wordpress obviously.
    Front-End Design, Development and Web Standards
    chrisborrowdale.co.uk
    @chrisborrowdale

  4. #4
    djb
    djb is offline
    Senior Member djb's Avatar
    Join Date
    Apr 2010
    Location
    Farnham, Surrey
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Chaps

    Thanks for the answers, I think changing the CSS file would do it, as any user interaction (ie registering for the conferences) could all be done hopefully through the main site and database. The idea of multiple databases scares me!

    What I’m particularly interested in is the navigation and hiding/showing particular pages/categories (sorry, can’t remember the exact terms - taxonomy springs to mind) depending on where you are in the site. For example:

    Arriving at the main site (www.main.com) you get:

    About | Conference 1 | Contact Us
    All displayed in a lovely shade of blue or something

    Then you click on Conference 1 (or go to www.conference1.com) at which point the navigation changes to:

    Back to Main.com | Conference 1 Stuff A | Conference 1 Stuff B
    Same layout (everything in the same place), just a nice shade of pink with this different navigation and a different header graphic.

    I apologise if it seems lazy posting this, but I don’t wan’t to go off half-cocked and get myself in a mess if someone else can say "you just need to do this!". This is what I generally do :)

  5. #5
    Senior Member chris_17's Avatar
    Join Date
    Jun 2009
    Location
    Newcastle
    Posts
    226
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by djb View Post
    Hi Chaps

    Thanks for the answers, I think changing the CSS file would do it, as any user interaction (ie registering for the conferences) could all be done hopefully through the main site and database. The idea of multiple databases scares me!

    What I’m particularly interested in is the navigation and hiding/showing particular pages/categories (sorry, can’t remember the exact terms - taxonomy springs to mind) depending on where you are in the site. For example:

    Arriving at the main site (www.main.com) you get:

    About | Conference 1 | Contact Us
    All displayed in a lovely shade of blue or something

    Then you click on Conference 1 (or go to www.conference1.com) at which point the navigation changes to:

    Back to Main.com | Conference 1 Stuff A | Conference 1 Stuff B
    Same layout (everything in the same place), just a nice shade of pink with this different navigation and a different header graphic.

    I apologise if it seems lazy posting this, but I don’t wan’t to go off half-cocked and get myself in a mess if someone else can say "you just need to do this!". This is what I generally do :)
    Firstly a disclaimer it's very late, I'm tired and just finished off a bitch of a Uni assignment, so this may not work or make any sense at all

    However you could do some weird stuff with conditionals, and echo the links, I'm not sure if there is a parameter in the wordpress navigation/show links function that allows you to sort by body class/id

    What I mean is say you have a
    PHP Code:
    <body id="conference-one"
    In a perfect world it would be this:
    PHP:

    PHP Code:
    <?php

    if ($bodyID=='conference-one')
    {
    echo 
    'Back to main menu';
    ...
    }
    ?>
    There may be some stuff you can do with filters in Wordpress but I'm not entirely sure, alternatively a quick and dirty way would be to add all of the links to begin with, use the body class or id and based on whatever the body class is, hide the css elements.

    PHP Code:
    .conference-one #home-nav{display:hidden;} 
    Hope that makes some sense!
    Front-End Design, Development and Web Standards
    chrisborrowdale.co.uk
    @chrisborrowdale

  6. #6
    djb
    djb is offline
    Senior Member djb's Avatar
    Join Date
    Apr 2010
    Location
    Farnham, Surrey
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That makes perfect sense! Thanks!

Similar Threads

  1. New portfolio site, please have a look
    By bcwatson in forum Website Design Critique:
    Replies: 3
    Last Post: 04-19-2012, 03:14 PM
  2. New studio site
    By chris_17 in forum Website Design Critique:
    Replies: 6
    Last Post: 08-02-2011, 03:52 PM
  3. Whats better for SEO a wordpress site or a HTML site?
    By graphicbreeze in forum SEO & Online Marketing Forum:
    Replies: 15
    Last Post: 07-05-2011, 09:52 AM
  4. New Site?
    By Timmo in forum Website Design Critique:
    Replies: 4
    Last Post: 08-21-2009, 12:49 AM
  5. Which Site?
    By Timmo in forum Website Design Critique:
    Replies: 4
    Last Post: 04-24-2009, 05:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •