|
|
#1 |
|
Senior Member
Join Date: Mar 2006
Posts: 110
Rep Power: 15 ![]() |
Hi Eric,
Is it possible to see the html code for your showlisting.tpl and viewlisting.tpl pages on the new http://www.68classifieds.com/modifications classifieds site? As I am in the process of designing templates for my site and would like to be able to see (and compare) the changes you made to the 'modification' template files ... to the 'default' template files ... to help me get my head around the code. I would also be interested, if possible, in knowing how you did the funky popup when you click on the image on the viewlisting.tpl Cheers, sleepy v3.0.1 |
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,780
Rep Power: 110 ![]() |
Here is the link to the popup script:
http://www.huddletogether.com/projects/lightbox2/ Attached is our template files if you want to play with them.
__________________
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 |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2006
Posts: 110
Rep Power: 15 ![]() |
Eric,
Thanks a heap!! sleepy |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jun 2006
Posts: 1
Rep Power: 0 ![]() |
thanks
. I hope you will have more
|
|
|
|
|
|
#5 |
|
Senior Member
|
Thanks for this post, this is an excellent little modification.
I have one question I modified my viewlistings.tpl.php file to replace the following code PHP Code:
PHP Code:
Thanks in advance, Mully Great found a solution, here's the code: PHP Code:
__________________
v4.08 Last edited by free2take; 02-27-2007 at 05:15 AM. Reason: Found a solution. |
|
|
|
|
|
#6 |
|
Member
Join Date: Feb 2007
Posts: 68
Rep Power: 10 ![]() |
looks cool, but does it have any real purpose? Any negative effects on search engine optimization and not being able to see alt image tags or anything? What happens when java is disabled?
|
|
|
|
|
|
#7 |
|
Member
Join Date: Nov 2007
Posts: 41
Rep Power: 6 ![]() |
I really hate to keep posting questions but I have tried everything to get this going on my server but no luck. I'm running IIS 6 with v3.1.1 dev of 68class. I have the Lightbox example running fine (see below). I added these 4 lines to the top of viewlistings.tpl.php and changed the image snip of code to the snip below. I also took Erics showlisting and showlistings2 templates and put them in my template directory to test with. When you hold your mouse over the thumbnails they are still linking to www.buyswapsell.com/# instead of www.buyswapsell.com/photos/[image]
{* Lightbox lines I added *} <script type="text/javascript" src="javascript/lightbox/js/prototype.js"></script> <script type="text/javascript" src="javascript/lightbox/js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="javascript/lightbox/js/lightbox.js"></script> <link rel="stylesheet" href="javascript/lightbox/css/lightbox.css" type="text/css" media="screen" /> {* Lightbox lines I Changed near bottom of viewlistings.tpl.php} <td valign="top" class="pformright"> {if $viewphotos=="Y"} {if empty($data)} <img src="images/nophoto.gif" width="100" hspace="5" vspace="5" border="1" /> {else} {html_table_adv loop=$data cols=$cols table_attr='width="100%"' td_attr='align="center" width="120"'} <a href="photos/[[image]]" rel="lightbox[image]" title="[[title]]"><img src="thumbs/small_[[image]]" hspace="5" vspace="5" class="image" border="0" /></a><br />[[title]] {/html_table_adv} {/if} {/if} Example lightbox working: http://www.buyswapsell.com/javascrip...box/index.html |
|
|
|
|
|
#8 |
|
Moderator
Join Date: Mar 2006
Posts: 4,126
Rep Power: 101 ![]() ![]() |
The comment you have above is most likely your problem. You have your site setup to use viewlisting2.tpl.php. As for the template files Eric has above, that post was made 5/2006 so I am betting the version of 68C he was suing at the time was likely different than what you are using today, almost a year and a half later.
__________________
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 |
|
|
|
|
|
#9 |
|
Member
Join Date: Nov 2007
Posts: 41
Rep Power: 6 ![]() |
That was indeed what my problem was. I didn't realize viewlisting2.tpl.php was what It was actually using. Thanks for the pointer.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|