Support Forums

Old 01-18-2008, 03:57 PM   #1
Junior Member
 
 
Join Date: Apr 2007
Posts: 6
Rep Power: 0
gspinney is on a distinguished road
Default Featured Listing on remote site..

O.K. Half way there, the problem is I have the "designer" version 3.1

I have created a featured.tpl.php

Quote:
{* $Id: featured.tpl.php,v 1.2 2006/04/19 17:48:46 Eric Exp $ *}

{* Featured Listings *}
<br />
<table class="tableborder">
<tr><th>Featured Listings</th></tr>
<tr><td>
{feature_listings_horizontal number=5 cols=5 table_attr='width="100%"' td_attr='valign="middle" align="center"'}
</td></tr>
</table>
Now I need to pull that with something like index.php but called featured.php, but only pulls the featured info required, image, title, link to listing.

Can anyone help me with this.

I can pull the info from the site using an <iframe> and place it on other sites.

NOTE: Please don't reply, you can use the RSS. No I can't, otherwise I would have.

Last edited by gspinney; 01-18-2008 at 04:12 PM.
gspinney is offline   Reply With Quote
Old 01-18-2008, 06:12 PM   #2
Coder
 
Join Date: Mar 2006
Posts: 4,516
Rep Power: 110
Lhotch is just really niceLhotch is just really nice
Default

feature_listings_horizontal is a smarty plugin and it wont run if called from another site. Your going to have to build your own script and even if you cant use the rss output from the file external.php you could use that file as a starting point to create the script that queries the ads.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 01-18-2008, 06:16 PM   #3
Staff
 
Join Date: Mar 2006
Posts: 410
Rep Power: 22
Blair will become famous soon enough
Default

Greg-

The new featured.tpl.php file that you have created has no php file that points to it. So, you would have to create a featured.php file that sends the results from a db query to that template.

I've tried to be creative coming up with a solution for you but there's really no easy way to do this without the Developer's version.
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
Blair is offline   Reply With Quote
Old 01-18-2008, 06:38 PM   #4
Junior Member
 
 
Join Date: Apr 2007
Posts: 6
Rep Power: 0
gspinney is on a distinguished road
Default

Quote:
Originally Posted by Blair View Post
Greg-

The new featured.tpl.php file that you have created has no php file that points to it. So, you would have to create a featured.php file that sends the results from a db query to that template.

I've tried to be creative coming up with a solution for you but there's really no easy way to do this without the Developer's version.
YES!!! So can you please attach a featured.php for download.

I am not sure how to create the featured.php and this is where I need the assistance.

Thanks..

I need image and title. That's all. thank you.

Last edited by gspinney; 01-18-2008 at 06:42 PM.
gspinney is offline   Reply With Quote
Old 01-18-2008, 06:40 PM   #5
Junior Member
 
 
Join Date: Apr 2007
Posts: 6
Rep Power: 0
gspinney is on a distinguished road
Exclamation

Quote:
Originally Posted by Lhotch View Post
feature_listings_horizontal is a smarty plugin and it wont run if called from another site. Your going to have to build your own script and even if you cant use the rss output from the file external.php you could use that file as a starting point to create the script that queries the ads.
OH BOY!!

That is why I clearly stated <iframe>

You can pull a file or object from http://www.yourclassifiedssite.com/feature.php into the <iframe>

It may show up on the host site, but where is the script being run from?

Your Classified Site.
gspinney is offline   Reply With Quote
Old 01-18-2008, 07:10 PM   #6
Junior Member
 
 
Join Date: Apr 2007
Posts: 6
Rep Power: 0
gspinney is on a distinguished road
Exclamation

Quote:
Originally Posted by gspinney View Post
YES!!! So can you please attach a featured.php for download.

I am not sure how to create the featured.php and this is where I need the assistance.

Thanks..

I need image and title. That's all. thank you.
Besides Blair, this will solve a problem which has been requested several times on your forum but never really seems to be properly addressed.
gspinney is offline   Reply With Quote
Old 01-19-2008, 12:10 PM   #7
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,079
Rep Power: 117
Eric Barnes is a jewel in the rough
Default

This will only work with a file that pulls the smarty plugin. This can not be done with the Designer edition and would require the Developer edition.
__________________
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
Eric Barnes is offline   Reply With Quote
Old 01-19-2008, 02:34 PM   #8
Coder
 
Join Date: Mar 2006
Posts: 4,516
Rep Power: 110
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by gspinney View Post
OH BOY!!

That is why I clearly stated <iframe>
??????, good luck.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 01-19-2008, 07:08 PM   #9
Junior Member
 
 
Join Date: Apr 2007
Posts: 6
Rep Power: 0
gspinney is on a distinguished road
Default

Quote:
Originally Posted by suzkaw View Post
This will only work with a file that pulls the smarty plugin. This can not be done with the Designer edition and would require the Developer edition.
yeah, hear that. I will be upgrading to Developer when I am finished with my current web site development.

Thanks.
gspinney is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Demo site getting ridiculously high rankings??? Maffo v3.1 Modules & Modifications 13 01-09-2008 04:28 PM
RSS site sync. Lhotch v3.1 Modules & Modifications 2 01-02-2008 02:10 PM
How show up 12 featured listing in home page ? Marcelo HTML, CSS, and Design Help 2 05-01-2007 01:21 AM
Remove price field from featured listing.. deebee v3.1 Questions & Support 6 09-14-2006 05:00 PM
removing $0.00 from showing on featured listing newone v3.0 Questions & Support 9 04-24-2006 11:38 AM


All times are GMT -4. The time now is 08:30 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0