Jump to content


Corporate Sponsors


Latest News: (loading..)

pixclinic

Member Since 06 Mar 2006
Offline Last Active Nov 12 2011, 18:05
-----

Posts I've Made

In Topic: ULTIMATE Seo Urls 5 - by FWR Media

12 November 2011, 18:05

I'm still having this issue after several weeks of testing settings:

Every morning, all my admin settings go back to the default ones.
I need my uri format to stick to rewrite (Google started indexing standard uri, I don't want that )

Please let me know if you experienced similar behavior.

Thank you!

In Topic: ULTIMATE Seo Urls 5 - by FWR Media

01 November 2011, 17:53

problem solved by switching the cache system from file to mySQL... strange

In Topic: ULTIMATE Seo Urls 5 - by FWR Media

31 October 2011, 19:44

Hi Folks

I hope I'm not posting an already reported issue.
Upgraded from Chemo's 2.1 on a 2.2 shop
Everything is working fine except that every day at midnight, my settings are set back to default (the rewrite goes back to standard, the short words back to 2, etc...)
Please let me know if you experienced similar issue and how you fixed it.

Thanks!

In Topic: [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

25 July 2011, 03:51

View PostFWR Media, on 18 July 2011, 15:35, said:

Should be easy enough.

Just use an ajax request to access a file that includes the application_top.php bootstrap.

For this example you use GET and pass an array containing the keys page and query where page is the filename like index.php and query is the required querystring like cPath=2.

This provides a json response with the key "result" the value of which is bool false on failure or an seo url on success.

The file could go in the shop root and look something like: -

<?php
  $valid_params = array( 'page' => 1, 'query' => 1 );
  if ( !count ( array_intersect_key ( $_GET, $valid_params ) ) == 2 ) {
	echo json_encode ( array( 'result' => false ) );
	exit;
  }
  include 'includes/application_top.php';
  $seo_url = tep_href_link( (string)$_GET['page'], (string)$_GET['query'] );
  // add some checks here that the result is valid
  echo json_encode ( array( 'result' => $seo_url ) );
  include DIR_WS_INCLUDES . 'application_bottom.php';

Hope that helps.

No luck with this.
I implemented an ajax updater with prototype, where the external file actually renders the entire buttons portion.
The problem now is that these buttons require external js files from twitter, facebook and linkedin to be rendered.
Nomatter where I place the call to the .js scripts ( in the ajax target file or in my originating file), itdoesn't work...

So I have to stick for now to my not-so-elegant solution, which seems to be working just fine.

To see this Mobile site: The Frenchy Bee

In Topic: [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

18 July 2011, 15:14

Hi Everyone

Even though my topic doesn't sound like an SEO URL one, it IS directly related ;-)

Here it is:

I'm implementing Facebook "LIKE" & "SEND", twitter and Linkedin buttons on my mobile app, which is in a subfolder of my catalog
I can't have SEO URL running on my mobile app (using Ajax), I deactivated it in my /mobile folder.

However, I want my social buttons there.
These buttons are also present on each product nopn-mobile page, and are dynamically generated with the product ID.
I use the Open Graph protocol and its META tags to provide the product URL, image, etc..

My challenge is to retrieve the SEO URL from there to build the correct URLs.

- In my main app, my buttons are built with the SEO link
- In my mobile app I use the product_info.php?products_id=xxx method

which gives different button counts, because the originating URLs are not the same for FB, TW, and LI and I don't want that.
I want my mobile app to be able to create the same SEO url as my main app

Long story short: How to create an SEO tep_href_link from my mobile folder? any attempt to use the SEO class from my subfolder redirects to the non-seo link?

I implemented a dirty fix for now, using some str_replace with the URL encode, but I would like something more reliable.

Thank you for your input!