OK, there's the error:
Is there a good place for this bit? I just sort of threw it in there.Parse error: syntax error, unexpected T_IF in /home/pittecom/public_html/includes/templates/apple_zen/templates/tpl_product_info_display.php on line 38
PHP Code:<?php
$notGallery = 1
if (ereg("(^13$|^13_)",$cPath)) { /*no image in gallery*/
$notGallery = 0
} ?>
Ok, top of post 57, the second code box was showing where to put the code in the first box.
Oops, I forgot to end the PHP statements with ;
PHP Code:<?php
$notGallery = 1;
if (ereg("(^13$|^13_)",$cPath)) { /*no image in gallery*/
$notGallery = 0;
} ?>
Nope - Still getting an error at the point where that snippet is:
Parse error: syntax error, unexpected T_IF in /home/pittecom/public_html/includes/templates/apple_zen/templates/tpl_product_info_display.php on line 32
Do you have the snippet in more than one place? It should only be added below the <div class="centerColumn" id="productGeneral"> line (around line 16).
I think I see your error: did you add it just after thison line 26?PHP Code:<!--bof Category Icon -->
<?php if ($module_show_categories != 0) {?>
<?php
Post the area around where you added the snippet - you will have to remove it without taking anything that was there.
Success!! Because we were jumping around a bit with different snippets on one page, I was a little concerned that maybe I screwed something up along the way. (Who... ME?!?) So I went back through and re-entered everything and it's a go!!
I still need to put the cart through the paces to make sure there haven't been any unexpected issues but I have confirmed that neither the "Add to cart" or the price appear in the Sold Gallery. Also, the "Add to cart" is indeed in place outside the Gallery.
Way to go! You should consider packaging this as a Module: Showcase Module. I know there are others out there who would be thrilled.
Thank you very much for your hard work. I appreciate it. I'll just make sure everything is as it seems in the cart...
Tim
Everything seems to be working great. If I was to be Very picky or if you were to package this as a mod, the only thing is that the "Add to cart" is still displayed in category view. (example) But I'm not sweating it.
Category Showcase... good idea. Since it's only one file that has to be modified, it shouldn't be hard to work up in presentable form.
Thanks for the suggestion.
Well, two files...
I'll look at applying this to the listings as well, and get back when I have something functional. I don't expect it to be difficult.
Thanks ! These little guys are a amazing bunch considering their father was fixed the day BEFORE they were created. The vet said not to worry... so I didn't .... and well, here they are! We already had way more then enough, but now couldn't imagine life without any of them. They have a way of making you smile no matter how hectic things can get
.
Glad you guys got the other issue fixed. I'm still trying to figure out the Gallery part.... since I'm not sure what all I will end up with in my store, I am always looking for other ways of showing things on the site. One thing that always surprises me is the difference in what the site looks like from one monitor to another. I have spent hours trying to "fix" what I thought looked horrible on my computer only to see it on my Mom's or a friends and see that it looks wonderful... I then have my eBay friends check it out and find that I'm the only one seeing it the horrible way, everyone else see's it the wonderful way, so I leave it alone.
Anyways, thanks for all of your help! And the offer still stands on the Neckcoolers. They really help keep ya cool in the hot months. I'd be happy to send you some....just let me know!
The Gallery Category mod is now available in Downloads - Other Modules.
The support thread is here. Let me know how it works for you!