Support Forums

Old 01-04-2009, 03:12 PM   #1
Senior Member
 
 
Join Date: Apr 2008
Posts: 138
Rep Power: 7
philoo is on a distinguished road
Default Answering a listing in a DIFFERENT screen

Hi all,

After some weeks of running my new 68C website, I have some questions...

Many of the listings I have on my classifieds website are large. Many of my customers does not see the "answer this add" section below the content of the add.

So I would like to add a link "Answer this Add" in the links section of the add (favorites, email a friend, print this add ...) that open a new screen, with the same as below the Add.

Any idea to make this easy ?

Cheers
Philippe
__________________
v4.08 Developer
philoo is offline   Reply With Quote
Old 01-04-2009, 08:41 PM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 4,114
Rep Power: 101
Lhotch is just really niceLhotch is just really nice
Default

Why add the complexity of a different screen? Why not just create your link to an anchor for the contact form on the existing page?
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 01-05-2009, 03:16 AM   #3
Senior Member
 
 
Join Date: Apr 2008
Posts: 138
Rep Power: 7
philoo is on a distinguished road
Default

This _technically_ a good idea.

BTW, there is an other issue. Mostly of my ads are free an our income are made with publicity programms (like adsense but also direct sales) based on viewed screens.

Our previous classifieds software used a different screen for answering an add, and as we notice a significative loss of viewed screens (around -15%) since we switched to 68C we would like to try this...
__________________
v4.08 Developer
philoo is offline   Reply With Quote
Old 01-05-2009, 08:19 AM   #4
Moderator
 
 
Join Date: Mar 2006
Posts: 4,114
Rep Power: 101
Lhotch is just really niceLhotch is just really nice
Default

I dont have exact code for you to use because I havent done this but 99% of the code you need already exists.

Creat a new script file named what you like to call the layout template and your body template. You can look at how pages.php works to accomplish this. Then cut/paste the contact section of your viewlisting template where the contact form is and place it in a new template that is called by your new php script modelled after pages.php and then place the link in your viewlisting template so people can get to your new page/contact form.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 01-05-2009, 09:18 AM   #5
Senior Member
 
 
Join Date: Apr 2008
Posts: 138
Rep Power: 7
philoo is on a distinguished road
Default

I seems that if I call "http://demo.68classifieds.com/contact.php"

... this allready open the user contact form. Only missing are the variables that allow to identify the member and the listing concerned ....
__________________
v4.08 Developer
philoo is offline   Reply With Quote
Old 01-07-2009, 10:32 AM   #6
Senior Member
 
 
Join Date: Apr 2008
Posts: 138
Rep Power: 7
philoo is on a distinguished road
Default

Quote:
Originally Posted by Lhotch View Post
I dont have exact code for you to use because I havent done this but 99% of the code you need already exists.

Creat a new script file named what you like to call the layout template and your body template. You can look at how pages.php works to accomplish this. Then cut/paste the contact section of your viewlisting template where the contact form is and place it in a new template that is called by your new php script modelled after pages.php and then place the link in your viewlisting template so people can get to your new page/contact form.
Does your solution carry the variables that allow to identify the user and the listing ?
__________________
v4.08 Developer
philoo is offline   Reply With Quote
Old 01-07-2009, 10:53 AM   #7
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,776
Rep Power: 110
Eric Barnes is a jewel in the rough
Default

This is how I think it can be done.

1. Create a new link to contact owner from the viewlisting page. Like this:
<a href="contact.php?lid={$ownerid}&listingid={$lid}" >

2. Edit the contact.php file and change this at the bottom:
Code:
else
    {
        $class_tpl->assign('title',$title);
        $class_tpl->assign('name',$_REQUEST['name']);
        $class_tpl->assign('fromemail',$_REQUEST['fromemail']);
        $class_tpl->assign('message',$_REQUEST['message']);
        $class_tpl->assign('lid',$_REQUEST['listingid']);
        $class_tpl->assign('owner',$_REQUEST['ownerid']);
        $class_tpl->assign('body','contact/contactowner.tpl');
    }
__________________
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-07-2009, 03:37 PM   #8
Senior Member
 
 
Join Date: Apr 2008
Posts: 138
Rep Power: 7
philoo is on a distinguished road
Default

Eric,

It runs very fine if you link this from viewlisting page :

<a href="contact.php?ownerid={$owner}&listingid={$lid}" >

thanx to Smarty debug mode
__________________
v4.08 Developer
philoo is offline   Reply With Quote

Bookmarks

« RSS Feeds | openx »
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
Listing Number to take person directly to a listing? domino v4 Questions & Support 15 09-28-2008 06:04 AM
Image upload blank screen problem (not file size related) larry1 v3.1 Questions & Support 1 10-12-2007 04:27 AM
Wide screen lcd Lhotch Off Topic 4 10-17-2006 01:20 PM
How to skip the verify screen when placing an Ad? free2take v3.0 Questions & Support 21 08-20-2006 07:54 PM


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


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