Support Forums

Seller Store Modification

This is a discussion on Seller Store Modification within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Hello Everyone, Has anyone attempted to modify the sellerstore and provide a user an iframe with a table (i.e. showlistings.tpl ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 05-26-2009, 03:28 PM   #1
Junior Member
 
Join Date: Apr 2009
Posts: 20
Rep Power: 10
Offshoreboat is on a distinguished road
Default Seller Store Modification

Hello Everyone,

Has anyone attempted to modify the sellerstore and provide a user an iframe with a table (i.e. showlistings.tpl but w/o the layout.tpl) of their listings within it?

The idea is to be able to provide your advertisers with a simple line of code that they can insert into their own website / blog to display the listings?

Thanks,
Jessie
__________________
Running Developer 4.1 | SEO mod
Offshoreboat is offline   Reply With Quote
Old 05-26-2009, 03:44 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

The issue with what you are suggesting is that unless you are going to include the entire web page (layout.tpl) file along with the listings for the particular user, it won't work. This is because the underlying scripts need to be called locally from within the site as far as I know.

I did write an article about adding an RSS feed to the seller store, however. You could easily create the code for the seller to copy and paste the RSS feed for their store to incorporate into their website. Here's my blog article about adding the RSS feed to the seller store.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 05-26-2009, 06:05 PM   #3
Junior Member
 
Join Date: Apr 2009
Posts: 20
Rep Power: 10
Offshoreboat is on a distinguished road
Default

Hello Mike,

I understand what you are saying but with an Iframe that should not be an issue as the iframe is simply pulling the data from the source url and populating the iframe window.

The content is actually rendered & displayed at the source site.

I think the only real issue is being able to render a layout w/o layout.tpl to a fixed height & width and generate a users unique URL, then provide the user with that code.

Sample:

<iframe src ="URL" width="400" height="600">
<p>Your browser does not support iframes.</p>
</iframe>
__________________
Running Developer 4.1 | SEO mod
Offshoreboat is offline   Reply With Quote
Old 05-26-2009, 09:01 PM   #4
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Jessie,

I understand iframes, etc. I'm not saying that what you are trying to accomplish can't be done. It is an interesting goal. I do believe that it is going to be much more complicated then what you may think. It's the 'ole (sing it with me...) The hip bone's connected to the leg bone. The leg bone's connected to the foot bone...

The underlying php scripts along with Smarty ties everything together. The php scripts gather the data and assign it variables, then assign the variables to the appropriate template file, the appropriate template is assigned to the content which is tied to the layout.tpl file.

Please post your 68 Classifieds type (Designer, Developer), version (4.0.x, 4.1.x) and template in your postings asking for help. This information will help you get better answers for your posts. A great place to do this is in your signature!
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 05-28-2009, 01:26 PM   #5
Junior Member
 
Join Date: Apr 2009
Posts: 20
Rep Power: 10
Offshoreboat is on a distinguished road
Default

I agree... nothing is ever simple as it seems.

I think it's fairly important feature as many of the large classifeds sites that work with car / boat / rv dealers offer this kind of functionality as it kills two birds with one stone for their dealers.

After thinking about it more, what are you thoughts on this solution, simplest problem to tackle as it eliminates most of the smarty / template / php issues & make stand alone solution?

1 - generate RSS feed following your guidelines.
2 - create rss feed parser to display rss feed as html page
3 - iframe the target page
__________________
Running Developer 4.1 | SEO mod
Offshoreboat is offline   Reply With Quote
Old 05-28-2009, 01:40 PM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

You should just be able to take the existing extrnal.php and use it as a framework to pull all ads for a single seller. Modify it to output html instead of RSS. It seems silly to add the step of parsing rss to html when you can just edit the script to generate html from the start.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 05-28-2009, 04:31 PM   #7
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

There is no issue the other way round pulling a form from another website and displaying the results in the 68C site.

Lovely Property In South West France :28

The bottom search form is from another php site.

<iframe width="100%" height="360" marginheight="0" marginwidth="0" frameborder="0" scrolling="auto" id="powcont" rel="nofollow" src="http://powering.expertagent.co.uk/default.aspx?aid={c6e05a72-0f11-4998-b6ab-6346a81b7460}"></iframe>

Hit search and all the adverts appear from their site. Don't see why it would not work with some juggling.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
seller store and UTF-8 Ghost Technical Support 1 05-24-2009 04:26 AM
Modification: Display seller store above sellers ads. Lhotch Modules / Plugins / Modifications 0 09-18-2008 08:55 PM
Seller Store Founder & CEO Modules / Plugins / Modifications 2 06-04-2008 08:13 AM


All times are GMT -4. The time now is 03:03 AM.


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