so you reinstalled it totally then ran the sql?
it now shows in admin?
were you able to replace the customer/your test wish lists back into the database, tis tricky but I have had to do things like that before too. pm me if you want.
Printable View
Quick comparison on the old mod & new SQL file I found the new is missing.....
This was to insert the Customers Wish List in Admin. I am looking to see if a file is missing also that is used to populate this valueQuote:
INSERT INTO un_wishlists VALUES (1, 0, now(), now(), 'donotuse', 'donotuse', 0, 0);
To help others
I had to remove all reference to Wish Lish in the Database. It seems the uninstall SQL only removes from Admin even if you uncommentQuote:
so you reinstalled it totally then ran the sql?
So others may not have a prob with fresh installs until they want to Uninstall the mod.Quote:
#DROP TABLE IF EXISTS `un_wishlists`;
#DROP TABLE IF EXISTS `un_products_to_wishlists`;
Oddly tho when I ran
it did not return an error although this IS included in the install SQL. I would get the processed 1 statement confirmation every time!Quote:
# Register the configuration page for Admin Access Control
INSERT IGNORE INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order ) VALUES ('configZCAWishListModule','BOX_CONFIGURATION_ZCA_WISHLIST','FILENAME_CONFIGURAT ION',CONCAT('gID=',@cid),'configuration','Y',@cid);
quick comparison to the files I found this difference in
/admin/includes/extra_datafiles/wishlist_filenames
new
OldQuote:
// Wishlist
define('UN_FILENAME_WISHLIST', 'wishlist');
define('UN_FILENAME_WISHLISTS', 'wishlists');
since I had to old file uploaded at this point perhaps this is what made it finally show up correctly in adminQuote:
// Wishlist
define('UN_FILENAME_WISHLIST', 'wishlist');
define('UN_FILENAME_WISHLISTS', 'wishlists');
define('BOX_CONFIGURATION_ZCA_WISHLIST', 'Wish List Module');
well it is my turn now.
store: 1.3.9h
wishlist version .09
I have two codes to use in the tpl_product_info_display.php
I have the first one added to the file right under the end of add to cart.
the problem is that when used it takes you to the wishlist but does not add a darn thing and if you happen to have others in there it says there is nothing. I have all its files uploaded to their correct places. It is displayed in admin/extras and shows all accounts with wishlistsCode:<!--bof Wishlist button -->
<div id="productWishlistLink" class="buttonRow back"><?php echo ('<a href="' . zen_href_link(UN_FILENAME_WISHLIST, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='.(int)$_GET['products_id'].'&action=un_add_wishlist') . '">' . zen_image_button(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT) . '</a>'); ?></div>
<!--eof Wishlist button -->
this link also works but send the person to the shopping cart, not the wishlist.Code:<!--bof Wishlist button -->
<?php if (UN_MODULE_WISHLISTS_ENABLED) { ?>
<div id="productWishlistLink" class="buttonRow back">
<?php echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT, 'name="wishlist" value="yes"');
//print_r($_REQUEST);
?></div>
<?php }
else
{}
?>
<!--eof Wishlist button -->
If I use this one from the example, it too sends to shopping cart:
Before we moved to new host this worked right...um before I turned on the CSS Buttons feature in admin/config/layout settings, which I have enabled so my buttons all appear correctly and not run off the button.Code:<!--bof Wishlist button -->
<?php if (UN_MODULE_WISHLISTS_ENABLED) { ?>
<div id="productWishlistLink" class="buttonRow back">
<?php echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT, 'name="wishlist" value="yes"');
//print_r($_REQUEST);
?></div>
<?php }
else
{}
?>
<!--eof Wishlist button -->
Is there something I can do to altar the code for it to go to wishlist to add the item and NOT the shopping cart.
http://fantasiesrealm.com/market
Attachment 14305
DarkAngel the following code worked for me in both 1.39 & 1.51
I to am using css buttons and wanted the button to show Even when customers are not logged in (the text script threw off my alignment with the Tell a Friend button)Quote:
<!--bof Wishlist button -->
<?php if (UN_MODULE_WISHLISTS_ENABLED) {
if ( $_SESSION['customer_id'] ) {
echo '<input type="hidden" name="wishlist" value="yes" />';
echo '<div id="productWishlistLink" class="buttonRow back">';
echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT);
echo '</div>';
} else {
echo '<div>';
echo UN_BOX_WISHLIST_LOGIN_TEXT;
echo '</div>';
}
} else {}
?>
<!--eof Wishlist button -->
I am glad I can offer some help for a change :)Quote:
<!--bof my Wish button -->
<?php if (UN_MODULE_WISHLISTS_ENABLED) {
if ( $_SESSION['customer_id'] ) {
echo '<input type="hidden" name="wishlist" value="yes" />';
echo '<div id="productWishlistLink" class="buttonRow back">';
echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT);
echo '</div>';
} else {
echo '<div>';
echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT);
echo '</div>';
}
} else {}
?>
<!--eof my Wish button -->
The bottom code worked perfectly and now I see the message stack success at the top as well as it adds to the wishlist and NOT the shopping cart. A little weird since it used to go to the wishlist when it did work before...LOL
now I have another questions about this mod on 1.5.3 store. Trying to fix the stack success message at the top.
the first image is the normal view prior to adding to wishlist....then the success just takes over. I have changed the stylesheet in many ways with margins and padding that either distorts the entire page or does not have any affect what so ever.
Where can I find another place to edit so that the wishlist success does not stomp on the navigation links.
Attachment 14308Attachment 14309
The template used is a classic theme clone and I have compared the entries in there with the default stylesheet to no avail. I think everything is in there.
I have absolutely no space at the top of my website. This is what I have
andQuote:
/*warnings, errors, messages*/
.messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
line-height: 1.8em;
padding: 0.2em;
border: 0px solid #9a9a9a;
}
which loads all messages above the website by shifting the page downQuote:
#navMain ul, #navSupp ul, #navCatTabs ul {
margin: 0;
padding: 0em 0em;
list-style-type: none;
text-align: center;
line-height: 1.7em;
}
Attachment 14312
yes, with some testing we see that all of the stack stomps on the links. hers are:
.messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
line-height: 1.8em;
padding: 0.2em;
border: 1px solid #000000;
}
#navMain ul, #navSupp ul, #navCatTabs ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
text-align: center;
line-height: 1.5em;
}
changed it like yours and still does it:Attachment 14313