Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Posts
    440
    Plugin Contributions
    0

    Default A Wise one required 4 Wisdom / Templates etc.

    Many Thanks to all the wise zenners handing out advice......I think the noose would have been handy about now if you guys were not so kind with your time.

    Ok I have a few probs now that I can at least write down something other than help!!!!!

    Problem 1 Regarding my Template I have taken on board all the advice etc about overides and have created necessary folders and copied things like header.php (well if all goes wrong I can just paste another copy in there right!!) Anyway The kindly donated template (Thks kobra) I would like to have the back groud image meet the blue bands (please someone tell me what they are called) please see www.colourshield.com/store
    I also cant figure out how to move the name Colour Shield Up or down. (into the bands)

    Problem 2 I have figured out how to remove the zen cart art of e-commerce from the top left of the page but I am left with a red cross, I cant find which page this links to in order to remove the url.

    Problem 3 Being new to all this, I am finding it very ..sorry VERY hard and time consuming to learn a new language so I thought I would write down what I am doing and seeing if someone knows and easier tool to use other than having my task bar open with a zillion things I am switching between,...Previous experience I had was all with dreamweaver 4 and HTML (somewhere around here I think I have DW MX also) In this programme it is very easy for me to spot what I am trying to change, however the PHP code is waaaaaaaaay too advanced for a mere novice. For instance I have FTP open plus all the files I have to find amend and upload as well as admin and the final store open so I can see if I am achieving something other than a disaster..Uhmmm half the time I have to start again because I am amending the wrong line..(I have also been using the tools in admin) In dreamweaver with a split screen simply clicking on something shows me where I am and voila.....I have even tried changing HTML files and saving as either style sheets or whatever extension but it comes up a big mess..So if there is a better programme I can use I am willing to learn!! I have to admit that after 3weeks I havent got far with my venture which after all my needs were to have Zen cart at the end of my fully functonal web site ....without re-doing the whole site..

    Problem 4 I wanted to have the Tell a friend simply send this friend to the site and take out the product ID...I saw a post from someone on how to do this however I am very unclear about what to modify in the suggest files to achieve exactly what was asked.. (please see beneath)

    Huge thanks for any advice...
    Renz



    Modifying Tell a Friend

    --------------------------------------------------------------------------------

    I need help modifying the 'Tell a Friend' email page. I would like to remove the requirement to select a product, so that users can tell their friends about our site. We are going to implement a 'Refer a Friend' program and would also like to get cc:'d by such emails (not to the main store email, but an alternative such as 'referrals@ . . .'

    Any ideas . . .

    --------------------------------------------------------------------------------

    If I was you, I would alter the "Tell A Friend" sidebox, so that it always appears. If it is on a product page, then show the Tell a Friend about the product, and if not, tell them about the store. This can be changed in includes/modules/sideboxes/tell_a_friend.php .

    Next you will need to change the sending email script, which is found in includes/modules/pages/tell_a_friend/header.php

    Here I would check if you have a product_id sent in, which is detected in line 19 of a zen 1.3. If not, by adding and else to line 34, then set the email up to send the Our Store email.

    As for cc-ing yourself in, you can send yourself a copy of the email, by re-running the send email line of code.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: A Wise one required 4 Wisdom / Templates etc.

    You have several things going on but let's deal with a couple.

    First for your "learning experience". Not everyone is willing to "work at it" and would prefer to be spoon fed.

    Watch out when working with stylesheets as many times items are "nested" and we have a tendency to overlook them. You have navBreadCrumb settings twice within a few lines. One at line 284 and the other "nested" at 294. The listing at 284 has a problem in that there should be a semicolon ";" after the margin: 1px. Both listings mention margin and padding but are different. Let the pixel battle begin!
    Notice that these three listings
    #navBreadCrumb {
    padding: 0.5em 0.5em;
    margin: 1px
    background-color: #ffffff;
    }

    #navEZPagesTop {
    background-color: #ffffff;
    }

    #navBreadCrumb, #navEZPagesTop {
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    padding: 0.5em;
    }
    all deal with the top of the site. One could group them all together into just
    #navBreadCrumb, #navEZPagesTop {
    background-color: #fffff;
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    padding: 0.5em;
    }
    In trying to bring the graphic together with the EZ-Pages Nav and header Nav there needs to be a small fix first. The source code for your main page shows
    <!--bof-branding display-->
    <div id="logoWrapper">
    <div id="logo"><a href="http://www.colourshield.com/store/"><img src="includes/templates/template_default/images/" alt="" /></a></div>
    <div id="taglineWrapper">

    <div id="tagline"><h1>Colour Shield</h1></div>
    </div>
    </div>
    <br class="clearBoth" />
    <!--eof-branding display-->
    which, first of all, is not an image. Secondly, you should be pointing to your templates/RR/images/ directory. Did somebody say "Red Cross?"

    Let's try getting the pointer to the right image and then looking at which padding and margin calls are creating the white space.
    That should help with numbers 1 and 2.

    As to number 3. DreamWeaver can be helpful but, there is so little you will need to code that other things are far more important. Get a copy of FireFox and get the Web Developer extension and the W3C html validator extension. This will be your most valuable tool to get the look you want for your site.

    Use the developers tool kit in the ZenCart admin AFTER you have thoroughly looked at every other option in admin. Start at Configuration and work your way through Gift Certificates/Coupons.

    Also, it is VERY IMPORTANT to learn how to search the forum. "thingy in the middle" will not get anyone any help. You did right in including a link for folks to look at. Easier for us to help that way.

    Hang in there.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

Similar Threads

  1. Confused about templates/customisation etc
    By richard.rodriguez in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 30 Sep 2009, 09:02 PM
  2. Replies: 0
    Last Post: 1 Jul 2009, 05:02 PM
  3. Buy One, Get One Free...etc
    By atsdotha in forum Setting Up Specials and SaleMaker
    Replies: 4
    Last Post: 16 May 2006, 10:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg