Can this add-on be used to change the title text of the categories on the main pages?
(Similar to the product titles - but for the categories preceding these)
Can this add-on be used to change the title text of the categories on the main pages?
(Similar to the product titles - but for the categories preceding these)
Not currently, but it should be fairly easy to add the functionality to the category/subcategory listing page using the same kind of code as the product info page uses.
I downloaded the ...2_0beta.zip file you attached in the other thread.
Uploaded it to my site per your 2.0 read me.
I get aWhen I brought up the file, line 42 looks likeCode:Parse error: syntax error, unexpected ';', expecting ')' in ...... /includes/modules/classic/category_row.php on line 42I count 4 opening parens, and only 3 closing parens.Code:$list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"', 'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . (title_image_exists($categories->fields['categories_name'], 'categoryname' . $categories->fields['categories_id']) . '</a>');
I am not enough of a programmer to know where to put the 4th closing parens.
Or am I counting it wrong?
Suggestions?
Jim
Can't find the edit button, maybe too much time has elapsed?
Any way, I got it fixed, the last line that ends
'<a>');
should be changed to
'<a>'));
Great MOD, thanks for your work.
Jim
Can't find the edit button, maybe too much time has elapsed?
Any way, I got it fixed, the last line that ends
'<a>');
should be changed to
'<a>'));
Great MOD, thanks for your work.
Jim
Thanks for that bugfix. I have updated the zip and will post it here for a bit more testing. When I am sure it is all good, I will update the mod, and delete this when it is available in Free Addons.
Last edited by gjh42; 4 Oct 2010 at 03:03 PM.
I forgot to mention, I was so pleased to get it working, what may be another problem.
I have the boxes featured products, specials, etc turned off.
When I uploaded all files, even after it was working I got an error referring to left and right .php and special/featured.php, I just deleted them from my file structure as the help file said I could and all was well.
But you might want to check it and maybe have the file check to see if that box is turned on or not, or state in the help file not to upload those files if the related boxes are turned off.
Again Thanks
Jim
PS If you have nothing to do (Ha fat chance huh) do you know of a way to solve my ? in this thread >
https://www.zen-cart.com/forum/showt...966#post891966
No harm no foul if you don't have time.
Thanks for the note. If there is an error message, it needs to be fixed rather than turned off. I'll check those other files for the same kind of bug if relevant, and will be setting up a new test site soon so I can test things myself again.