|
|
#1 |
|
Member
Join Date: Jan 2009
Posts: 42
Rep Power: 2 ![]() |
Hi
I am trying to display 4 feature ads vertically down the side of my main page. I have no trouble configuring the code to do it in home.tpl but when I try and put the code into layout.tpl it displays an error and not the feature lisitings. I am using feature_listing_vertical The error is Notice: Query failed: Unknown column 'id' in 'field list' SQL: SELECT id,title,price FROM class_products WHERE display = 'Y' AND expiration > NOW() AND featured = 'Y' ORDER BY rand() LIMIT 4 in /home/weddingy/public_html/includes/classes/database/mysql.php on line 140 Can feature_listing_vertical be used in layout.tpl the same as in home.tpl ? Many thanks Mike
__________________
V4.1.2 Developer Beer.....so much more than a breakfast drink! |
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,766
Rep Power: 110 ![]() |
It might be a bug in the vertical plugin. Yes you can use the horizontal and set it to one column.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New layout.tpl | hel68c | v4 Modules / Modifications | 7 | 08-11-2008 06:46 PM |
| Error with Layout.tpl | outlook | v4 Questions & Support | 6 | 05-15-2008 04:02 PM |
| add php to layout.tpl.php | lorenww | v3.1 Questions & Support | 3 | 09-06-2007 11:26 AM |
| Template Layout | Scooter | v4 Questions & Support | 1 | 01-31-2007 08:32 AM |