Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Using SEF/SEO URL''s in Templates
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

magnumtools.com
Starting Member

USA
15 Posts

Posted - June 08 2011 :  15:53:26  Show Profile  Visit magnumtools.com's Homepage  Reply with Quote
Hey all...

Our shop is now running SEO/SEF URL's and I'm needing a way to incorporate them in to certain templates. For instance...

Our template for the list of products in the category view (tmp_productformat.htm) uses the following code to convert the image of the product in to a link.

<td class="product_img vt" width="25%">
<a href="shopexd.asp?id=[catalogid]"><img border="0" src="[extendedimage]" width="150px" alt="[translate cname]"></a>                          		
                          </td>


I also have a button as well as the product name on each listing set as a URL. The problem is that I do not know if there is a dynamic routine I can link to in the template such as [FormatHyperlinksSub] that will properly derive the SEF URLs as opposed to using the old shopexd.asp?id=[catalogid] method seen above. The ultimate goal is to convert all dynamic links from shopexd.asp?id=[catalogid] to their SEF/SEO counterparts.

Thanks in advance!

magnumtools.com
Starting Member

USA
15 Posts

Posted - June 08 2011 :  15:56:34  Show Profile  Visit magnumtools.com's Homepage  Reply with Quote
Just to clarify....

The idea is to change all dynamically created URL's used in templates from:

http://www.magnumtools.com/shopexd.asp?id=5731

to the SEF/SEO URL's such as:

http://www.magnumtools.com/products/44-Van-Mark-Brakes/5731-Van-Mark-Brake---10-Ft-6-In-Mark-II-TrimMaster-Contractor---TM10/

Thanks again

Edited by - magnumtools.com on June 08 2011 15:58:35
Go to Top of Page

Steve2507
VP-CART Expert

590 Posts

Posted - June 10 2011 :  10:03:14  Show Profile  Reply with Quote
What version are you using?


Steve
Sex toys from a UK sex shop including vibrators and dildos.
Go to Top of Page

magnumtools.com
Starting Member

USA
15 Posts

Posted - June 14 2011 :  13:24:50  Show Profile  Visit magnumtools.com's Homepage  Reply with Quote
7.0 Deluxe - fully updated with all service packs

Edited by - magnumtools.com on June 14 2011 13:28:09
Go to Top of Page

magnumtools.com
Starting Member

USA
15 Posts

Posted - June 20 2011 :  11:01:43  Show Profile  Visit magnumtools.com's Homepage  Reply with Quote
<a href="[formatshopexdlink][add_websesslink]"><img src="[cimageurl]" border="0" alt="[translate cname]" /></a>


Resolved...

[formatshopexdlink][add_websesslink] is what I was looking for.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00