azti
Forum Replies Created
-
Forum: Plugins
In reply to: [HMS Testimonials] Index in pagination is off by 1HAH! I found it… The problem is I had one Testimonial that was a duplicate and had set it not to display. I had forgotten that. Apparently if you set it not to display, the code does not adjust the pagination display and url…
–Azti
Forum: Plugins
In reply to: [HMS Testimonials] Index in pagination is off by 1No… Its still messed up… However, it doesn’t appear to be an issue in the database… as it is all consistent now…
go to:
http://www.worldwithoutparasites.com/all-testimonials/?hms_testimonials_page=14
the above url’s index field outputs 14, as it should. However:
if you go to:
http://www.worldwithoutparasites.com/all-testimonials/?hms_testimonials_page=15it should be at 15. But its 16…
I’m using a Custom Field now to resolve the other problem of making available the full text of a Testimonial from the “excerpt” testimonial… However, I’m going to have to adjust these indexes from 15 forward until you can find and fix this…
Thanks…
–Azti
Forum: Plugins
In reply to: [HMS Testimonials] Index in pagination is off by 1hm… very, very strange… I found that the problem began to occur around index number 16. When I clicked on the pagination code’s rendered url for 16 I got 17 displayed and the same all the way through till the last….
I looked in the database and found that one of the testimonial at 17 was a duplicate of 16… Something strange must have happened in the database…
I went into the database manually, deleted the errant record, and then edited each subsequent record’s id field and decremented it by 1. Now all seems in sync…
Still, you might have a look… something weird happened…
–Azti
Forum: Plugins
In reply to: [HMS Testimonials] Index in pagination is off by 1I verified this by showing index numbers as displayed fields in the templates. When the correct content is shown, the index is off by one. I.E. it is accessible via one less than the actual index number. Additionally, if I have 30 testimonials, the pagination shows 29. It is certainly an issue with an array index that must be 0 based not being adjusted for displaying as if starting at 1.
—o—
Regardless, I am going to have to undo my scheme for offering a URL embedded at the end of a short excerpt Testimonial that has a related full length testimony. The problem with it is if I set the maximum words at a particular value, and the value is exceeded by enough, then the embedded URL displays correctly (other than the index issue) when the user follows the “more” link, the entire “excerpt” text is displayed and then contains the link that I embedded to the full testimonial ID of the full text. The problem is that when the number of words in the testimonial is less than the cutoff but the embedded url is more, your code eats the URL… As it page breaks as well, BTW…
—o—
In any case, What I really need is a feature where, at Testimonial creation, there is an option to set whereby a field containing an Excerpt of the full testimonial is displayed and after the excerpt a link to the full text of the Testimonial contained in another field…
If I had the time I would try to hack that in and submit it back…
Thanks again…
–Azti
Forum: Plugins
In reply to: [WP Catalogue] HTML in Description?Ah… never mind… I found the visual/text selection at the far right of the editor window rather than in the icons at the left….
–Azti
Forum: Plugins
In reply to: [WP Catalogue] HTML in Description?PS… just like this form at wordpress.org… my previous post, herein, rendered the html anchor tags I used as an example. Your form, in the plugin admin pages, now does not… It prints out the tags (having url encoded the characters).
–Azti
Forum: Plugins
In reply to: [WP Catalogue] Search yields standard postMaeve, I managed to hack in a search form, in your pro version that we just purchased, at: themefiles/single-wpcproduct.php just below line 83 and in wpc-catalogue.php just below line 182.
As to my questions, in the post above below:
—o—
You get the content pointed to by the below url. This content does NOT contain any images from the page, I.E. the spec sheet returned in the second link below this one.:
—o—Please never mind… lol… I am overworked… I realize that the search results will not be the actual page for the content, but output including content around the search term. I did not realize that the link to the original Post/Page/Comment (In installed Relevanssi, by the way), and specifically for wpcposts, is at the top of each block of content returned from a matched item in the search.
So never mind the above…. However, I would highly suggest that you include a clean way to add a sophisticated search capability to the Catalog with a form displayed both in the sidebar of the Catalog Pages as well as in the Product Pages themselves.
Thanks again.
Forum: Plugins
In reply to: [WP Catalogue] Search yields standard postMaeve,
For example:
If you go to my site and search on this Product Number: TG8038-7P-1
You get the content pointed to by the below url. This content does NOT contain any images from the page, I.E. the spec sheet returned in the second link below this one.:
http://www.united-cooling.com/?s=TG8038-7P-1Rather than the content pointed to by this one, which is the WP Catalogue URL for that product:
http://www.united-cooling.com/wpcproduct/tg8038-7p-1/Conversely, searching on a term that will yield a standard WordPress Page. The string: “Jiulong”, submitted to WordPress Search, yields a URL: http://www.united-cooling.com/?s=Jiulong whose content is Identical to the what is rendered by the actual URL for the page: http://www.united-cooling.com/juilong-brand/ Both return the image that is part of the page. However, a search for a Product Number only Returns the Product Description without the associated Image(s).
Another problem that I just now discovered is that strings contained within the Catalog Product Description are not found. For example, this string, form many of the product descriptions: “Shaded Pole And External Rotor Induction Motor” should yield a number of our Products. It yields none. I did some research and now find that this is a [lack of] design feature in WordPress. Worpdress search only searches posts, not pages and comments… I guess I will be looking at a plugin, or custom code.
Regardless, why is it that WP Catalogue’s images are not returned in a search for a product number?