Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Guest

[Contribution] STS v4

Recommended Posts

php links with SID for java script

 

hi

I'm using a script http://javascriptkit.com/script/script2/triplecombo.shtml

the problem is that i didn't manage to enter a php link to the script (in the place a link should be in this script)

a placeholder is not working,

maybe you know what should i do to make the link with sid work?

I'll appreciate your help

 

if my English is not clear please tell me :blush:

Share this post


Link to post
Share on other sites
Quick STS and HTC question

 

But first: Thank you. Especially you Bill, who convinced me to go this STS road. It's been a lot easier than playing with .php code.

 

To the question: Hello All,

 

I have STSv4.5 and I'd like to add HTC. What is the best way of doing this:

 

A: Uninstalling STS and then installing the bundle?

 

--OR--

 

B: Adding HTC?

 

If you say B, what is the best way of doing this? Are there particular instructions for STS users to add HTC?

 

Thank you in advance!

 

Best,

 

Chris

Chris, follow the link in my signature below (How to install HTC with STS). It is a step by step guide to manually install the Header Tag Controller contribution along side STSv4.x.

 

Hope this helped you out,


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites

in STS, is there a way to give each category name a background image?

 

 

ex. say i have " womens, mens, shoes, clothes.. etc..

 

 

is there a way to have a specific graphic for each one? b/c it only has $catalog so how do i separate the graphics for each category?

Share this post


Link to post
Share on other sites
in STS, is there a way to give each category name a background image?

 

 

ex. say i have " womens, mens, shoes, clothes.. etc..

 

 

is there a way to have a specific graphic for each one? b/c it only has $catalog so how do i separate the graphics for each category?

You have a couple of options here.

My first choice would be to install a contribution called "Category Box Images". This will allow you several different scenarios such as image only or image along with category text inside your category box.

You can find this contribution here:

 

http://www.oscommerce.com/community/contributions,2387

 

The second option may be more difficult for you, this will depend how good you are at creating stylesheets. You could do what you want by creating a stylesheet class for each of the categories that you want to have a background image. You would need to modify the stylesheet.css and categories.php files within your osCommerce shop.

 

Hope this helped,


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites

yeah it will help alot, im pretty good w/ the css its the php i got probs with , but illl look into the contribution

 

 

another question... modifying and positioning the search box, i have re placed it in top right corner, but how do i move down the text "Quick Search" im at search.php and english.php but dont see what modifies that, do you know?

Share this post


Link to post
Share on other sites

hey bkellum,

 

 

i was wanting use the background image as my button, so maybe i should do it the difficult way b/c the contribution just takes the images from the category selection and places it beside it, correct?

Share this post


Link to post
Share on other sites
hey bkellum,

 

 

i was wanting use the background image as my button, so maybe i should do it the difficult way b/c the contribution just takes the images from the category selection and places it beside it, correct?

No, take a look at the contribution install files as it explains all of the different options. You can have an image only (button if you wish) for the category selection in the box. I will send you a PM with a link to a test site displaying this contribution in action.


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites
hey bkellum,

 

 

i was wanting use the background image as my button, so maybe i should do it the difficult way b/c the contribution just takes the images from the category selection and places it beside it, correct?

 

Also, you can create your buttons and put them wherever you want in your template and just link to each category. This of course will take the "dynamic" effect away but it would give you more control over your design.

Here is the link that you would need for each category button that you create:

 

<a href="<?php echo tep_href_link('index.php', 'cPath=21&', 'NONSSL'); ?>">Category Name Here</a>

Substitute cpath=21 for the exact category that you are linking to. This code would create a text link so you need to modify it somewhat using the img source tag such as:

<a href="<?php echo tep_href_link('index.php', 'cPath=21&', 'NONSSL'); ?>"><img src="images/mybutton.jpg">


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites
Chris, follow the link in my signature below (How to install HTC with STS). It is a step by step guide to manually install the Header Tag Controller contribution along side STSv4.x.

 

Hope this helped you out,

 

This definitely did. I'd be glad to send you one my geekfitters.com shirts to say thanks. Another quick question:

 

I have header tags coded into my template. Should I delete those?

 

Best,

 

Chris

Share this post


Link to post
Share on other sites

how do you go about customizing the category box alone?

 

 

is that just w/ <tr class="categorymenu">$category</div>?

 

 

and where are all the styles used in the provided stylesheet? are the classes used inside the php files?

Share this post


Link to post
Share on other sites

another question not seen throughout this thread, sure its an obvious answer for most but how do i add like a link to "whats new" or "specials" page in my navigation menu? thanks

Share this post


Link to post
Share on other sites
This definitely did. I'd be glad to send you one my geekfitters.com shirts to say thanks. Another quick question:

 

I have header tags coded into my template. Should I delete those?

 

Best,

 

Chris

If by template you mean the stock osCommerce PHP script pages in the catalog area such as index.php, then YES, you should delete any HTC references. You will need to have the <!--$headcontent--> tag in your STS Template pages in order for the HTC code to be automatically generated for you.

Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites
Guest

While im sure Im probally missing something, I have got STS up and running for the most part. My problems are as follows:

 

1. Added a product in fine given it a price of £19.99 however when I go to browse the catalogue it shows a price of 0, if this is not to do with STS then fine

2. When I click to go into product info I get the default template and not my customised one, I have made sure all the templates in the Full folder look the same so Im not sure where it is pulling this from.

 

Please help me to know where it has gone wrong

 

Thanks

 

Kimbie

Share this post


Link to post
Share on other sites
While im sure Im probally missing something, I have got STS up and running for the most part. My problems are as follows:

 

1. Added a product in fine given it a price of £19.99 however when I go to browse the catalogue it shows a price of 0, if this is not to do with STS then fine

2. When I click to go into product info I get the default template and not my customised one, I have made sure all the templates in the Full folder look the same so Im not sure where it is pulling this from.

 

Please help me to know where it has gone wrong

 

Thanks

 

Kimbie

Kimbie,

The price issue has nothing to do with STS but the fix may be found here:

http://svn.oscommerce.com/fisheye/changelo...mmerce/?cs=1585

 

Change your template folder to "test" to make sure you have STS installed correctly. If this solves the problem, then you have a template in the "full" folder that is causing the issue.

If after changing the template folder to "test" you still have the same issue, then it appears one of the following may be the case:

  • you may have upgraded from an earlier version of STS and have listed product_info.php as a script to be bypassed.
  • You may have messed up on your STS installation. Do a file compare with your osC files and the files that came with the STS contribution
  • You misconfigured your STS Modules. Check the install instructions on how to configure the modules in the admin.

Hope this has helped,


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites
If by template you mean the stock osCommerce PHP script pages in the catalog area such as index.php, then YES, you should delete any HTC references. You will need to have the <!--$headcontent--> tag in your STS Template pages in order for the HTC code to be automatically generated for you.

 

Thanks Bill, I will take out the code from the stock osCommerce PHP script pages. I have a simple setup, only one STS template -- I've coded header tags into it. So should I replace those tags with the <!--$headcontent--> tag or add the <!--$headcontent--> tag? Also, does it matter where i put the <!--$headcontent--> tag?

 

Thanks again Bill.

 

Best,

 

Chris

Share this post


Link to post
Share on other sites

to link css for a include in my sts_template.html " footer.php.html do i just add that in the index.php.html file? or sts_template.html?

 

and when creating a footer include

 

 

i do use the php tags, correct or can it be html only?

Edited by kade119

Share this post


Link to post
Share on other sites

Hi

 

I have a fresh install and no other mods except for STSv4.5.2 and HTCv2.6.3 Bundle.

 

The little icon in the top right hand corner 'what's new here' shows on the meain page but when I visit a category, it does not show?

 

 

I would like it to show or a way to get rid of it.

 

http://barakajewellery.com.au/ - I am just starting....

 

Can anyone help?

 

Thanks

Share this post


Link to post
Share on other sites
Hi

 

I have a fresh install and no other mods except for STSv4.5.2 and HTCv2.6.3 Bundle.

 

The little icon in the top right hand corner 'what's new here' shows on the meain page but when I visit a category, it does not show?

 

 

I would like it to show or a way to get rid of it.

 

http://barakajewellery.com.au/ - I am just starting....

 

Can anyone help?

 

Thanks

Sam, this is not a STS related question. These types of questions should be placed in the specific forum thread to keep the other threads from getting cluttered.

 

Here is the answer to your image icon:

To remove the default images, you could use a contribution located here:

http://www.oscommerce.com/community/contributions,2034

 

To manually remove the category images, you could overwrite the "table_*.gif" files in the image directory with pixal_trans.gif files or remove them completely.

 

If you remove them completely, you will need to configure the admin setting to get rid of the red x that will take its place. Do the following:

 

admin>

configuration>

images>

"Images Required"> set to false

 

-or-

You could just comment out the reference to the category image in the index.php file.

 

The STS User Manual includes a tip on how to change the "Let's See What We Have Here" page heading with the actual category name.

 

Hope this helped,


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites
Hi

 

I have a fresh install and no other mods except for STSv4.5.2 and HTCv2.6.3 Bundle.

 

The little icon in the top right hand corner 'what's new here' shows on the meain page but when I visit a category, it does not show?

I would like it to show or a way to get rid of it.

 

http://barakajewellery.com.au/ - I am just starting....

 

Can anyone help?

 

Thanks

Edited by kade119

Share this post


Link to post
Share on other sites
Sam, this is not a STS related question. These types of questions should be placed in the specific forum thread to keep the other threads from getting cluttered.

 

.....

 

Hope this helped,

 

Thanks Bill for your detailed answer and my sincere apologies for posting in the wrong thread.

 

Take care!!!

Share this post


Link to post
Share on other sites

where to go to customize the "quick find" search box .... i know u can use html/css to relocate it and customize the text color... but what about adjusting the line height .. i want to make Quick Find closer to the searchbox.. pls anyone know how to do this?

Share this post


Link to post
Share on other sites

for creating a new page... "an about us page" with the columns on left and right still, is the contribution "new page" a good route to go , bill?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×