Hi,
I posted the question below in the support thread for the add-on but in recent times the thread seems to have only questions with no answers. I thought I’d post it here hoping it might attract some interest. I realise that question is fairly trivial but in the described circumstances the manufacturers_id is not available for use, it also affects the URL that may be picked up by spiders (which may be helpful?).
Many Thanks
Hi,
Ultimate Seo Urls 5 PRO ( r205 ) osC 2.3 -
Though it is probably quite trivial, can anyone please help answer a question I have on this feature (I’m hoping to be luckier than my previous question on this thread which brought no response).
I may be going nuts, I may have done something wrong, it may be working as expected (perhaps you can check yours and let me know) -
When listing products for a Manufacturer (product_listing.php), hovering over a product item shows the expected URL for the product info page but the URL doesn’t include the ‘&manufacturers_id=’. Clicking on the product item loads the correct page with the expected URL (without the ‘&manufacturers_id=’). However, the breadcrumb trail shows Home>>Category>>Product instead of Home>>Manufacturer>>Product (as it did in the osC 2.2 version).
Swapping the products_id and the manufacturers_id around in the call to tep_href_link causes the ?manufacturers_id to show in the URL when hovering over the product name in the product listing but it is ‘mislaid’ when going to the product_info page.
- osCommerce Support Forum
- → Viewing Profile: trier
Latest News: (loading..)
Community Stats
- Group Community Member
- Active Posts 26 (0.02 per day)
- Most Active In General Support (18 posts)
- Profile Views 3,717
- Age Age Unknown
- Birthday Birthday Unknown
-
Real Name
Jimbo
-
Gender
Not Telling
Contact Information
0
Neutral
Friends
trier hasn't added any friends yet.
Latest Visitors
Topics I've Started
Ultimate SEO URL Question
14 September 2011, 12:26
osC 2.3 Buttons
08 August 2011, 11:54
Hi,
Can anyone please help with an osC 2.3 ‘Buttons’ problem. I believe a ‘stock’ grey button should should display when javascript is disabled. My form submit buttons display as expected, but for links, only the text displays, there no button image.
As far as I can judge all coding is as expected:-
The tep_draw_button function in includes>modules>html_output.php is unchanged
The stylesheet.css tdbLink definition is unchanged -
/* buttons */
.tdbLink a { }
.tdbLink button { }
The generated html code is as expected -
<span class="tdbLink"><a id="tdb2" href="http://www.16123.co.uk/login.php">Sign In/Create Account</a></span><script type="text/javascript">$("#tdb2").button({icons:{primary:"ui-icon-person"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script>
I have tried defining the class in the <a> tag and also putting the <span></span> immediately around the text within the <a></a> tags, always with the same result.
A search shows tdbLink referenced twice in stylesheet and twice in tep_draw_button (similarly in admin) there are no other references.
Any help would be appreciated.
Many Thanks.
Can anyone please help with an osC 2.3 ‘Buttons’ problem. I believe a ‘stock’ grey button should should display when javascript is disabled. My form submit buttons display as expected, but for links, only the text displays, there no button image.
As far as I can judge all coding is as expected:-
The tep_draw_button function in includes>modules>html_output.php is unchanged
The stylesheet.css tdbLink definition is unchanged -
/* buttons */
.tdbLink a { }
.tdbLink button { }
The generated html code is as expected -
<span class="tdbLink"><a id="tdb2" href="http://www.16123.co.uk/login.php">Sign In/Create Account</a></span><script type="text/javascript">$("#tdb2").button({icons:{primary:"ui-icon-person"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script>
I have tried defining the class in the <a> tag and also putting the <span></span> immediately around the text within the <a></a> tags, always with the same result.
A search shows tdbLink referenced twice in stylesheet and twice in tep_draw_button (similarly in admin) there are no other references.
Any help would be appreciated.
Many Thanks.
osC 2.3.1 Admin Graphs
22 July 2011, 12:44
Hi,
Help with a second problem I have trying to set up an osC 2.3.1 store would be greatly appreciated. Loading the main Admin Configuration page in Firefox displays graphs for total revenue & customers. In IE9 the graphs don’t appear, possibly because of a javascript error:-
function constructCanvas() {
function makeCanvas(width, height) {
var c = document.createElement('canvas');
c.width = width;
c.height = height;
if ($.browser.msie) // excanvas hack
c = window.G_vmlCanvasManager.initElement©;
return c;
}
canvasWidth = placeholder.width();
canvasHeight = placeholder.height();
placeholder.html(""); // clear placeholder
if (placeholder.css("position") == 'static')
placeholder.css("position", "relative"); // for positioning labels and overlay
if (canvasWidth <= 0 || canvasHeight <= 0)
throw "Invalid dimensions for plot, width = " + canvasWidth + ", height = " + canvasHeight;
if ($.browser.msie) // excanvas hack
window.G_vmlCanvasManager.init_(document); // make sure everything is setup
// the canvas
canvas = $(makeCanvas(canvasWidth, canvasHeight)).appendTo(placeholder).get(0);
ctx = canvas.getContext("2d");
// overlay canvas for interactive features
overlay = $(makeCanvas(canvasWidth, canvasHeight)).css({ position: 'absolute', left: 0, top: 0 }).appendTo(placeholder).get(0);
octx = overlay.getContext("2d");
octx.stroke();
}
The error (green line above) is -
SCRIPT5007: Unable to get value of the property 'init_': object is null or undefined
Any help anyone please?
Help with a second problem I have trying to set up an osC 2.3.1 store would be greatly appreciated. Loading the main Admin Configuration page in Firefox displays graphs for total revenue & customers. In IE9 the graphs don’t appear, possibly because of a javascript error:-
function constructCanvas() {
function makeCanvas(width, height) {
var c = document.createElement('canvas');
c.width = width;
c.height = height;
if ($.browser.msie) // excanvas hack
c = window.G_vmlCanvasManager.initElement©;
return c;
}
canvasWidth = placeholder.width();
canvasHeight = placeholder.height();
placeholder.html(""); // clear placeholder
if (placeholder.css("position") == 'static')
placeholder.css("position", "relative"); // for positioning labels and overlay
if (canvasWidth <= 0 || canvasHeight <= 0)
throw "Invalid dimensions for plot, width = " + canvasWidth + ", height = " + canvasHeight;
if ($.browser.msie) // excanvas hack
window.G_vmlCanvasManager.init_(document); // make sure everything is setup
// the canvas
canvas = $(makeCanvas(canvasWidth, canvasHeight)).appendTo(placeholder).get(0);
ctx = canvas.getContext("2d");
// overlay canvas for interactive features
overlay = $(makeCanvas(canvasWidth, canvasHeight)).css({ position: 'absolute', left: 0, top: 0 }).appendTo(placeholder).get(0);
octx = overlay.getContext("2d");
octx.stroke();
}
The error (green line above) is -
SCRIPT5007: Unable to get value of the property 'init_': object is null or undefined
Any help anyone please?
osC 2.3.1 Force Cookie Usage
22 July 2011, 12:31
Hi,
I’d very much appreciate any possible help with the first of a couple of problems I have trying to set up an osC 2.3.1. store.
When setting ‘Force Cookie Use’ to true, it seems to work fine in the store but causes problems in Admin. When set to true, loading a page in admin hangs for quite while before ‘Page not found’ in IE or ‘The page isn't redirecting properly’ in Firefox (the value has to be changed in mySQL).
In Admin/application_top, removing the statement -
@ini_set('session.use_only_cookies', (SESSION_FORCE_COOKIE_USE == 'True') ? 1 : 0);
causes the same result.
Changing the statement to -
@ini_set('session.use_only_cookies', 0);
does allow cookie control in for the shop whilst still allowing Admin to be accessed but it would be nice to have it working correctly.
Thanks very much for any help.
I’d very much appreciate any possible help with the first of a couple of problems I have trying to set up an osC 2.3.1. store.
When setting ‘Force Cookie Use’ to true, it seems to work fine in the store but causes problems in Admin. When set to true, loading a page in admin hangs for quite while before ‘Page not found’ in IE or ‘The page isn't redirecting properly’ in Firefox (the value has to be changed in mySQL).
In Admin/application_top, removing the statement -
@ini_set('session.use_only_cookies', (SESSION_FORCE_COOKIE_USE == 'True') ? 1 : 0);
causes the same result.
Changing the statement to -
@ini_set('session.use_only_cookies', 0);
does allow cookie control in for the shop whilst still allowing Admin to be accessed but it would be nice to have it working correctly.
Thanks very much for any help.
- osCommerce Support Forum
- → Viewing Profile: trier
- Forum Rules






Find content