Forum Moderators: coopster
Line 83:
if ($this->current_page_number > 2) str_replace('=', '/',$display_links_string) .= '[ <a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number - 1), $request_type) . '" class="pageclass" title=" ' . PREVNEXT_TITLE_PREVIOUS_PAGE . ' "><i>Previous</i></a> ] ';
I've bolded what I added to the script that broke it.
What I am trying to do:
This code generates a dynamic link. I'm trying to replace the ? = & characters with / to replace them with static URLs.
Am I approaching this incorrectly? (The URLs are already in place for htaccess, I just need to get my script to output them)