Page 9 of 37 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 361
  1. #81
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    Quote Originally Posted by chas1 View Post
    Don't hold your breath, I don't think anyone outside of Brian21 can do that including the author of the easy embed, doing is one thing making it simple for others to understand and showing examples of it working so we can follow the bouncing ball seems to be one of the discouraging parts of this forum. In MHO Zen cart developer's should require any downloads be proven with a demo site like Dr. Byte's and example code that works for the version of the cart that is intended for, along with the person's who will supply the support and indicate if it's free or cost money. You can spend weeks searching this forum only to find the guy has disappeared or no longer supports his upgrade.
    <rant>
    This is the wife right? chas1 is 2 people and the wife is more rude then the husband in the team that are chas1
    Please don't insult my ability to teach. I have been training other professionals in my field of work for years, and have a very successful track record.
    This is not a beginner module, I can not give exact instructions for this module, this the location of your template file is not, static, nor was it ever meant to be. Most of the problems that chas1 have been having are in basic php set up and have nothing to do w/ my code. if you dont know what your php root is then dont tell me that the module is not working, go to a php forum and ask how to find that (any IRC room called #php is a good place to)
    I tell them <!-- COMMENT --> and they retort w/ <-- comment -->. that has nothing to do w/ my code or ability to teach it has every thing to w/ the reading level.
    So I am going to say it now.
    The Sanguine Easy Embed Template is not for PHP novices. it is for experienced geeks that want to simplify their lives then they are running multiple types of FOSS, or have more then one Section (other then the Zen Cart) on their web site.
    You want a demo site? I could list about 20 functional web sites running this module.
    There are no switches to play w/ other then the selecting the template easy embed to mess w/ here. Therefore no real need for me to maintain a demo site.
    </rant>
    I would ask that you all bare w/ me as I am recovering form a complete hard drive failure, during a transitional time that was not allowing me to back up as regularly as I normally would have. I lost a week of work time recovering and paying my bills are more of a priority then making people feel good about what I give away for free.
    koikana I will be w/ you as soon as I can but as I have stated I am slamed at the moment. I am one person, zen cart has a team. I AM VERY WILLING TO HELP SOMEONE JOIN THE TEAM WHO WANTS TO REWRITE THE DOCUMENTATION, not just get their site working and leave.
    Last edited by sanguisdesign; 29 Jun 2007 at 07:59 PM. Reason: tence

  2. #82
    Join Date
    May 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by ########################## View Post
    <rant>
    This is the wife right? chas1 is 2 people and the wife is more rude then the husband in the team that are chas1
    Please don't insult my ability to teach. I have been training other professionals in my field of work for years, and have a very successful track record.
    This is not a beginner module, I can not give exact instructions for this module, this the location of your template file is not, static, nor was it ever meant to be. Most of the problems that chas1 have been having are in basic php set up and have nothing to do w/ my code. if you dont know what your php root is then dont tell me that the module is not working, go to a php forum and ask how to find that (any IRC room called #php is a good place to)
    I tell them <!-- COMMENT --> and they retort w/ <-- comment -->. that has nothing to do w/ my code or ability to teach it has every thing to w/ the reading level.
    So I am going to say it now.
    The Sanguine Easy Embed Template is not for PHP novices. it is for experienced geeks that want to simplify their lives then they are running multiple types of FOSS, or have more then one Section (other then the Zen Cart) on their web site.
    You want a demo site? I could list about 20 functional web sites running this module.
    There are no switches to play w/ other then the selecting the template easy embed to mess w/ here. Therefore no real need for me to maintain a demo site.
    </rant>
    I would ask that you all bare w/ me as I am recovering form a complete hard drive failure, during a transitional time that was not allowing me to back up as regularly as I normally would have. I lost a week of work time recovering and paying my bills are more of a priority then making people feel good about what I give away for free.
    koikana I will be w/ you as soon as I can but as I have stated I am slamed at the moment. I am one person, zen cart has a team. I AM VERY WILLING TO HELP SOMEONE JOIN THE TEAM WHO WANTS TO REWRITE THE DOCUMENTATION, not just get their site working and leave.
    Thanks for the comment, I am sure anyone who reads the rant will understand the major problems that are plaguing Zen Cart and an after thought if it can't be explained how do you expect anyone to write a step by step guide...
    Sorry for the inconvenience, Your assistance is no longer required a friend
    from California who is a webmaster is helping me(A PHP GURU).

  3. #83
    Join Date
    Aug 2007
    Location
    oregon
    Posts
    12
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by chas1 View Post
    Thanks for the comment, I am sure anyone who reads the rant will understand the major problems that are plaguing Zen Cart and an after thought if it can't be explained how do you expect anyone to write a step by step guide...
    Sorry for the inconvenience, Your assistance is no longer required a friend
    from California who is a webmaster is helping me(A PHP GURU).

    actually, all that's needed is a simple step by step.

    when i started reading this thread, i thought "wow, this sounds like exactly what i'm looking for." then i looked at the documentation, read through some of the other posts, and thought "WTF?'

    however, once i grasped it, i realized how brilliant this mod is, and how simple... mind-numbingly simple it is to implement.

    it works like this:

    1. create an html file in your website that you would like to embed zen cart into. let's call it shop.html and let's put it in the root of our website:
    - we can access this file from http://www.foo.com/shop.html
    - the file is found on the server at /path_to_your_files/shop.html

    2. somewhere in your html file, you need to put three very specific lines of text. WHERE you put them is up to you, but they must be together and they must be exact. the thing to know is that it goes in the body of the file, and that it goes where you want your zencart to go.

    <div id="content">
    <!-- START EMBED -->
    <!-- END EMBED -->

    3. install zen cart. i'm going to assume that you installed zen cart in a directory called zen. go to http://www.foo.com/zen and do all the zen installation stuff.

    DO NOT GO ANY FURTHER UNTIL YOU HAVE ZEN WORKING PROPERLY WITH THE DEFAULT TEMPLATE.

    4. once you have zen up and running, it is time to install the new template. the sang_embed template installs like any other template. please see the wiki if you need basic assistance with installing a template in zen cart (or better yet, buy the zen book, you won't regret it). essentially, you copy the template files to your webserver. most will go in zen/includes/templates/sang_embed, but the main thing is to match the folder structure in the download. don't forget to "turn on" the sang_embed template in the admin.

    5. make ONE change in the file named embed_config.php. you can find it at /path_to_your_files/zen/includes/templates/sang_embed/common/embed_config.php

    find the line that begins with $zc_temp (it is line 11) and change it so that it refers to the html file you created in step 1. in our example, it would be:

    $zc_temp = '/path_to_your_files/shop.html';

    THIS IS THE KEY. IT TELLS ZEN CART THAT IT MUST EMBED ITSELF IN THAT FILE.

    6. go test it by going to http://www.foo.com/zen

    7. revel in your brilliance

  4. #84
    Join Date
    Aug 2007
    Location
    oregon
    Posts
    12
    Plugin Contributions
    0

    Default Re: Easy embed template

    oh yeah, now i remember what i came to this thread for.

    i've run into a small problem with the template. the problem is related to the fact that the template puts a ../ in front of all links in the html file to make them work. this works great UNLESS you have a mailto link.

    the mailto link now reads http://www.site.com/mailto:[email protected]

    any ideas how to deal with this?

    thanks,

    d.

  5. #85
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    Urbanix,
    tank you for adding a positive light to this thread.
    I have not been here for a while so this is the first time I have seen your post.
    About the mailto: problem.
    I would tell you first not to use this code. there are bots that search the net and look for this code. they grab the email address and start sending it stock and pen1s (can you believe the real spelling is black listed?) advise like crazy. My advise is where every you would have a mail to, point it to a contact form, like the one that Zen cart comes w/. As a rule I never posy and email address on line.
    That being said if you don't mind complete strangers talking about how you please your woman, no matter who your are. the Whole embed_config.php is pretty clear and run on regex al you would have to do is replace the link re writing code w/ a new expression.
    That being said, regex is an art form that I barley comprehend (I am just not that lete). the embed_config program took me about 10 hours of hacking to figure out, and really it is not the best set of regex's in the world. I would suggest that you hang out in the #regex channel on free node and bug them.

  6. #86
    Join Date
    Aug 2007
    Location
    oregon
    Posts
    12
    Plugin Contributions
    0

    Default Re: Easy embed template

    my thoughts on mailto as well. however, i am not the lead on this project, i just make things happen. the designer has obfuscated the email address in a rather intresting manner. don't know if it'll work, but it'd definitely interesting.

    anyway, i had assumed as much about the regex (something i haven't touched in years). just had to hope that you were going to say "i fixed that in my secret magic version that i've been keeping to myself as insurance..."

    guess i'll get to find out just how badly they want this.

    thanks for all your work on this and your quick response to my question.

    d.

  7. #87
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    offer to sell them a multi person contact form, remind the designer nicely that a web sites art need to conform to function and not the other way around.
    I have obscured email addresses w/ images w/ .js w/ html character values, and still had spam sent to that address. and believe me it was not the box that was getting spammed. Show some (mock if necessary) concern about getting the end user the best product neccery.

    oh and another thing of you are not using the easy embed template on any other program then just comment out the link rewrites and make the links ../ your self.

    I am thinking that the next ver will just detect the dir structure and hard code the links in an absolute manner

    JOsh

  8. #88
    Join Date
    Nov 2007
    Location
    northern, CA
    Posts
    25
    Plugin Contributions
    0

    Default Re: Easy embed template

    First of all, I would like to thank ########################## for the time and effort involved in creating the script. And, Urbanx for the concise explanation - it is appreciated.

    I have have ZenCart installed in a directory named "catalog"
    I created an html file called "catalog" with the embed code.

    The sang_embed files have been installed under:
    /catalog/includes/templates/sang_embed/

    The Sanguine Embedded Cart is now the default template as indicated in ZenCart Admin area.

    Problem: when attempting to load catalog.php, my layout explodes and the sample data does not show.

    Any ideas? I must have some files in the wrong directory?

    Thanks!

  9. #89
    Join Date
    Aug 2007
    Location
    oregon
    Posts
    12
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by EarlyFloyd View Post
    I have have ZenCart installed in a directory named "catalog"
    I created an html file called "catalog" with the embed code.

    The sang_embed files have been installed under:
    /catalog/includes/templates/sang_embed/

    The Sanguine Embedded Cart is now the default template as indicated in ZenCart Admin area.

    Problem: when attempting to load catalog.php, my layout explodes and the sample data does not show.

    Any ideas? I must have some files in the wrong directory?

    Thanks!
    ok, you've managed to confuse me. where did catalog.php come from? you should be creating an html file (you can call it catalog.html if you like), but you don't access that. just go to yourwebsite/catalog

    i hope that makes a bit more sense.

    d.

  10. #90
    Join Date
    Nov 2007
    Location
    northern, CA
    Posts
    25
    Plugin Contributions
    0

    Default Re: Easy embed template

    "just go to yourwebsite/catalog"

    Yep. That is exactly what I did.

    My html file is also named catalog. Sorry for the confusion.

    I am still trying to find the problem, but no luck so far.....

 

 
Page 9 of 37 FirstFirst ... 789101119 ... LastLast

Similar Threads

  1. Embed php template within another php template based on drop-down menu selection?
    By mcqueeneycoins in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Jan 2012, 06:44 PM
  2. Embed cart button to old site is easy! if no atributes
    By medragon in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 9 Jun 2009, 06:21 AM
  3. How easy is it to install a zen-cart template?
    By ssbeats in forum Addon Templates
    Replies: 1
    Last Post: 22 Nov 2007, 09:43 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR