Jump to content



Latest News: (loading..)

* * * * - 1 votes

Basics for Design V2.3+


  • Please log in to reply
132 replies to this topic

#121   hoverdave

hoverdave
  • Members
  • 84 posts
  • Real Name:David
  • Gender:Male
  • Location:Indiana

Posted 02 March 2013 - 04:29 AM

Thanks, that does work but it puts the right column underneath the site. Everything ends up being a mess.

#122   14steve14

14steve14

    STORE OWNER NOT CODER

  • Members
  • 3,113 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

Posted 02 March 2013 - 07:42 AM

View Posthoverdave, on 02 March 2013 - 04:29 AM, said:

Thanks, that does work but it puts the right column underneath the site. Everything ends up being a mess.

Does everything still add up to 24.

I have on my siteand this works

class oscTemplate {
    var $_title;
    var $_blocks = array();
    var $_grid_container_width = 24;
    var $_grid_content_width = 14;
    var $_grid_column_width = 5;

The column width there are two of  so 14+5+5=24
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.  

OSC has a steep learning curve, but in general the program does work.  If it doesnt work, the chances are it is something you have done.

#123 ONLINE   dhooper

dhooper
  • Members
  • 68 posts
  • Real Name:Diana Hooper
  • Gender:Female
  • Location:Logsden, OR

Posted 08 May 2013 - 10:20 PM

Someone recommended asking my question here (I've asked it before in a different area)...

I want to make a ui button that will link to an external site.  So far, I have:

<?php echo tep_draw_button(IMAGE_BUTTON_SHOW); ?>

The button shows up on the page, but I don't know how to make the link.  Does someone know how to do this?

Just so you know, I was only able to figure out how to make the button by editing one from a contribution; but it, of course, points to a file within the catalog.

----

Edit

I can't delete the post, but I wanted to let you know that I received my answer.  Here is how to make the button to link to an external site:

<?php echo tep_draw_button('Visit Yahoo', 'extlink', 'http://www.yahoo.com', NULL, array('newwindow' => true)); ?>

Edited by dhooper, 08 May 2013 - 10:29 PM.

Diana

#124   gcextreme

gcextreme
  • Community Sponsor
  • 104 posts
  • Real Name:Glenn Cox

Posted 12 May 2013 - 03:48 PM

Hello, my name is Glenn, i am a web designer/developer, i specialize in coldfusion, but im learning PHP.
I went to college for e-commerce and design. Sorry if this sounds like a resume, i just want to inform you guys of my background.
I use the following: Dreamweaver, Flash, Fireworks, Photoshop, Illustrator, Encore, etc.

Anyway, i recently got into the Vinyl Graphics business, i bought a cutter and have been designing and cutting decals and signs, etc.
I don't do this full time, yet. After i got out of college in 2004, the economy sucked, and i got a job doing something else i like to do, building and working on stuff, i build and work on automated packaging machines that get shipped out all over the world.
In my spare time ive been working on websites for local companies and organizations, and doing vinyl work for them.

Anyway, i want to expand my web design and vinyl graphics business, so i started up with this osCommerce cart, to sell stuff online.

I need some major help with tweaking my design and layout.

Ive read through this thread and others, and even worked a bit with the ThemeSwitcher addon.

Things i need help with, simple stuff that i must be overlooking on how to do:
You can view my setup here:
http://www.gcextreme.com/catalog/

1. Change the light blue table/outline around everything.
I already worked a bit with changing the blue buttons to a grey, but i want a Black/Red/White/Yellow setup.

2. Store Logo and top 3 buttons, i want change the layout. Right now my logo is to the left, and is tall, making the 3 buttons (Cart, Checkout, My Account) stay at the top leaving dead space below it.
I want to have those buttons on the bottom, at the top of the horizontal bar, and then expand my logo for the full width of the top area, if this is possible.

3. I want to add more info pages, like an About Us Page, etc...

Thanks for the help

#125   toyicebear

toyicebear
  • Community Sponsor
  • 6,099 posts
  • Real Name:Nick
  • Gender:Male
  • Location:World Citizen

Posted 13 May 2013 - 01:00 AM

1. go to http://jqueryui.com/themeroller/ , edit a theme to your liking , then download it and add it to your shop.

2. edit includes/header.php

3. install and info page add-on or download the Add new page tutorial add-on.

#126   Comesticage

Comesticage
  • Members
  • 43 posts
  • Real Name:Eugene Gan

Posted 27 May 2013 - 05:38 PM

Hi,

My site is www.oxytarm-ap.com

I was wondering how do i change the shopping cart, my account, checkout buttons.. to those beautiful images that are found on many ecommerce sites?

Regards,

#127   toyicebear

toyicebear
  • Community Sponsor
  • 6,099 posts
  • Real Name:Nick
  • Gender:Male
  • Location:World Citizen

Posted 27 May 2013 - 10:56 PM

You can change those by editing the includes/header.php file.

Edited by toyicebear, 27 May 2013 - 10:56 PM.


#128   Comesticage

Comesticage
  • Members
  • 43 posts
  • Real Name:Eugene Gan

Posted 28 May 2013 - 02:36 AM

@toyicebear

Any tips where to find such nice images of the shopping cart, my account, checkout button?

TIA!

#129   toyicebear

toyicebear
  • Community Sponsor
  • 6,099 posts
  • Real Name:Nick
  • Gender:Male
  • Location:World Citizen

Posted 28 May 2013 - 02:51 AM

click me>>

#130   Comesticage

Comesticage
  • Members
  • 43 posts
  • Real Name:Eugene Gan

Posted 28 May 2013 - 06:02 AM

<?php
	 echo tep_draw_button(HEADER_TITLE_CART_CONTENTS . ($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : ''), 'cart', tep_href_link(FILENAME_SHOPPING_CART)) .
	   tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) .
	   tep_draw_button(HEADER_TITLE_MY_ACCOUNT, 'person', tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
	 if (tep_session_is_registered('customer_id')) {
	echo tep_draw_button(HEADER_TITLE_LOGOFF, null, tep_href_link(FILENAME_LOGOFF, '', 'SSL'));
	 }
   ?>

Hi, do you mean the above?

How do you change it to image? for eg. my images are "cart.jpg", "myaccount.jpg" and "checkout.jpg"

Regards,

#131   toyicebear

toyicebear
  • Community Sponsor
  • 6,099 posts
  • Real Name:Nick
  • Gender:Male
  • Location:World Citizen

Posted 28 May 2013 - 09:07 AM

example....

Quote

<?php echo '<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'cart.jpg', HEADER_TITLE_CART_CONTENTS) . '</a>'; ?>


#132   Comesticage

Comesticage
  • Members
  • 43 posts
  • Real Name:Eugene Gan

Posted 28 May 2013 - 04:43 PM

@toyicebear

do you happen to have a full page of coding for the header

- for change of default buttons to such images?

TIA

#133   toyicebear

toyicebear
  • Community Sponsor
  • 6,099 posts
  • Real Name:Nick
  • Gender:Male
  • Location:World Citizen

Posted 28 May 2013 - 10:53 PM

use the code example i have given for adding images as link in the header, in addition you will have to adjust the html code/css in the header/site to get the placement you want.