Title: tdmoose's Replies | WordPress.org

---

# tdmoose

  [  ](https://wordpress.org/support/users/tdmoose/)

 *   [Profile](https://wordpress.org/support/users/tdmoose/)
 *   [Topics Started](https://wordpress.org/support/users/tdmoose/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tdmoose/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tdmoose/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tdmoose/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tdmoose/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tdmoose/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Product Catalog] Drag and Drop Category Order Broken](https://wordpress.org/support/topic/drag-and-drop-category-order-broken/)
 *  Thread Starter [tdmoose](https://wordpress.org/support/users/tdmoose/)
 * (@tdmoose)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/drag-and-drop-category-order-broken/#post-10120906)
 * I really doubt that you carefully tested this using the condition I detailed 
   in my first post.
 * The reason I doubt it, is, that when I step through the code, I can see the query
   it uses to display the result. That query cannot produce a correct result. I 
   can verify that the code is actually going through this query via error_log statements.
   The query is the one I posted earlier. This query uses “Category_Sidebar_Order”,
   but, it should use “Position” in the “…Catalogue_Items” table.
 * I’ll mark this as resolved, but, I stand by my claim that the software does not
   function as expected.
    -  This reply was modified 8 years, 4 months ago by [tdmoose](https://wordpress.org/support/users/tdmoose/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Product Catalog] Drag and Drop Category Order Broken](https://wordpress.org/support/topic/drag-and-drop-category-order-broken/)
 *  Thread Starter [tdmoose](https://wordpress.org/support/users/tdmoose/)
 * (@tdmoose)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/drag-and-drop-category-order-broken/#post-10116996)
 * In my first post, I indicated this option setting.
 * * In the UPCP dashboard, set Options->Basic->Category Overview Mode to “Categories
   Only”
 * When you do this, the category order is not followed. It behaves as I have described.
   Since you have confirmed in your past post that “the drag and drop in the Catalogues
   tab affects what you see in the main area (the right side, opposite the sidebar)
   on the catalogue page,” I would consider what I have brought up to be a bug. 
   Please fix it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Product Catalog] Drag and Drop Category Order Broken](https://wordpress.org/support/topic/drag-and-drop-category-order-broken/)
 *  Thread Starter [tdmoose](https://wordpress.org/support/users/tdmoose/)
 * (@tdmoose)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/drag-and-drop-category-order-broken/#post-10108960)
 * I did not use that as there is no indicator on mouse-over to make it apparent
   that this is a drag and drop list. Such an indicator does display on the list
   in Catalogue tab. Three people looked at this without discovering that the Category
   list is drag and drop as well.
 * It still seems to me that the order on the Catalogue tab list should control 
   the order of the categories on the Category Overview page. What does the Position
   column control if it doesn’t control this?
 * The desired functionality is available, but, I think the user interface is confusing,
   and to some degree contradictory.
 * I would still like to make a case for using the modification I proposed. It makes
   sense to me, that if I change the order of categories on the Catalogue tab, that
   it would control the Catalogue Overview page. It is confusing to reorder the 
   entire list of categories if not all of them are to be used in a particular catalogue.
   Further, the video documentation ([https://www.etoilewebdesign.com/plugins/ultimate-product-catalog/documentation-ultimate-product-catalog/](https://www.etoilewebdesign.com/plugins/ultimate-product-catalog/documentation-ultimate-product-catalog/))
   indicates that the Catalogue tab list controls the Catalogue Overview order.
 * If it’s not going to be used, then remove the code to offer the drag and drop
   functionality. Also, could the Category tab list have an indicator on mouse over,
   or some other indicator to make it clear that this is where the order is maintained?
    -  This reply was modified 8 years, 4 months ago by [tdmoose](https://wordpress.org/support/users/tdmoose/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Product Catalog] Drag and Drop Category Order Broken](https://wordpress.org/support/topic/drag-and-drop-category-order-broken/)
 *  Thread Starter [tdmoose](https://wordpress.org/support/users/tdmoose/)
 * (@tdmoose)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/drag-and-drop-category-order-broken/#post-10108189)
 * If I make the following mods to the code for the UPCP_Get_Catalog_Overview() 
   function in “Functions/Shortcodes.php”, I get the expected behavior.
 * – global $wpdb, $fields_table_name, $link_base;
 * + global $wpdb, $fields_table_name, $link_base, ;
 * …
 * – if ($Overview_Type == “Categories”) {$Items = $wpdb->get_results(“SELECT * 
   FROM $categories_table_name WHERE Category_ID IN (” . $ID_String . “) ORDER BY
   Category_Sidebar_Order”);}
 * + if ($Overview_Type == “Categories”) {$Items = $wpdb->get_results(“SELECT * 
   FROM $categories_table_name LEFT JOIN $catalogue_items_table_name ON $catalogue_items_table_name.
   Category_ID = $categories_table_name.Category_ID WHERE $categories_table_name.
   Category_ID IN (” . $ID_String . “) ORDER BY $catalogue_items_table_name.Position”);}
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Product Catalog] How to change IDs](https://wordpress.org/support/topic/how-to-change-ids/)
 *  [tdmoose](https://wordpress.org/support/users/tdmoose/)
 * (@tdmoose)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/how-to-change-ids/#post-8648463)
 * I have been helping Kim (ktanner5) with implementing this plugin on her company’s
   site. The desire is to have a products page at this URL.
 * [http://domain-name.com/products/](http://domain-name.com/products/)
 * This URL would display a catalog via a shortcode.
 * [product-catalogue id=”2″]
 * Ideally, the category links would look like this.
 * [http://domain-name.com/products/category/category-slug](http://domain-name.com/products/category/category-slug)
 * Products would then have this format of URL.
 * [http://domain-name.com/products/product/product-slug](http://domain-name.com/products/product/product-slug)
 * Currently, with the “pretty permalinks” option turned on, the products do display
   in this manner. Although it seems clear from your reply that there is no way 
   to configure UPCP to do this for category, I was wondering if you know a workaround
   for this, or if you could point to a client using this plugin in this manner (
   or something similar).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsive Photo Gallery] jQuery Conflict](https://wordpress.org/support/topic/jquery-conflict-52/)
 *  Thread Starter [tdmoose](https://wordpress.org/support/users/tdmoose/)
 * (@tdmoose)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/jquery-conflict-52/#post-7385682)
 * The issue is the same as it is with the free plugin.
 * I could have my client log in and post the same message, but, since the free 
   plugin has the same issue, I think it is appropriate to bring up here.
 * I’m not looking for support, as an acceptable work-around has been found.
 * My intent was to alert you to an incompatibility introduced by including your
   own version of jQuery, which is a practice discouraged by WordPress.
 * [https://developer.wordpress.org/themes/advanced-topics/javascript-best-practices/](https://developer.wordpress.org/themes/advanced-topics/javascript-best-practices/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gravity Forms + Custom Post Types] Undefined index notices on form submission](https://wordpress.org/support/topic/undefined-index-notices-on-form-submission/)
 *  [tdmoose](https://wordpress.org/support/users/tdmoose/)
 * (@tdmoose)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/undefined-index-notices-on-form-submission/#post-3666984)
 * Late to the party, but it seems this issue is still around. I have a slight variation
   on Joshua’s fix. I may be overly complicating this, but it occurs to me that 
   that value could be set but set to 0 or FALSE.
 * if ( $field[‘type’] == ‘select’ && ( ! empty($field[‘setParentPost’]) ) ) {
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemap Generator for Google] [Plugin: Google XML Sitemaps] Created sitemap files, changed permissions, but still can't use p](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-created-sitemap-files-changed-permissions-but-still-cant-use-plugin/)
 *  [tdmoose](https://wordpress.org/support/users/tdmoose/)
 * (@tdmoose)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-created-sitemap-files-changed-permissions-but-still-cant-use-plugin/#post-2519427)
 * I’m late to the game, but I’ll post my solution anyway. I am using the “google-
   sitemap-generator” plugin mentioned at the top of this thread and got it to work
   by doing the following. I went to the plugin settings pages and set a custom 
   location in the uploads directory (specifically “public_html/wp-content/uploads/
   sitemaps/sitemap.xml”). Then I manually created the folder “public_html/wp-content/
   uploads/sitemaps” and ensured the permissions were 755. I saved these changes
   and clicked on the link on the settings page to manually create the sitemap files.
   Then I went to the “public_html” directory and created two symlinks.
 * # ln -s wp-content/uploads/sitemaps/sitemap.xml sitemap.xml
    # ln -s wp-content/
   uploads/sitemaps/sitemap.xml.gz sitemap.xml.gz
 * So far everything has been working.

Viewing 8 replies - 1 through 8 (of 8 total)