Fork me on GitHub

theme reconstruction gone bad  Bottom

  • I downloaded a theme from a site .. I decided I wanted to change the whole layout of it .. so i wrote up the HTML and put the PHP stuff from the exsisting theme into the places where it belongs.

    Now I am a newbie when it comes to PHP .. but I have checked to make sure that all PHP stuff is still included on the page .. I just can't see what it wrong. The only thing I left out was stuff about the 'right blocks' because i don't need that.

    I am getting 2 errors:

    Parse error: parse error in /home/flirtfir/public_html/pn/html/themes/SabadellClients2/theme.php on line 269

    Fatal error: call to undefined function: themeheader() in /home/flirtfir/public_html/pn/html/header.php on line 188


    Well here is the code .. it would be great if someone could help me!
    I know .. it's long :?

    Quote


































































       
     
       
     








     

    Copyright © 2004 FlirtFirst.net

    [ Advertisment / Contact Us / Terms of Use / Privacy Statement / Legal / Help ]


    Administration




  • Just a suggestion, but have you tried the free AutoThemes module? It will allow you do make themes all in HTML and there are hundreds of free themes already available. PHP is very code sensitive and one mistake will cause a parse error.

    Check the lines indicated by the error messages carefully. That may help you find the errors more quickly.
  • hi

    i have tried the light version of auto themes .. i didn't really play around with it too much .. but from what i saw everything looks 'post nuke style' with the layout being left, center, right and all in blocks

    if i can design through HTML and put the blocks where i want them (like i had wrongly coded) then thats great and i'd love that.
  • That is what AutoTheme does. It eliminates the PHP programming. There are 250 plus free AutoThemes on my website: http://www.autothemes.com

    I bet you can find something there that will get you started in the right direction.
  • You are missing the closing bracket } for the themefooter function... BTW, why didn't you finish coding the footer as HTML? You seem to have reverted to echo statements in the last few lines... You could stick the block stuff in there too - check out this theme guide for writing "classic" themes as HTML:

    Theme Guide: Tips fo…g and starter theme

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...

This list is based on users active over the last 60 minutes.