Support Forums

Using thickbox on the preview ad page.

This is a discussion on Using thickbox on the preview ad page. within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? V4.1.6 Designer Example: V4.1.6 Designer What template are you using? Default Please ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 11-13-2009, 04:52 PM   #1
Senior Member
 
 
Join Date: Sep 2006
Location: USA
Posts: 120
Rep Power: 15
BigOrange will become famous soon enough
Default Using thickbox on the preview ad page.

What version of 68 Classifieds are you running? V4.1.6 Designer
Example: V4.1.6 Designer

What template are you using?Default


Please describe in detail the issue you are having:
This may have already been covered but I couldn't find any info on it. I hope I can make clear what I'm trying to describe.

I want to get the thickbox popup window to display photos in step7.tpl, "Listing Preview", when I click on a thumbnail image. It only displays the large image in a blank page and forces you to click the back button to get back to the preview page. Doing so forces a you to resend the information in Firefox and causes a "Webpage has expired" message in IE both of which screw up the listing process.

step7.tpl is using the viewlisting2.tpl to display the photos which works as expected using thickbox to show the photos in a popup when you view the photos after the ad is posted.

You can see what I mean by if you place and ad on the 68Classifeds Demo site and click on one of the thumbnails in step7.tpl. The demo site has the same problem. That tells me the problem is not with changes I have made to the default template.

Any help would be appreciated.
__________________
v4.1.6 Designer

"I have not failed. I've just found 10,000 ways that won't work."
THOMAS ALVA EDISON
BigOrange is offline   Reply With Quote
Old 11-13-2009, 05:06 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,123
Rep Power: 120
Eric Barnes is a jewel in the rough
Default

I think this is just a matter of adding the javascript to this page. Open step7.tpl and add this:
Code:
<script type="text/javascript" src="javascript/jquery/thickbox/thickbox-compressed.js"></script>
<link rel="stylesheet" href="javascript/jquery/thickbox/thickbox.css" type="text/css" media="screen" />
__________________
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 11-13-2009, 05:26 PM   #3
Senior Member
 
 
Join Date: Sep 2006
Location: USA
Posts: 120
Rep Power: 15
BigOrange will become famous soon enough
Default

Quote:
Originally Posted by Eric Barnes
I think this is just a matter of adding the javascript to this page. Open step7.tpl and add this:
Code:
<script type="text/javascript" src="javascript/jquery/thickbox/thickbox-compressed.js"></script>
<link rel="stylesheet" href="javascript/jquery/thickbox/thickbox.css" type="text/css" media="screen" />
Thanks for the quick reply. I appreciate it.

That worked like a charm. Was the javascript intentionally left out of the default template for some reason? Seems like it should be there.
__________________
v4.1.6 Designer

"I have not failed. I've just found 10,000 ways that won't work."
THOMAS ALVA EDISON
BigOrange is offline   Reply With Quote
Old 11-13-2009, 05:46 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,123
Rep Power: 120
Eric Barnes is a jewel in the rough
Default

It is actually added by the viewlisting.php file to the header. That way it wouldn't have to be included on all the pages. Basically to stop visitors from having to download javascript and css that isn't going to be used.

This really needs to be added to the bug tracker so we can do the checkout the same way.
__________________
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
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrate Thickbox Slideshow Eric Barnes Modules / Plugins / Modifications 8 11-03-2008 10:34 AM
Thickbox popups seymourjames Modules / Plugins / Modifications 2 10-09-2008 12:21 PM
A few thickbox questions bowers01 Modules / Plugins / Modifications 2 08-19-2008 06:52 PM
Ad Preview Tim_A Technical Support 1 02-11-2007 10:09 PM
Preview Before You Pay CB v3.1 Questions & Support 8 07-10-2006 09:12 PM


All times are GMT -4. The time now is 11:05 PM.


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