Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pages

Pioneers
  • Posts

    15
  • Joined

  • Last visited

Profile Information

  • Real Name
    pages

pages's Achievements

  1. Thank you this worked for me. I couldn't find a better solution. So we cant benefit of the registry and the cache technics of usu5 as this way we have to run the corresponding query for each item in the sitemap. But anyway this works and this is a minor problem because we just run the sitemap generation once a day. Instead of commenting the lines, I prefered inlcude them in a test lookin if we are in a sitemap process or not. protected function acquireLinkText() { // BOF if (!($_SERVER['REQUEST_URI'] == "/usu5_sitemaps/" || $_SERVER['REQUEST_URI'] == "/usu5_sitemaps/index.php")) { if ( false !== $final_text_array = Usu_Main::i()->getVar( 'registry' )->retrieve( $this->key, $this->keys_index[$this->key] ) ) { if ( Usu_Main::monitorPerformance() ) { Usu_Main::$performance['queries_saved']++; } return $final_text_array; } } // EOF $result = Usu_Main::i()->query( $this->query ); etc.
  2. Hello guys, Any idea why I can't get the right urls in googlemap ? Sorry for posting again but I've seen no answer in my previous post http://www.oscommerce.com/forums/topic/336702-ultimate-seo-urls-5-by-fwr-media/page__view__findpost__p__1589239 but I feel it will disappear in the flow. Here is a summary of my problem
  3. Very nice and cleaver contribution. Installation went easy following the included instructions and everything works fine, excepted the sitemap generation. I have a multilanguage - 4 languages - shop. Products and categories have different names in each language. urls are well formated on site but sitemaps allthough the detect the language, they serve the first met language names. I try to be more clear with an exemple, lets say: category_id : 21 category's german name: bücher category's english name: books category's french names: livres on site urls : http://mysite/de/bücher-c-21.html http://mysite/books-c-21.html http://mysite/fr/livres-c-21.html Sitemaps http://mysite/de/bücher-c-21.html http://mysite/bücher-c-21.html http://mysite/fr/bücher-c-21.html It seems like the Usu5_Bootstrap::i()->bootStrapper( $lng ) doesn't initiates correctly but I am not able to fix it not to track something through the objects. Any help greatly welcome.
  4. Well, I think the problem is that the page number passed in the tep_href_link is not the good one. Although it is correctely set for the navigation through the search result pages, it is not what it needs fot the onclick redirection to the categories/products splitted pages. So, we must calculate for each product in search results the appropriate page. This means that we count the total products in categorie given by cPath then find there in witch page our product beongs. This must be done somewhere here: Any help to complete this task is welcome
×
×
  • Create New...