Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 01-18-2004 18:27:22

ken_magic
Member
Registered: 01-18-2004
Posts: 10

Site Html Layout


Now that i have got this thing running.  I wanna change the look of my cart.  I dont just want it to be a shopping cart website so i have been playing around with the site html layout and up till now have made a complete mess of it!

Anyways i just want to build a portal. i.e. table with a row/column at the top where i can put my logo and a menu in the left where i can add links too using dreamweaver etc. and in the middle is where i want the cart to appear! 

i would really like to see what other people have done with their shopping cart and how they have changed the layout ! just so that i can get some sort of idea of how much i can potentially change; the look of my cart and integrate it with a portal of some sort.

i am not very skilled at programming or anything.. i know dreamweavr and the basics but i dont mind getting my hands dirty..

any advice on anything ? 

please ....

i know scoutch owes me a reply !!   

Offline

 

#2 01-18-2004 18:40:36

Todd
Member
From: Kitty Hawk, NC
Registered: 04-01-2003
Posts: 553
Website

Re: Site Html Layout

Basically you can design a site anyway you want, and drop the CCP element tags in where you want CCP items to show up. That is a very basic explaination, but I would look at the ste_layout.txt file, found in the data/elements folder, that is the file that basically controls the whole look of the site. I have also included some many, if not all, of the most common CCP tags that you can use in your skin.


Code:




<!-- ############################################# -->
<!-- # Common CCP Tags                           # -->
<!-- ############################################# -->


** Notice the directory these things are stored. Your site graphics can be put into this folder. If you want to change your title, button or store graphics you get those from the www/ccp5/media/images/ directory and you will see them those folders. If you keep those same sizes and just change the look CCP will automatically include them into your store as it is set to "pull" those files already.


Image Tag (gif or jpg): <IMG SRC="(CGIVAR)images_path(/CGIVAR)/site/graphic_name.gif  WIDTH="xxx" HEIGHT="xx" BORDER="x">


Small Font: <FONT FACE="(CGIVAR)html_small_font_face(/CGIVAR)" SIZE="(CGIVAR)html_small_font_size(/CGIVAR)" COLOR="(CGIVAR)html_small_font_color(/CGIVAR)">


Base Font for your Site : <FONT FACE="(CGIVAR)html_base_font_face(/CGIVAR)" SIZE="(CGIVAR)html_base_font_size(/CGIVAR)" COLOR="(CGIVAR)html_base_font_color(/CGIVAR)">



<!-- ############################################# -->
<!-- # Common CCP Links                          # -->
<!-- ############################################# -->

<TITLE>(CGIVAR)html_title_bar_text(/CGIVAR)</TITLE>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=splash">home</A>
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=store">online store</A>
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=cart">shopping cart</A>
<A HREF="(CGIVAR)common_url_checkout(/CGIVAR)">checkout</A>
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=contact">contact us</A>
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=form&ref=ste_form_feedback">customer feedback</A>
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=maillist">mail list</A>
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=storepolicies">store policies</A>
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=termsofuse">terms of use</A>
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=privacy">privacy statement</A>
<A HREF="(CGIVAR)common_url_custacct(/CGIVAR)">customer accounts</A>

<A HREF="(CGIVAR)common_url_affacct(/CGIVAR)">affiliate area</A>
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=track">order tracking</A>
<!-- ############################################# -->
<!-- # End Common CCP Links                      # -->
<!-- ############################################# -->





<!-- ############################################# -->
<!-- # Body Tag Insertion                        # -->
<!-- ############################################# -->

(CGIGET TYPE="SUB" VALUE="ste_exec_bodytag")

<!-- ############################################# -->
<!-- # End Body Tag Insertion                    # -->
<!-- ############################################# -->




<!-- ############################################# -->
<!-- # Center Tag Insertion - Top                # -->
<!-- ############################################# -->

(CGIGET TYPE="SUB" VALUE="ste_exec_centertag" PARAMS="1")

<!-- ############################################# -->
<!-- # End Center Tag Insertion - Top            # -->
<!-- ############################################# -->





<!-- ############################################# -->
<!-- # Banner Ad Insertion - Top                 # -->
<!-- ############################################# -->

(CGIGET TYPE="SUB" VALUE="ste_exec_banner" PARAMS="1")

<!-- ############################################# -->
<!-- # End Banner Ad Insertion - Top             # -->
<!-- ############################################# -->



<!-- ############################################# -->
<!-- # Page Title Insertion                      # -->
<!-- ############################################# -->

(CGIGET TYPE="SUB" VALUE="ste_exec_pgtitle")<br>

<!-- ############################################# -->
<!-- # End Page Title Insertion                  # -->
<!-- ############################################# -->



<!-- ############################################# -->
<!-- # Message Insertion                         # -->
<!-- ############################################# -->

(CGIGET TYPE="SUB" VALUE="ste_exec_message")<br>

<!-- ############################################# -->
<!-- # End Message Insertion                     # -->
<!-- ############################################# -->



<!-- ############################################# -->
<!-- # Content Section                           # -->
<!-- ############################################# -->

(CGIGET TYPE="SUB" VALUE="ste_exec_element" PARAMS="(CGIVAR)element_id(/CGIVAR)")<br>

<!-- ############################################# -->
<!-- # End Content Section                       # -->
<!-- ############################################# -->





<!-- ############################################# -->
<!-- # Category Insert Display                   # -->
<!-- ############################################# -->

(CGIGET TYPE="SUB" VALUE="ste_cat_list")

<!-- ############################################# -->
<!-- # End Category Insert Display               # -->
<!-- ############################################# -->




<!-- ############################################# -->
<!-- # Info Insert Display                       # -->
<!-- ############################################# -->
<A HREF="(CGIVAR)common_url_custacct(/CGIVAR)">customer accounts</A><BR><BR>

<A HREF="(CGIVAR)common_url_affacct(/CGIVAR)">affiliate area</A><BR><BR>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=contact">contact us</A><br><br>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=form&ref=ste_form_feedback">customer feedback</A><br><br>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=maillist">mail list</A><br><br>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=storepolicies">store policies</A><br><br>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=termsofuse">terms of use</A><br><br>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=privacy">privacy statement</A><br><br>

<!-- ############################################# -->
<!-- # End Info Insert Display                   # -->
<!-- ############################################# -->



<!-- ############################################# -->
<!-- # Store Insert Display                      # -->
<!-- ############################################# -->
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=search">search</A><br>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=specials">specials</A><br>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=bestsell">best sellers</A><br>

<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=new">new items</A><br>
<!-- ############################################# -->
<!-- # End Store Insert Display                  # -->
<!-- ############################################# -->



<!-- ############################################# -->
<!-- # Copyright Insert Display                  # -->
<!-- ############################################# -->

(CGIVAR)copyright_year(/CGIVAR) (CGIVAR)site_owner_name(/CGIVAR)


<!-- ############################################# -->
<!-- # End Copyright Insert Display              # -->
<!-- ############################################# -->


<!-- ############################################# -->
<!-- # Banner Ad Insertion - Bottom              # -->
<!-- ############################################# -->

(CGIGET TYPE="SUB" VALUE="ste_exec_banner" PARAMS="2")

<!-- ############################################# -->
<!-- # End Banner Ad Insertion - Bottom          # -->
<!-- ############################################# -->






<!-- ############################################# -->
<!-- # Center Tag Insertion - Bottom             # -->
<!-- ############################################# -->

(CGIGET TYPE="SUB" VALUE="ste_exec_centertag" PARAMS="2")

<!-- ############################################# -->
<!-- # End Center Tag Insertion - Bottom         # -->
<!-- ############################################# -->



there's more than one way to...



Offline

 

#3 01-18-2004 19:04:23

ken_magic
Member
Registered: 01-18-2004
Posts: 10

Re: Site Html Layout

hey thanks ..

i will let you know how i get on  smile 

Offline

 

#4 01-18-2004 22:40:11

altmedic
Member
Registered: 11-07-2002
Posts: 346

Re: Site Html Layout

Create the web page design you want in Dreamweaver, leaving a content space where you want ccp51 to insert the various data.  Select the html and paste it into ste_layout.txt (delete or save what was there originally).  Use the code statements that Chris provided to make the functions you want, like Search, categories, etc.   smile 

Offline

 

#5 01-18-2004 22:52:40

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: Site Html Layout

Since (CGIVAR) variables are unfamiliar with any web page editor, I recommend using Notepad instead and edit from there what WayneK suggested.


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#6 01-19-2004 05:52:56

sayerp
Member
Registered: 01-03-2004
Posts: 39

Re: Site Html Layout

Editing using Dreamweaver is an easy way to customise.

I created a "layout template" in the CCP51 folders and a CSS file in the same directory.  This allowed me to use CSS for formatting of my page and also let me see the wysiwyg layout in DW.   

You can even use SITE relative filenames for images provided your site root is defined with HTDOCS, DOCS or WWW etc. as the directory.

Once you are happy with the page then add the CCP tags and save a copy as ste_layout.txt and upload in the ELEMENTS directory.

As the link to the CSS file is supposed to be in the same directory as the layout, I also uploaded the CSS file to the same location on the server as the cp-app.pl file.  This then ensures that the WYSIWYG formats are carried through to the store without changing any links.

The best bit about DW is that you can use it to alter all the form inputs and get some customised layouts.

- create a new page
- switch to code view
- cut all of the text & tags from within a CCP admin form
- paste the lot in between the <body></body> tags on the new page
- switch to mixed or wysiwyg format and design!!
- when complete simply copy the text from between the <body></body> tags
- paste into the CCP admin form

You can even save the page for future editing reference!

Have fun !  smile

Offline

 

#7 01-19-2004 08:21:46

TerryA
Member
From: Sanford, Fl
Registered: 07-14-2003
Posts: 1322
Website

Re: Site Html Layout

EagleWolf,01/18/2004 06:40:36 PM wrote:

I have also included some many, if not all, of the most common CCP tags that you can use in your skin.

Chris, Thanks for the list of  tags!  This will be a great help for everyone. 

Nick, how about making this sticky?

Offline

 

#8 01-27-2004 10:33:44

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Site Html Layout

Sure - it's sticky now.


Nick Hendler

Offline

 

#9 01-29-2004 22:55:29

buehlerfam
Member
Registered: 05-15-2003
Posts: 27

Re: Site Html Layout

Where was this post way back in CCP 5.0? I got to fish around hundreds of posts to figure it all out.

I'm jealous. LOL

Scott

Offline

 

#10 02-20-2004 21:03:31

wildwebwest
Member
From: Grangeville, Idaho USA
Registered: 09-11-2003
Posts: 19
Website

Re: Site Html Layout

Here are a couple of customized ccp5 and ccp51 that I've done.

Still under construction but close to done:




this one is still under construction too:




Mary Mangold
Wild Web West

Offline

 

#11 03-03-2004 17:51:50

joolz
Member
Registered: 03-03-2004
Posts: 4

Re: Site Html Layout

  sad I have a finished site that i'm changing the cart on. I produced the site in Adobel GoLive 6.  Currently i'm using cartsupport.com and it is very easy to use (just very expensive). You plug in the product info and it generates code to drop into your html.  I don't want to change the look of my site but don't know where to start.  I try to read the manual and find myself falling asleep quickly.  I am not a stupid person, but this is starting to make me feel that way. 

the site i'm using it on is

If I can get this to work on this site i'll use it on all my other sites.

Any help would be greatly appreciated.

Offline

 

#12 03-03-2004 18:15:34

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: Site Html Layout

With CCP, you can easily integrate your layout into CCP's layout. All you need to do is to keep the software's command function and combine them into your design. It, surely, doesn't take two mins to do this but it's quite a great programming experience. smile


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#13 03-03-2004 19:34:01

altmedic
Member
Registered: 11-07-2002
Posts: 346

Re: Site Html Layout

In CCP51 you create the look of the site this way:

Sign into your admin area, click on HTML Pages & Elements|Manage Site Elements|update site layout.  This contains the default HTML of the cart when you start.  Next, go to Adobe GoLive and copy the HTML code of your page layout.  Switch to admin, put the cursor in the "update site layout" area, select all, then paste what you copied, and submit.  Now you have the HTML code of your page in CCP51 and all pages it creates will look like your template.

Alternately, you can download the file ste_layout.txt from ccp51 and paste your HTML into it; then upload it.

You must leave space in your page layout for the content that ccp51 will insert.  This space is set at 600px as a default, I think.  In this space, (typically a table), paste this code:

(CGIGET TYPE="SUB" VALUE="ste_exec_message")
(CGIGET TYPE="SUB" VALUE="ste_exec_element" PARAMS="(CGIVAR)element_id(/CGIVAR)")

This code is what drives ccp51 to insert the data.

This is most of it.  You may need to add some code for search, and for categories you may have on your layout.   smile

Offline

 

#14 03-03-2004 21:29:10

joolz
Member
Registered: 03-03-2004
Posts: 4

Re: Site Html Layout

Thanks Altmedic.  I'll give that a shot.    :-) 

Offline

 

#15 03-04-2004 10:58:52

joolz
Member
Registered: 03-03-2004
Posts: 4

Re: Site Html Layout

Right now I have a minimum of 10 products per page. Will it allow me to continue this way. I don't use thumbnails, only photoshop 7 compressed for web images like this:



I am getting ready to paste the html code leaving space for the ccp51 content.  Will automatically adjust the page size or ?

Thanks for your help.

Offline

 

#16 03-04-2004 11:01:05

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: Site Html Layout

The size depends of your Global settings -- > HTML settings in your admin section. You must ajust the tables from there in order to make your presentation to appear correctly.


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#17 01-06-2005 06:15:52

myfunkyshop
Member
From: I Live In The Computer
Registered: 12-28-2004
Posts: 152
Website

Re: Site Html Layout

Hi there,

I am having a problem with the width of my website...  and don't know which part to edit....

I posted here -

I hope some one can help

From


Miss George Clooney



Offline

 

#18 01-06-2005 06:16:43

myfunkyshop
Member
From: I Live In The Computer
Registered: 12-28-2004
Posts: 152
Website

Re: Site Html Layout

Hi there,

Sorry post came up twice

From


Miss George Clooney



Offline

 

#19 02-15-2005 11:35:43

kidsandco
Member
Registered: 02-12-2005
Posts: 264
Website

Re: Site Html Layout

Can anyone tell me how to make a minor change to the default skin for ccp. i need to move the menu bar on the right (with categories, ploicies, info etc.) to the left of the page. i know its got something to do with table columns. i tried editing the "ste_layout.txt" but couldn't do anything but make a mess.

Can anyone help?


K.R.
Kids & Co. Wholesale

Offline

 

#20 05-05-2005 07:26:29

TerryA
Member
From: Sanford, Fl
Registered: 07-14-2003
Posts: 1322
Website

Re: Site Html Layout

Bump

Offline

 

#21 05-19-2005 10:25:46

confused
Member
Registered: 05-17-2005
Posts: 92

Re: Site Html Layout

  moved to new post

Offline

 

#22 05-20-2005 00:59:40

mfarin42
Member
Registered: 05-20-2005
Posts: 1

Re: Site Html Layout

Is there anyone that I can hire to do customization of the clickcartpro cart I purchased into our current design. I seemed to have hired a company that does not know how to do this at all and absolutely anything they've shown me has been horrible and nowhere near custom.

Any help would be appreciated.

Regards,
Michael

Offline

 

#23 06-26-2005 14:11:32

Ninja
Member
Registered: 08-06-2004
Posts: 48

Re: Site Html Layout

I put my css and javascript file in the same directory as the cp-app.cgi.

cgi-bin/ccp51/cp-app.cgi
cgi-bin/ccp51/jlpstyle.css
cgi-bin/ccp51/navbar.js

so.. why is it having problems finding the .css and .js files?

I used this code to include them in the layout.txt file:

Code:

<script language="JavaScript" src="navbar.js" type="text/JavaScript">
</script>
<link href="jlpstyle.css" rel="stylesheet" type="text/css">
<style type="text/css">

Offline

 

#24 06-26-2005 18:57:45

Ed_H
Member
From: Smashachusetts
Registered: 09-12-2003
Posts: 397
Website

Re: Site Html Layout

It's not working because src="navbar.js", for example, assumes that the javascript file is in your site root directory.  Per your examples they should look like this:

<script type="text/javascript" src="/cgi-bin/ccp51/navbar.js"></script>

<link rel="stylesheet" type="text/css" href="/cgi-bin/ccp51/jlpstyle.css">

Offline

 

#25 06-27-2005 12:18:15

Todd
Member
From: Kitty Hawk, NC
Registered: 04-01-2003
Posts: 553
Website

Re: Site Html Layout

Many servers restrict the type of files they serve in the cgi-bin.  You might want to create a directory for your css files in the media folder.  There is already a javascript directory in the media folder that you can keep your .js files.


there's more than one way to...



Offline

 

Board footer