![]() |
|
|||||||
| Register | Projects | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HTML, CSS, and Design Help Need to ask some questions about your sites html, css, or design? This is the place. |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
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
|
||||
|
||||
|
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 Customer Area | Issue Tracker | Knowledge Base | User Manuals | My Blog |
|
#3
|
||||
|
||||
|
Eric,
Thanks a heap!! sleepy |
|
#4
|
|||
|
|||
|
thanks
. I hope you will have more |
|
#5
|
||||
|
||||
|
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:
Last edited by free2take : 02-27-2007 at 06:15 AM. Reason: Found a solution. |
|
#6
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
||||
|
||||
|
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) 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#9
|
||||
|
||||
|
That was indeed what my problem was. I didn't realize viewlisting2.tpl.php was what It was actually using. Thanks for the pointer.
|
| Thread Tools | |
| Display Modes | |
|
|