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

Integrating a Blog into a homepage

  • 15-05-2006 3:12pm
    #1
    Banned (with Prison Access) Posts: 5,154 ✭✭✭


    Hi Folks,
    I have a current homepage to my website. I've just set up database-based blog and I'm looking to integrate the blog into the homepage of my website - i.e. keeping the site's current css etc.

    Any ideas on how to do this?

    Cheers,
    S.


Comments

  • Registered Users, Registered Users 2 Posts: 1,942 ✭✭✭wingnut


    The blog is probably php and has its own CSS. Best you could do is apply the same colours and graphics etc. You will probably have to edit both the PHP files and the CSS sheets if they are separate.


  • Banned (with Prison Access) Posts: 5,154 ✭✭✭Oriel


    Aye, they're seperate. So do you think it's just a matter of applying the website's css file to the new blog index php file?


  • Closed Accounts Posts: 3,362 ✭✭✭Hitman Actual


    Not sure if what I have to say here will help, but I actually did the opposite: used (most of) the blog CSS for my homepage/non-blog html files. I used a provider who supported Wordpress (a blog plug-in), and just took whatever CSS code I wanted from the blog and created a second CSS file. I also used the blog "images" for my other html pages.

    But I didn't have to hack into the PHP side, cos my non-blog html is all static (it was all I needed). I haven't much experience with PHP, so I'm not sure how to do exactly what you want.


  • Registered Users, Registered Users 2 Posts: 3,514 ✭✭✭Rollo Tamasi


    sinecurea wrote:
    So do you think it's just a matter of applying the website's css file to the new blog index php file?

    No. The blog reads in DIV tags amoungest other things from the CSS file, if the DIV tags on the CSS file don't match then the layout will be ****ered


Advertisement