Jump to content


Corporate Sponsors


Latest News: (loading..)

cclayton

Member Since 16 Jun 2004
Offline Last Active May 15 2012, 21:26
-----

Posts I've Made

In Topic: Ultimate URLs Help with modification

15 March 2012, 17:16

So I have made some amendments to my seo.class.php and this has meant that all the links have changed on the website the way I want them and they go through okay and function, but the URL that is output is still showing as the old URL without the "great-keyword" text in. Any idea's what I can do to amend this?

So while the URL's on the site show as:

www.domain.co.uk/category-great-keyword-c-1.html they output in the address bar when landing on the page as:

www.domain.co.uk/category-c-1.html

Any ideas? Thanks!

In Topic: Ultimate URLs Help with modification

15 March 2012, 15:08

Is no one interested in being able to do this? That suprises me... when I change the seoclass and htaccess everything appears okay on the site then I click on a link that appears like below and nothing happens.

domain.co.uk/category-great-keyword-c-9.html

I then look at my log files and see that its trying to get to the below link:

domain.co.uk/category-great-keyword-c-0.html

Anybody? :)

In Topic: Product Listing Drop Down Sort Box

14 March 2012, 10:06

I have done it... for anyone interested what I did was to use this:

    <option value="<?php echo $basename; ?>/category-c-<?php echo $cPath; ?>.html?sort=2a&page=1">A to Z Order</option>
    <option value="<?php echo $basename; ?>/category-c-<?php echo $cPath; ?>.html?sort=2d&page=1">Z to A Order</option>
    <option value="<?php echo $basename; ?>/category-c-<?php echo $cPath; ?>.html?sort=3d&page=1">High to Low Price</option>
    <option value="<?php echo $basename; ?>/category-c-<?php echo $cPath; ?>.html?sort=3a&page=1">Low to High Price</option>
 

Works well for me.

In Topic: Product Listing Drop Down Sort Box

14 March 2012, 09:19

That is way more complicated than I wanted to make it... for example, how I envisaged it would be is:

<option value="<?php echo $basename; ?>?sort=2d&page=1">A to Z Order</option>

And I would like the output url to be:

http://www.domain.co.uk/category-c-989.html?sort=2d&page=1

The problem I have at the moment is that the output url is showing as:

http://www.domain.co.uk/?sort=2d&page=1

Any ideas if there is a quick fix to add in the actual category/sub-category page info into the url?

Thanks!

In Topic: Product_Listing.php new product field help

12 March 2012, 16:47

I added the code in (highlighted in Bold Italic) to index.php:

$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_location, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";

But nothing is still showing output. :(