Ok thanks. I will be checking as soon as I get a chance and i will let you know
Ok thanks. I will be checking as soon as I get a chance and i will let you know
When you open the zip to see the files that you uploaded...remember the ones that go into the includes/modules folders?
The file that you put into those folders you should be able to grab it and place it into any other folder in there that you would like to have the box work in.
jscript_zen_lightbox.php to the relevant modules/pages folder.
Thanks for your help DA.
I've been playing around for a while, sticking jscript_zen_lightbox.php in various folders, but without much luck; it works fine on the ez pages, and on the product_info page, but I can't get it to work on product listings.
Does this page have an entry under modules/pages - I can't see anything obvious?
I tried on the products_all page, and that didn't work either...
Does the image link need editing? For the product_listing.php I've currently got the code like this, to disable the product details page, which I don't need.
Any further help will be appreciated!PHP Code:
$lc_text = '<h3 class="itemTitle">' . $listing->fields['products_name'] . '</h3><div class="listingDescription">' . zen_trunc_string(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id'])), PRODUCT_LIST_DESCRIPTION) . '</div>';
what page exactly do you mean by the product listing...is it the link to the left in the sidebox "All Products"?
when i go to mine it shows the promo images but they lead to the product description page where the lightbox works on the images.
If that is what you mean then that may be the problem, your disabling that page may be what is hampering the function.
Does this page have an entry under modules/pages - I can't see anything obvious?
I tried on the products_all page, and that didn't work either...
Does the image link need editing? For the product_listing.php I've currently got the code like this, to disable the product details page, which I don't need.
Any further help will be appreciated!PHP Code:
$lc_text = '<h3 class="itemTitle">' . $listing->fields['products_name'] . '</h3><div class="listingDescription">' . zen_trunc_string(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id'])), PRODUCT_LIST_DESCRIPTION) . '</div>';
not sure about this part at all --- sorry. Links are always helpful to get better help.
could you take a screenshot of the tables in your phpadmin and plst it here ?
sac2126_zc1
the one in red is usually theaccount with zc1_ as the prefix is why i would like to see the screenshot
that picture is tiny but that is ok I was right. the first image is the first thing you see there and the second image is YES the list of databases.
you will see to the left that there are others with the zc1
so _zc1 is the table name.
click on that one in the list and it will cough up the list of tables where you will see them listed as either address_book or with zen_address_book or something before the actual table name in red here...
the letters or numbers --if any will be the prefix in blue above
Sorry about the small size before. You are right. So the tables all have zen_(name of table)
Im sorry I cant seem to get a clear picture no matter what file type I save it as. Is there a better way to do it?
Anyway it looked like this:
Table Ascending Action Records 1 Type
zen_address_book
zen_address_format
So im guessing i will have to change the name for one of those tables or add a new table?
actually if you look maybe 2-3 pages back you can see exactly where to add the zen_ to the lightbox sql then after you add it to the file just copy/paste the info into the admin section>tools>sql installer
once the tables are created in a database tis hard to change it and not muck up the table
Bookmarks