Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Coding Help

  • 10-01-2009 5:34pm
    #1
    Registered Users, Registered Users 2 Posts: 1,762 ✭✭✭


    I'm currently designing a new portfolio website for my design work.

    My aim is to create a simple visual design with minimal elements. I want a simple text menu on the left and content on the right.

    However I was wondering how I would go about coding the site so that I don't need to update the menu on each individual page when I add additional links to my main menu in he future.

    I know iFrames is an option but I wan't to stay clear of this as I'd like all my different links to appear in separate URLs.

    I'd appreciate any advise/help on this matter.

    Thanks!


Comments

  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    If you can use PHP, then use <?php include("menu.php"); ?> with the code for your menu in that file.


  • Registered Users, Registered Users 2 Posts: 2,120 ✭✭✭p


    Check out Server Side Includes too, they're very simple and easy to use.

    Also, if you use Dreamweaver, check out it's Templating features.


  • Registered Users, Registered Users 2 Posts: 1,762 ✭✭✭peejay1986


    Liam Byrne wrote: »
    If you can use PHP, then use <?php include("menu.php"); ?> with the code for your menu in that file.

    I'm not really experienced enough to include PHP on my website. Is it possible with HTML? Thanks for the reply.

    p wrote: »
    Check out Server Side Includes too, they're very simple and easy to use.

    Also, if you use Dreamweaver, check out it's Templating features.

    I am using Dreamweaver. Will the templating feature allow me to do this?


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    peejay1986 wrote: »
    I am using Dreamweaver. Will the templating feature allow me to do this?

    Yup! If you have the put menu within the template in an un-editable area.


  • Registered Users, Registered Users 2 Posts: 2,120 ✭✭✭p


    peejay1986 wrote: »
    I'm not really experienced enough to include PHP on my website. Is it possible with HTML? Thanks for the reply.
    The PHP way he suggested was actually as complicated as that, but still, Server Side Includes are pretty much HTML and probably the best way to do this.
    I am using Dreamweaver. Will the templating feature allow me to do this?
    Yes, that is why I suggested it when you asked how to solve that problem. :D


  • Advertisement
Advertisement