 |

Richard
User
Dec 30, 2002, 1:28 PM
Post #1 of 10
(3589 views)
Shortcut
|
|
Window Stickers
|
Can't Post
|
|
High.... Looking for a way to add a template and or addition in perl to print out window stickers. Would this be a tremplate add on ? Has anyone done anthing like this yet ??
|
|
|  |
 |

Benjamin
Staff

Dec 31, 2002, 11:36 AM
Post #2 of 10
(3566 views)
Shortcut
|
Hi Richard, Just a clarifier: you mean stickers for car, home windows etc? Would these stickers be unique, depending on the vehicle - or generic? Ben interactivetools.com
(This post was edited by Benjamin on Jan 7, 2003, 12:41 PM)
|
|
|  |
 |

Richard
User
Jan 3, 2003, 8:57 AM
Post #3 of 10
(3546 views)
Shortcut
|
|
Re: [Benjamin] Window Stickers
[In reply to]
|
Can't Post
|
|
Yes... I am looking for a way to capture the information that has been added and print all the data minus the photos on a sticker to be placed on the car windows.
|
|
|  |
 |

Damon
Staff
/ Moderator

Jan 9, 2003, 5:07 PM
Post #4 of 10
(3502 views)
Shortcut
|
Hi Richard, Sorry with the delay in getting back to you. Tomorrow I'm going to put together the steps to create and use a custom template to create an auto listing results page that can be used to print (without images). Briefly, the steps involve creating a custom template based on the _publish_listing.html template (except without the images and customized with a layout that will work for printing and displaying in car windows). Then using the search engine to dynamically generate the specific listing page using the custom template. That page will then be ready to print. Cheers Damon Edis interactivetools.com
|
|
|  |
 |

Damon
Staff
/ Moderator

Jan 10, 2003, 11:38 AM
Post #5 of 10
(3488 views)
Shortcut
|
Creating and using additional customized templates is now an option with the latest version of Auto Manager (2.28). If you don't have the latest version, it is a free upgrade and can be downloaded here: http://www.interactivetools.com/upgrade/ The upgrade includes the latest full version of the software. The upgrade_readme.txt, included in the upgrade zip, provides instructions on which specific files to upload for the upgrade. Here is the steps I went through to create a printer friendly listing detail page: 1. Create a new template file to modify into a printer friendly page. To do this, download a copy of your _publish_listing.html template (/am/templates/_publish_listing.html)and save it as _printer_friendly.html (or what ever name you would like). 2. Modify the custom template file to create printer friendly format you a happy with. I created an example (see attached file) which I removed the images and turned on borders. Note: when modifying the custom template, the templatecells (ex: <!-- templatecell : image -->)have to remain or you will get a program error but you can remove any code between them. 3. Save your changes and upload the new custom template file into your templates directory (/am/templates/). 4. The template can now be used to dynamically display listing results in a printer friendly format. You can display listing results directly by using the search engine. Here is an example: http://www.yoursite.com/cgi-bin/am/exec/search.cgi?view=1&template=_printer_friendly.html This would display listing number 1 using the customized _printer_friendly.html template. 5. Next is to add a printer friendly link to the listing detail pages. To do this, download a copy of your _publish_listing.html template. Add the following code to your template, modifying the code as needed: <a href="http://www.yoursite.com/cgi-bin/am/exec/search.cgi?view=$listing_num$&template=_printer_friendly.html">View printer page</a> Save and re-upload the file. 6. Log into Auto Manager and re-publish all the pages. Next go to the published listing pages to view and test the new printer friendly link and page. I hope this helps. If you have any questions about this, please let me know. Cheers Damon Edis interactivetools.com
|
|
Attachments:
|
_printer_friendly.html
(4.79 KB)
|
|
|  |
 |

Richard
User
Jan 10, 2003, 1:16 PM
Post #6 of 10
(3482 views)
Shortcut
|
Does not seem to work??? The script brings up the search fields??
|
|
|  |
 |

Damon
Staff
/ Moderator

Jan 10, 2003, 3:47 PM
Post #7 of 10
(3472 views)
Shortcut
|
Hmmm.......are you running the latest version of Auto Manager (2.28)? This feature is new to this version. Can you send me the URL to your search engine and the name of the custom template that you created so I can take a look? You can reply to this post or email me directly at damon@interactivetools.com Please let me know. Cheers Damon Edis interactivetools.com
|
|
|  |
 | |  |
 |

Damon
Staff
/ Moderator

Jan 10, 2003, 10:41 PM
Post #9 of 10
(3455 views)
Shortcut
|
Hi Joey, I took a look at your page and think I found two changes that need to be made to have the printer friendly page work: 1. Since you are not using a cgi-bin directory, you need to remove cgi-bin from the "Print This Page" link in the _publish_listing.html template. Example: http://www.used-carlots.com/cgi-bin/am/exec/search.cgiview=$listing_num$&template=_printer_friendly.html 2. Although you are not using images in your _printer_friendly.html template, the image template cells need to remain in the template or the program will generate an error message. Add the following image template cells to the printer friendly template: <!-- template insert : $images$ --> <!-- templatecell : image --> <!-- /templatecell : image --> <!-- templatecell : no_images --> <!-- /templatecell : no_images --> Save the changes to both template and re-upload the files to your site. Now the printer page link and page should work. PS. I like your printer friendly page template a whole lot more than the example one I included. :) Cheers Damon Edis interactivetools.com
|
|
|  |
 |

Joey
User
Jan 10, 2003, 11:55 PM
Post #10 of 10
(3451 views)
Shortcut
|
D'OH I always forget Used-CarLots.com is on another server....... without the cgi-bin seperate...... Thanks man works like a charm I've been wanting that for quite sometime but wasn't sure how to get the info transfered...I am so glad you guys stay on thop of these things..... You should add a "PayPal Donate" button!!! If any potential customers are reading this....I run a highly trafficked auto website and InteractiveTools.com is ALWAYS there for us!!! So give them your complete business when it comes to these great programs they provide!!! With TOTAL PROGRAMMER SUPPORT, they're the best! A++++++++++++ service! Best Regards, Joey Stubblefield Owner, Used-CarLots.com Joey Stubblefield http://Used-CarLots.com Powered By Auto Manager! http://1000Cars.com Powered By Auto Manager! http://MeetingStreetMotors.com Powered By Used-CarLots.com Via Auto Manager!
(This post was edited by Joey on Jan 10, 2003, 11:56 PM)
|
|
|  |
 | |  |
|