Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] STS v4


Guest

Recommended Posts

I am setting up the infoboxes and have got all the boxes working and know what to name them aprt from the main content box!

 

I know that to include the infobox for the whats new box I would call the file 'infobox_whats_new.php.html', but I dont know what to call the infobox for the content that displays in the middle as I have tried all the names I thought it would be but to no avail?

 

Can anyone tell me what I should name it?

Garreth, look for additional infobox names in includes/modules folder of your shop. You will see a listing such as product_listing.php, new_products.php and maybe even featured.php. Then, make an infobox template for any of those using the name listed there. For example, the new_products.php (New Products for Month) would be infobox_new_products.php.html.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

I just did the STS v4.5.8 install for 2.2RC2.

 

When i click on "STS" under the Admin > Modules.... it pulls up the Payment Modules instead of the STS.

I have re-copied all of the files twice to make sure they copied correctly. Same problem

 

 

What did i do wrong? and How can i fix this?

 

 

 

(i moved this post from the other STS to here for the Version 4.5.8)

 

Shana,

You either uploaded the files into the wrong folder or did not upload all of the files. It is very important to keep the file/folder structure intact when uploading to your server.

 

:thumbsup: Use a file comparison utility such as Beyond Compare or WinMerge to compare your shops files with those in the contribution to be sure you added the files/folders in the proper place.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Thanks for the reply bill but I am looking to make a infobox that will surround the main content. I have made infoboxes for categories, information, whats new and for the search but cannot see what I should name the file for the infobox for the main content?

 

I have tried all the names I can think of but none of them seem to work like 'infobox_product_listing_.php.html' and 'infobox_content.php.html' but I cant seem to find the name that applies to the infobox I want to change?

 

Also, another question is I have inserted the tag '$loginofflogo' and it displays 'log in' in text and 'log off' in text and I would like to know if there is a way that I can change that log in text from text to an image?

Link to comment
Share on other sites

Lotti,

OK, then I would start looking at the rest of your template page to see what width tag is incorrect. Something within your template is causing the rest of the page to not line up correctly. Start with the body tag and then go from there. This is either a HTML or CSS issue within your template page.

 

I'm making a big assumption that you are using a stock version of osC that has not had any of the design elements modified. If not, then the problem could be coming from your index.php file or one of the column_left.php, column_right.php, header.php or footer.php files.

 

Bill

 

Just in case anyone else ever hits this.

 

You need to change this line in your template

 

<td valign="middle">
	   <img border="0" src="images/headerlogo.jpg" [b]width="100%" height="150" [/b]>

 

That should sort it out.

 

Thanks

Link to comment
Share on other sites

i have STSv4.5.8 installed... and ive changed the main layout... BUT how do i change the Grey bar on the top of each box?

 

my page

 

if i install the [207] Header Tags Controller will that allow me to change the grey bars?

Edited by shana.jk
Link to comment
Share on other sites

Im also trying to add a Flash button at the top... I cant get it to show up... is there any special way of inputting flash?

 

Right now this is how i have it....

<!--url's used in the movie-->
<a href="index.php?cPath=23"></a>
<a href="index.php?cPath=22"></a>
<a href="index.php?cPath=21"></a>
<a href="index.php?cPath=3"></a>
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="538" height="34" id="LinkBar" align="left">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="LinkBar.swf" /><param name="quality" value="high" /><param name="salign" value="lt" /><param name="bgcolor" value="#602220" /><embed src="/image/LinkBar.swf" quality="high" salign="lt" bgcolor="#602220" width="538" height="34" name="LinkBar" align="left" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

 

its not giving an error... its just like its not there at all.

Edited by shana.jk
Link to comment
Share on other sites

i have STSv4.5.8 installed... and ive changed the main layout... BUT how do i change the Grey bar on the top of each box?

 

my page

 

if i install the [207] Header Tags Controller will that allow me to change the grey bars?

Shana,

HTC does not have anything to do with your color styles. You can change the styles in your stylesheet but it looks like you are using the infobox templates. These can be modified by opening the infobox templates (located in your templates boxes folder) and changing the background color of the table cells.

 

HTC will give you Search Engine Meta Tags to your shop. If you decide to install this, I suggest following my step by step guide (link in my signature below).

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Shana,

HTC does not have anything to do with your color styles. You can change the styles in your stylesheet but it looks like you are using the infobox templates. These can be modified by opening the infobox templates (located in your templates boxes folder) and changing the background color of the table cells.

 

HTC will give you Search Engine Meta Tags to your shop. If you decide to install this, I suggest following my step by step guide (link in my signature below).

 

Hey thanks for the reply! :D

I changed the colors in the Stylesheet and that worked. Now to just figure out what everything is in the stylesheet...lol

Edited by shana.jk
Link to comment
Share on other sites

Im also trying to add a Flash button at the top... I cant get it to show up... is there any special way of inputting flash?

 

Right now this is how i have it....

<!--url's used in the movie-->
<a href="index.php?cPath=23"></a>
<a href="index.php?cPath=22"></a>
<a href="index.php?cPath=21"></a>
<a href="index.php?cPath=3"></a>
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="538" height="34" id="LinkBar" align="left">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="LinkBar.swf" /><param name="quality" value="high" /><param name="salign" value="lt" /><param name="bgcolor" value="#602220" /><embed src="/image/LinkBar.swf" quality="high" salign="lt" bgcolor="#602220" width="538" height="34" name="LinkBar" align="left" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

its not giving an error... its just like its not there at all.

 

Can anyone help me with this... I have searched the forum for Flash and found lots of posts. None of them fix my issue.

Edited by shana.jk
Link to comment
Share on other sites

I have now found out how to insert a login and logoff button and put them onto my site.

 

But, I am still stuck as to what I need to name the infobox that contains the main content ($content)?

 

I have made templates for the other infoboxes and they look fine but I am still not sure what I need to name toe infobox for that template to work? Again, I have tried all the names I can think but to no avil so really do need some help to finish it off?

 

Does anybody know?

Link to comment
Share on other sites

Hello all,

 

having similar problem as Sugoicath, with basically not getting the pop up to work when clicking 'click to enlarge'

 

Have only adjusted the main template which has <!--$headcontent--> and <html $htmlparams>, I did not change anything to any other page,

but cannot find out why the pop up is not working.

 

Trying to search this forum, but it seems i am spending more time trying to find info in this thread than actually building the shop ;)

 

A push in the right direction sooooooooo much appreciated :'(

Hey So de Bo,

 

I managed to fix my popups! I had installed the "Basic Design Pack 2.2" module and it turns out their was a problem with the header.php file. I overwrote the header.php file with a copy of the original OsCommerce header.php file and problem solved! Not sure if you have installed this contribution...but thought I would share my experiences as it has been driving me crazy!

 

Cheers,

 

Sugoicath

Link to comment
Share on other sites

Hello,

 

I'm trying to design a template to use for my online store but I am having trouble doing something that I think should be simple. I cannot get the "Categories" text to change. I have applied a stylesheet class in my template as well as <font color="#ffffff> around the $categorybox parameter. I can't figure out where to get rid of the "corner_left.gif" image or anything like that. Were do I find the file that needs to be edited to make such changes?

 

Link to my store: http://www.customwheelsexpress.com/store/

I'm trying to get it to resemble the main site (http://www.customwheelsexpress.com) while incorporating the oscommerce software.

 

Thanks,

Blaine

Link to comment
Share on other sites

Im also trying to add a Flash button at the top... I cant get it to show up... is there any special way of inputting flash?

 

Right now this is how i have it....

<!--url's used in the movie-->
<a href="index.php?cPath=23"></a>
<a href="index.php?cPath=22"></a>
<a href="index.php?cPath=21"></a>
<a href="index.php?cPath=3"></a>
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="538" height="34" id="LinkBar" align="left">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="LinkBar.swf" /><param name="quality" value="high" /><param name="salign" value="lt" /><param name="bgcolor" value="#602220" /><embed src="/image/LinkBar.swf" quality="high" salign="lt" bgcolor="#602220" width="538" height="34" name="LinkBar" align="left" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

 

its not giving an error... its just like its not there at all.

 

This is not an STS issue but I posted a comment about this in the following link:

http://www.oscommerce.com/forums/index.php?showtopic=271179

 

Hope you find it useful,

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Hello,

 

I'm trying to design a template to use for my online store but I am having trouble doing something that I think should be simple. I cannot get the "Categories" text to change. I have applied a stylesheet class in my template as well as <font color="#ffffff> around the $categorybox parameter. I can't figure out where to get rid of the "corner_left.gif" image or anything like that. Were do I find the file that needs to be edited to make such changes?

 

Link to my store: http://www.customwheelsexpress.com/store/

I'm trying to get it to resemble the main site (http://www.customwheelsexpress.com) while incorporating the oscommerce software.

 

Thanks,

Blaine

 

Blaine,

 

There are several ways of doing this. If you are using infobox templates in STS, the $headertext tag pulls in the box heading define. You could simply remove the tag and then add your own heading, or even an image for that matter or create an infobox header template and leave the cell empty so that it does not pull in the colored bar and text.

 

As always, you could even do it the way other non-sts shops do. Your choice.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Hey So de Bo,

 

I managed to fix my popups! I had installed the "Basic Design Pack 2.2" module and it turns out their was a problem with the header.php file. I overwrote the header.php file with a copy of the original OsCommerce header.php file and problem solved! Not sure if you have installed this contribution...but thought I would share my experiences as it has been driving me crazy!

 

Cheers,

 

Sugoicath

 

This is exactly what I meant on how other contributions can effect the core behavior of osCommerce.

:thumbsup: I'm glad you were able to find the problem and see that it was not due to STS.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

I have now found out how to insert a login and logoff button and put them onto my site.

 

But, I am still stuck as to what I need to name the infobox that contains the main content ($content)?

 

I have made templates for the other infoboxes and they look fine but I am still not sure what I need to name toe infobox for that template to work? Again, I have tried all the names I can think but to no avil so really do need some help to finish it off?

 

Does anybody know?

 

Gareth,

I think you are confusing the main content with an infobox.

 

The main content is not an infobox and can not be templated using the infobox templates. In this case, you would need to create a "content" template for that specific page. This is not an easy task if you are not handy with PHP. Look in the STS User Manual for details on how to create a content template.

 

Currently, the only content templates that STS has available "out of the box" is the content for the product_info.php page. To use it, you need to enable the STS Product Info Module in the admin.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Thanks again for the reply bill.

 

I will try to work on the main content as I did believe that it worked the same as a infobox, but never mid we all learn!

 

But in the mean time surprise surprise I have another problem!

 

I am working on a template using css and a set width at 780px. Now I have set my images to display in rows or two so that there is more room for the infoboxes. Now, when I test a 2 or 3 column css template and view it in firefox and internet explorer then things view fine and as I want them to display. However, when I enable the templates for infoboxes if I view them in firefox things look ok, but viewed in internet explorer it seems that the main content is too big and displays lower than the lowest end of my template and when I switch off infobox templates things go back to as they should.

 

Does anybody kow what I am doing wrong and how to fix things?

Link to comment
Share on other sites

This is exactly what I meant on how other contributions can effect the core behavior of osCommerce.

:thumbsup: I'm glad you were able to find the problem and see that it was not due to STS.

Yep! You're absolutely right. :thumbsup: The basic design pack contribution was not only affecting my pop-ups but also the ability for the Product Tabs contribution to work as well. Thanks for all of your help. I'm lovin' STS!

 

Cheers,

 

Catherine

Link to comment
Share on other sites

Not sure why this is happening but this is my issue.

 

When you visit my site via www.customwheelsexpress.com/store it redirects the url and takes out the www. leaving you with http://customwheelsexpress.com.

From there anything you click on will take it back to a www.customwhee......... etc.

 

But when you visit my site via www.customwheelsexpress.com/store/ (notice the / at the end of the url) it doesn't take out the www. in the url.

 

Not sure why it only redirect the index.php page only to not having www. in the url. I have asked a few other people but nobody can figure it out. Any help would be appreciated.

 

Thanks,

Blaine

Link to comment
Share on other sites

Not sure why this is happening but this is my issue.

 

When you visit my site via www.customwheelsexpress.com/store it redirects the url and takes out the www. leaving you with http://customwheelsexpress.com.

From there anything you click on will take it back to a www.customwhee......... etc.

 

But when you visit my site via www.customwheelsexpress.com/store/ (notice the / at the end of the url) it doesn't take out the www. in the url.

 

Not sure why it only redirect the index.php page only to not having www. in the url. I have asked a few other people but nobody can figure it out. Any help would be appreciated.

 

Thanks,

Blaine

This is not an STS issue but more likely how your catalog path is configured in the configure.php file(s).

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Thanks again for the reply bill.

 

I will try to work on the main content as I did believe that it worked the same as a infobox, but never mid we all learn!

 

But in the mean time surprise surprise I have another problem!

 

I am working on a template using css and a set width at 780px. Now I have set my images to display in rows or two so that there is more room for the infoboxes. Now, when I test a 2 or 3 column css template and view it in firefox and internet explorer then things view fine and as I want them to display. However, when I enable the templates for infoboxes if I view them in firefox things look ok, but viewed in internet explorer it seems that the main content is too big and displays lower than the lowest end of my template and when I switch off infobox templates things go back to as they should.

 

Does anybody kow what I am doing wrong and how to fix things?

Gareth, osC tables could be confused by your CSS template. One thing to look for is maybe you need to clear a float on your divs in your CSS template. Just a quess.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

I have tried looking at the float to see whats causing the problem but the main content does not have a float.

 

It seems no matter what design I do as soon as I turn on infobox templates the whole of the main content appears lower than the footer when displayed in internet explorer only, when viewed in firefox it appears normal and level with the categories menu as it should.

 

Every design I have used css and have used a fixed width with one left side bar, a fixed width with a left and right side bar and even if I use a liquid layout so that it expands to fill the screen the main content always appears lower than the main content when infobox templates are turned on!

 

I am at a loss as to what to do to make things appear correct in internet explorer and have even thought about designing the whole site using tables, but I keep reading that tables are now outdated and to stick to css?!

 

Has anyone got any ideas as to whats going wrong? I have pasted the css code below for a fixed width with one left had side bar:

 

@charset "utf-8";

body {

font: 90% Verdana, Arial, Helvetica, sans-serif;

background: #666666;

margin: 0;

padding: 0;

text-align: center;

color: #000000;

}

.thrColFixHdr #container {

width: 780px;

background: #FFFFFF;

margin: 0 auto;

text-align: left;

}

.thrColFixHdr #header {

background:url(images/header3.jpg);

background-repeat:no-repeat;

height:130px;

padding: 0 10px 0 20px;

}

.thrColFixHdr #header h1 {

margin: 0;

padding: 10px 0;

}

.thrColFixHdr #sidebar1 {

float: left;

width: 130px;

background: #ffffff;

padding: 15px 10px 15px 20px;

}

.thrColFixHdr #sidebar2 {

float: right;

width: 130px;

background: #ffffff;

padding: 15px 10px 15px 20px;

}

.thrColFixHdr #mainContent {

margin: 0 180px;

padding: 0 10px;

}

.thrColFixHdr #footer {

padding: 0 10px 0 20px;

background:#DDDDDD;

}

.thrColFixHdr #footer p {

margin: 0;

padding: 10px 0;

}

Link to comment
Share on other sites

Please disregard the above post as I have now found the answer.

 

I added the 'width' tag on the style sheet and things are looking and working great and the infobox templates work great too. The only problem is when I use a fixed width 3 column css template then after I specify the width the image items are ok but when I go to log in the same problem as before occurs, but at least I now know where the problem lies.

 

What I would like to ask is how am I able to insert a small image before each category in the category infobox. I have seen other oscommerce sites that have that as well as a dotted line between each category but I have no idea how to do that, can someone enlighten me at all?

 

Thanks for the help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...