If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Using one single listing template

Using one single listing template

Started by yellow1912 on 31 Dec 2007, 11:21 PM · Views: 90,908

Results 181 to 200 of 327
9 Feb 2010, 6:27 PM
#181
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Using one single listing template

This mod is great!
It works perfectly first time, I just have 1 question.

Is there any way to make the product name appear above the product details button?

Here's my test site so you can see what I mean:

http://snow.byethost8.com/shop/AllProducts

At the moment it displays with the 'product details' button above the name of the product but I'd like it to show the other way round.

I've had a look through the product_listing.php file and can't figure out how to get it working. I've got a feeling it's something to do with the order of the elements in the array $column_list but don't know for sure.

Please help!

9 Feb 2010, 6:38 PM
#182
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Using one single listing template

Assuming it is working correctly, you now control the product fields display order/position through the Admin-Product Listing page.
Just set Display Product Name to 1, then make the order of the other fields sequential to re-order them as you wish.

regards
Steve

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

21 Feb 2010, 5:43 PM
#184
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Using one single listing template

Hi,
I have a problem with breadcrumbs and I think it is related to this mod, I would like to know if anyone else has the same problem, if not I would be very grateful if someone could follow these steps to confirm it is just me!

Symptoms

  1. Set the “featured” template to use option 3 – the product listing on the index page.:
    Admin –Index Listing – Index Featured Listing Template

  2. Set the featured template to show below the category product listing - option is further down on the same admin page as 1).

  3. Set a product as "Featured", from for example “category_1”

  4. Go to a category listing, different to that of the featured product, I will call “category_2”.
    The featured product should be showing at the end of the product listing.
    The breadcrumbs should show correctly something like

Home - category_2 – sub_category_2

  1. Click on the featured product

My breadcrumbs now show
Home - category_2– sub_category_2 – featured product

Instead of

Home - category_1 – sub_category_1 – featured product

ie they don’t get updated with the featured products path information.

This only manifests when the index listing is set to 3, on 2 or 1 it works correctly.

Thanks for your time,
Steve

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

21 Feb 2010, 9:06 PM
#185
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Using one single listing template

torvista:

Thanks for that,
I don't spot anything wrong unless Firefox+HTML validator tells me about it!

Coincidentally I have finally fixed everything I found wrong with the mod and uploaded a version 1.6.
Apart from the fixes detailed below, I have included a description of how the default templates work to help me and people like me who have found it difficult to identify what goes on and how it relates to the admin settings.

regards
Steve

Changes/Bugfixes for v1.6
6/2/2010

  1. tpl_modules_product_listing.php line 33
    productsListingTopNumber and productsListingBottomNumber were classes instead of ids, class was missing too.
  2. extra defines required for product listing table headings
  3. Specials listing was missing manufacturer, model, quantity and weight when these optional fields were selected for display in Admin-Configuration-Product Listing. Code added to sql query in
    \includes\modules\pages\specials\header_php.php
  4. When Product Listing was chosen as columns instead of rows, the Manufacturer and Model were butted together due to missing div and class definitions. Added div and classes to quantity and weight items, and weight unit define to weight.

\includes\modules\TEMPLATE\new_products.php
\includes\modules\TEMPLATE\featured_products.php
\includes\modules\TEMPLATE\specials_index.php
All were missing code to produce product listing table heading when original listing option 1 selected for index page ($title was not defined)Can you upload a copy of the mod here so we can start using it while we wait for your upload to be approved?? Pretty please??:smile:

dw08gm:

What is the actual title of the mod?

I did a search through Addons and Contributed Modules but could not find any reference to single listing template.Same question.. What is the name of the mod you uploaded this to?? I've seen two different names referenced here. jackie.taferner posted a version of this mod that she says she uploaded under the name "Matching Listings", and elsewher this mod is referred to as "Single Listing Template"

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Feb 2010, 2:21 AM
#186
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Using one single listing template

Hi,
I am pretty sure that I answered the location question a couple of posts ago and that post is now gone.
It has never previously been in the the downloads, but from a private/commercial site belonging to a major forum poster.
The updated contribution has not been approved yet but two others of mine have since, sooo.. there is maybe some reason why this mod is being allowed to be distributed from here yet.

Mr. Moderator is this correct? Or am I inventing a conspiracy theory here?

Steve

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

22 Feb 2010, 2:33 PM
#187
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Using one single listing template

torvista:

Hi,
I am pretty sure that I answered the location question a couple of posts ago and that post is now gone.
It has never previously been in the the downloads, but from a private/commercial site belonging to a major forum poster.
The updated contribution has not been approved yet but two others of mine have since, sooo.. there is maybe some reason why this mod is being allowed to be distributed from here yet.

Mr. Moderator is this correct? Or am I inventing a conspiracy theory here?

SteveI think you mis-understood my question..:smile:

I am aware that the Single Listing Template being discussed here was only available from the Rubiks Integration site.. What I wanted to know is two things related to you submitting your new version to the downloads section:

  1. What did you name the mod when you submitted it. I want to know what to look for when it becomes available. I noticed that jackie.taferner posted a version of this mod that she says she uploaded under the name "Matching Listings". Is your updated version using the same name OR did you upload it using the name "Single Listing Template"
  2. Are you willing to post a zip of your version HERE in this support thread while we wait for your version to be approved OR would you be willing to e-mail a copy of it to anyone who is interested? (I did both while I was waiting for the admins to approve the new version of Super Orders and other mods I submitted)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Feb 2010, 3:08 PM
#188
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Using one single listing template

Hi,

  1. What did you name the mod when you submitted it.
    I used the same name Single Listing Template. A few bug fixes do not a new mod make, or at least in my book, credit is always due to the originator.
    When I get the confirmation that it is available for download, I will post here.
  1. Are you willing to post a zip of your version HERE in this support thread while we wait for your version to be approved OR would you be willing to e-mail a copy of it to anyone who is interested?
    Yes, sure. Probably better to pm me with your email address.
    Although this very evening I am hoping to get to the bottom of the breadcrumb bug, I would not hold your breath, these things take me a lot of time which I don't have.
    Given your zen knowledge, if you want to have a go, please do!

regards
Steve

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

22 Feb 2010, 4:55 PM
#189
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Using one single listing template

torvista:

I used the same name Single Listing Template. A few bug fixes do not a new mod make, or at least in my book, credit is always due to the originator.
When I get the confirmation that it is available for download, I will post here.Understood.. Not to split hairs, but if you will note, I refer to what you submitted as your VERSION. Which IMO is not the same as being the author of the mod, but a contributor to the continued improvement of the original mod. I don't think anyone is unclear (least of all me) about the originator of this mod..

torvista:

Yes, sure. Probably better to pm me with your email address.
Although this very evening I am hoping to get to the bottom of the breadcrumb bug, I would not hold your breath, these things take me a lot of time which I don't have.
Given your zen knowledge, if you want to have a go, please do!Sure thing.. I'll PM ya later this week with my e-mail info..

You seem to have a better grasp on the breadcrumb bug that I would ever have.. So I'll leave that in your capable hands!!:smile: Hope you will share your findings with us..:smile:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

27 Feb 2010, 3:18 PM
#190
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Using one single listing template

although v1.6 is now available in the downloads section, I would not bother getting it yet as I will be uploading a 1.7 in the next day or so with the breadcrumb bug fixed.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

27 Feb 2010, 5:07 PM
#191
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Using one single listing template

torvista:

although v1.6 is now available in the downloads section, I would not bother getting it yet as I will be uploading a 1.7 in the next day or so with the breadcrumb bug fixed.You sir are my HERO!!:yes:

sits patiently to await the arrival of v1.7

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

27 Mar 2010, 8:54 PM
#192
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Using one single listing template

what happened with 1.7 ? is not on download section yet. .

27 Mar 2010, 9:18 PM
#193
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Using one single listing template

I'm afraid work, life, kids...etc got in the way, I'll try and upload it tomorrow, otherwise pm me if you want it now,
regards
Steve

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

27 Mar 2010, 9:23 PM
#194
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Using one single listing template

Thanks. i will get it once is uploaded :unsure:
im not in a rush , im just modifying a new zc install and this mod will be a most important part of my design .

so please let us know once is uploaded.
Thanks for your work.

29 Mar 2010, 7:47 AM
#195
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Using one single listing template

the 1.7 version is now available thanks to very fast vetting by the admin,
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1531

regards
Steve

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

29 Mar 2010, 8:39 AM
#196
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Using one single listing template

Thanks :smile:

29 Mar 2010, 1:01 PM
#197
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Using one single listing template

torvista:

the 1.7 version is now available thanks to very fast vetting by the admin,
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1531

regards
Steve
Hey there.. Haven't had a chance to test the last file you sent me.. (Life, work, and clients got in my way too) Is the version available in the downloads the same as the last set of files you sent me with the page title issues straightened out??

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

29 Mar 2010, 10:14 PM
#198
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Using one single listing template

yes its the same set of files, nothing new

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

29 Mar 2010, 10:16 PM
#199
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Using one single listing template

torvista:

yes its the same set of files, nothing newCool.. If I didn't thank you before, then thank you.. For letting me test for ya, and for just contributing this update to Yellows original mod..:clap:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

2 Apr 2010, 12:20 AM
#200
hey_you avatar

hey_you

New Zenner

Join Date:
Sep 2009
Posts:
49
Plugin Contributions:
0

Re: Using one single listing template

Hey There,

Thanks for this mod! It looks like it could save a lot of time getting all the pages to match!!

I just installed it from the downloads section and have a couple questions:

  1. The Specials listing doesn't change no matter which option I select in admin. Is there a trick to this one?
  2. Is there anyway to set the index listing to use the common template?

Thanks!