The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
contents in different columns
#7
@internet54 Well...I agree to your sig but the client is still the one who pays me ;-)

Ok, I did it the easy way!

I´ve put the following code in the template file:
<img src="<?php get_site_url(); ?>data/uploads/<?php get_page_slug(); ?>.jpg" />
<img src="<?php get_site_url(); ?>data/uploads/footer_<?php get_page_slug(); ?>.jpg" />

The client just have to upload an image with the name of the page´s slug.

Maybe I will change it to a function with a default image?!

Cheerz Daniz
Reply


Messages In This Thread
contents in different columns - by daniz - 2009-10-26, 20:35:44
contents in different columns - by Texta - 2009-11-13, 01:41:35
contents in different columns - by daniz - 2010-01-14, 21:33:55
contents in different columns - by Zegnåt - 2010-01-15, 07:53:30
contents in different columns - by daniz - 2010-01-15, 18:35:55
contents in different columns - by internet54 - 2010-01-16, 01:01:22
contents in different columns - by daniz - 2010-01-27, 18:10:00



Users browsing this thread: 1 Guest(s)