Jump to content


Corporate Sponsors


Latest News: (loading..)

longhorn1999

Member Since 17 Dec 2009
Offline Last Active May 25 2012, 18:51
-----

Posts I've Made

In Topic: facebook like button

25 May 2012, 18:36

http://developers.facebook.com/docs/reference/plugins/like/

Actually I just found the answer. Looks like FB changed the code...

In Topic: Product Listing Enhancements, Thumbnails & Manufacturer Headings

21 March 2012, 06:40

View Postspooks, on 20 March 2012, 16:40, said:

@longhorn1999

This is not something that's specific to this contribution & the code involved does not appear in it, its the split_page_results.php class (in includes/classes) and looking at the version from 2.3.1 the changes are easy:

Line 82.83:

// previous button - not displayed on first page
	  if ($this->current_page_number > 1) $display_links_string .= '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number - 1), $request_type) . '" class="pageResults" title=" ' . PREVNEXT_TITLE_PREVIOUS_PAGE . ' "><u>' . PREVNEXT_BUTTON_PREV . '</u></a>&nbsp;&nbsp;';

becomes

// previous button - not displayed on first page
	  if ($this->current_page_number > 1) $display_links_string .= '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number - 1), $request_type) . '" class="pageResults" rel="prev" title=" ' . PREVNEXT_TITLE_PREVIOUS_PAGE . ' "><u>' . PREVNEXT_BUTTON_PREV . '</u></a>&nbsp;&nbsp;';

line 100:

		  $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . $jump_to_page, $request_type) . '" class="pageResults" title=" ' . sprintf(PREVNEXT_TITLE_PAGE_NO, $jump_to_page) . ' "><u>' . $jump_to_page . '</u></a>&nbsp;';

becomes:

		  $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . $jump_to_page, $request_type) . '" class="pageResults" ' . ($jump_to_page == $this->current_page_number-1 ? ' rel="prev"' : ($jump_to_page == $this->current_page_number+1 ? ' rel="next"' : '')) . ' title=" ' . sprintf(PREVNEXT_TITLE_PAGE_NO, $jump_to_page) . ' "><u>' . $jump_to_page . '</u></a>&nbsp;';


line 107,108:

// next button
	  if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . 'page=' . ($this->current_page_number + 1), $request_type) . '" class="pageResults" title=" ' . PREVNEXT_TITLE_NEXT_PAGE . ' "><u>' . PREVNEXT_BUTTON_NEXT . '</u></a>&nbsp;';

becomes:

// next button
	  if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . 'page=' . ($this->current_page_number + 1), $request_type) . '" class="pageResults" rel="next" title=" ' . PREVNEXT_TITLE_NEXT_PAGE . ' "><u>' . PREVNEXT_BUTTON_NEXT . '</u></a>&nbsp;';


Hopefully I didn't miss anything ;)

Thanks Sam!

In Topic: Product Listing Enhancements, Thumbnails & Manufacturer Headings

20 March 2012, 08:33

Hi Spooks,

Welcome back to the forum.

There are is one thing that's been bouncing around SEO blogs in the last week that relates directly to this contribution: pagination.

http://searchengineland.com/implementing-pagination-attributes-correctly-for-google-114970



Is there any easy way to add rel="next" and rel="prev" to includes/functions/product_listing.php?

In Topic: [Contribution] MaxMind Fraud Detection Service v3.0

13 March 2012, 02:31

Thanks for the help! I know that school and COD are top priorities (not necessarily in that order), and I'll wait for your next version. This has saved me from at least one potentially expensive fraudulent transaction, so I recommend it to everyone.

In Topic: [Contribution] MaxMind Fraud Detection Service v3.0

12 March 2012, 12:35

Hi Noel,

The instructions for your latest MaxMind update say to update the minFraud account to v1.2, but I just noticed that v1.3 is out now. Should I still select v1.2 for now? Will the new feature in v1.3 be incorporated here sometime?

Thanks for the great contribution, and toyicebear mentioned, for maintaining it well for so long.