Support Forums

Gallery View

This is a discussion on Gallery View within the Modification Release forums, part of the Developer Forums category; Originally Posted by damiun @bowers01 Ok, right, but does it also loads faster because its a mod? (or no difference ...


Go Back   68 Classifieds Forums > Developer Forums > Modification Release

Reply
 
Thread Tools Display Modes
Old 09-05-2009, 09:19 PM   #11
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

Quote:
Originally Posted by damiun
@bowers01

Ok, right, but does it also loads faster because its a mod? (or no difference i.c.w. a code change)
As far as i know, there is no performance differences, just the plug and play factor.
Cheers
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 09-06-2009, 08:15 AM   #12
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by damiun
@bowers01

Ok, right, but does it also loads faster because its a mod? (or no difference i.c.w. a code change)
Dominick,

I can't say whether it loads faster or not, but I can say that because of the way that my mod is set up, the required additional javascripts and css files needed for this feature doesn't load except on the pages needed (eg: only when the showlistings templates are used). This means that you don't have to load those items on every page that uses the layout.tpl file which is of course every page seen by the visitors.

The point is, I created and offer this Gallery View Module as a service to the owners of 68 Classifieds sites as a turnkey, easy to use, plug & play, set it and forget solution that hasn't been available previously at a very reasonable price.

For those that don't know how to code, it just works. For those that do, can either build it themselves from scratch or purchase it and then tweak it to their hearts desire.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 11-08-2009, 01:46 PM   #13
Customer
 
Join Date: Jul 2009
Posts: 28
Rep Power: 9
chillyware is on a distinguished road
Default

Can I translite the text to dutch, or can you make into the langeage files.

or whare can i fint the text
__________________
v4.1.10 Developer
chillyware is offline   Reply With Quote
Old 11-08-2009, 02:08 PM   #14
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by chillyware
Can I translite the text to dutch, or can you make into the langeage files.

or whare can i fint the text
The only text used that is not standard is the title of the actual tabs, "List View" and "Gallery View". The module relies on template files for the display, so you can of course modify the template files directly that are located in the templates folder in the module folder.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 11-08-2009, 02:24 PM   #15
Customer
 
Join Date: Jul 2009
Posts: 28
Rep Power: 9
chillyware is on a distinguished road
Default

edit the views_showlistings.tpl

Thanks
__________________
v4.1.10 Developer
chillyware is offline   Reply With Quote
Old 11-08-2009, 07:55 PM   #16
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by chillyware
edit the views_showlistings.tpl

Thanks
or the views_showlistings2.tpl file. The template used corresponds directly with what you have selected in the administration for the standard listings view. e.g. showlistings.tpl and showlistings2.tpl.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 01-30-2011, 07:28 AM   #17
Customer
 
Join Date: Oct 2010
Posts: 53
Rep Power: 5
zooi is on a distinguished road
Post

How can I hide the gallery view if no listings are placed in the categories?
I have tried it with

Code:
{if $data[td]<>"" && $data[td].total > 0}
{/if}
in the views_listings.tpl without succes. Any ideas or suggestions?
__________________
Kopen en verkopen van nieuwe en 2ehands kinderspullen op de kinderspullen marktplaats

Last edited by zooi; 01-30-2011 at 08:51 AM.
zooi is offline   Reply With Quote
Old 01-30-2011, 10:43 AM   #18
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by zooi
How can I hide the gallery view if no listings are placed in the categories?
I have tried it with
Code:
{if $data[td]<>"" && $data[td].total > 0}
{/if}
in the views_listings.tpl without succes. Any ideas or suggestions?
Not sure why you would want to do this as both of the views (the default and gallery) shows the standard setting of no results.

I haven't tried nor tested this, but I would try something like this right above {* Views starts here *}:
Code:
{if $results}
Then just below where it says {* End of views *}:
Code:
{else}
<!-- put whatever XHTML type of display element for the text like, <div>, <span>, <p> -->
{$smarty.const.LANG_SEARCH_NO_RESULTS}
<!-- end whatever display element for the text like </div>, </span>, </p> -->
{/if}
FYI: The code you posted isn't going to work, because there is no $data[td], so you are testing against a variable in a non-existing array.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 01-30-2011, 01:55 PM   #19
Customer
 
Join Date: Oct 2010
Posts: 53
Rep Power: 5
zooi is on a distinguished road
Default

Mike,

Normally our users place only listings in the sub categories. If people browse true the categories then always the "empty"gallery view is shown with the text no results, click here to search again. The code your provide in the previous post (thank you for that ) works for me for the categories if I comment out

Code:
{$smarty.const.LANG_SEARCH_NO_RESULTS}
On the other hand now it shows also in the empty sub categories no message any more......
__________________
Kopen en verkopen van nieuwe en 2ehands kinderspullen op de kinderspullen marktplaats
zooi is offline   Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 07:51 AM.


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