Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

append href path


Guest

Recommended Posts

tricky... i'm trying to do the following

 

My site has 699 unique manufacturers (or artists) created dynamically (using Ultimate SEO with html output). The biography pages (1-1 match for manufacturers pages) are static, and not dynamically created. I'm using the manfufacturer_info box to create a link to the biography page. I've managed to append the manufacturer info to the URL path (though not very gracefully).

 

I'm not able to append a /biography/ directory to the path, nor use the manufacturer names w/o spaces.

i.e. it can go to

http://arthousereproductions.com/712_artist_biography.php

but not (i get a '?' squeezed in)

http://arthousereproductions.com/biography...t_biography.php

 

 

 

What I've done so far.....

 

<br><a class="tiny" href="' . tep_href_link2( $manufacturer['manufacturers_id']) . '_artist_biography.php">' . Biography . '</a><br>

 

doing this along with altering html_output to switch the manufacturer ID with php extension...

 

function tep_href_link2($parameters = '', $page = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) {

global $seo_urls;

return $seo_urls->href_link($parameters, $page, $connection, $add_session_id);

 

}

---------------------------------------------------

 

Below is a page that more or less shows where I've gotten to this point - the biography link is under the "More art from...".

http://arthousereproductions.com/athomeapo...900-p-5789.html

 

So, how can I use the manufacturer's name with underscores? Also, how can I squeeze in a subdirectory in the path?

 

hope someone understands what i'm talking about...

thanks.

brett

Link to comment
Share on other sites

anyone?

tricky... i'm trying to do the following

 

My site has 699 unique manufacturers (or artists) created dynamically (using Ultimate SEO with html output).  The biography pages (1-1 match for manufacturers pages) are static, and not dynamically created. I'm using the manfufacturer_info box to create a link to the biography page. I've managed to append the manufacturer info to the URL path (though not very gracefully).

 

I'm not able to append a /biography/ directory to the path, nor use the manufacturer names w/o spaces.

i.e. it can go to

http://arthousereproductions.com/712_artist_biography.php

but not (i get a '?' squeezed in)

http://arthousereproductions.com/biography...t_biography.php

What I've done so far.....

 

<br><a class="tiny" href="' . tep_href_link2( $manufacturer['manufacturers_id']) . '_artist_biography.php">' .  Biography . '</a><br>

 

doing this along with altering html_output to switch the manufacturer ID with php extension...

 

function tep_href_link2($parameters = '', $page = '',  $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) {

  global $seo_urls;

  return $seo_urls->href_link($parameters, $page, $connection, $add_session_id);

 

  }

---------------------------------------------------

 

Below is a page that more or less shows where I've gotten to this point - the biography link is under the "More art from...".

http://arthousereproductions.com/athomeapo...900-p-5789.html

 

So, how can I use the manufacturer's name with underscores? Also, how can I squeeze in a subdirectory in the path?

 

hope someone understands what i'm talking about...

thanks.

brett

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...