Page 18 of 37 FirstFirst ... 8161718192028 ... LastLast
Results 171 to 180 of 361
  1. #171
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    Quote Originally Posted by jgriessen View Post
    I'm interested in seeing the changes from your stable version though...




    Is the downloads section part of this forum site?

    I tried to use svn checkout http://sanguineeasyembedtemplale.goo...com/svn/trunk/ sanguineeasyembedtemplale but I don't get the tree of files that you can see with their browser. What is the name to checkout? sang_embed? zencart?
    They're empty when trying a svn co.

    John
    ecosensory.com
    Sorry about that. because of the multi environmental manner of the sang embed code I have started a wiki page that has the locations for the different projects. (http://code.google.com/p/sanguineeas...e/wiki/repoMap)
    The the trunk is reserved for the eventual editing of the sang_magic, and (conceptual) sang_config_options files.
    sorry about the confusion.

    JOsh

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

    Default Re: Easy embed template

    Quote Originally Posted by Arkaal View Post
    Would it be possible to get a hold of that Phourm mod? It'd sure save me a whole lot of headache to avoid having to hack together a shared template for Phorum and Zen Cart.

    Really nice mod, by the way. Thanks a lot for this.
    I have to say when I wrote the forum template I was subcontracting for another company and no longer have access to the files. how ever creating a easy embed template for a project seems to take little more knowledge then installing it.
    For the phorum branch , I remember it tool learning a bit of the Smarty Template System and doing a couple includes. it only took about an hour really. So it shuld be do able.

  3. #173
    Join Date
    Mar 2008
    Posts
    76
    Plugin Contributions
    0

    Default Re: Easy embed template

    I did find one problem using the embed. The shop has a base tag and the embed file has a base tag. The embed file base tag superceded and you may have guessed, the shop couldn't find it's pics.

    I had to remove the base tag from the embed file and make all src/href paths start with ../.

    Yuck!

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

    Default Re: Easy embed template

    Quote Originally Posted by dejavu View Post
    I did find one problem using the embed. The shop has a base tag and the embed file has a base tag. The embed file base tag superceded and you may have guessed, the shop couldn't find it's pics.

    I had to remove the base tag from the embed file and make all src/href paths start with ../.

    Yuck!
    I don't know the term "base tag" you have to to explain better. Also when you say 'embed file' do you mean you mark up to be embedded?

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

    Default Re: Easy embed template

    Also dejavu,
    are you using the ver of the Sang embed from the repo?

  6. #176
    Join Date
    Mar 2008
    Posts
    76
    Plugin Contributions
    0

    Default Re: Easy embed template

    By base tag I mean the html base tag:

    HTML Code:
    <base href="http://www.wantedgaming.com/shop/" />
    What is the repo?

  7. #177
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy embed template

    Quote Originally Posted by dejavu View Post
    What is the repo?
    Repository perhaps??

  8. #178
    Join Date
    Mar 2008
    Posts
    76
    Plugin Contributions
    0

    Default Re: Easy embed template

    I figured respository. I didn't know if he meant the downloads section. I just clicked on the link in this thread.

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

    Default Re: Easy embed template

    Repo. is the common abbreviation for a version control repository. sorry.

    also, unless Google has programed their http servers to see a linking to a repo via a browser as an svn export. clicking on the link for SVN repos wont work.

  10. #180
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy embed template

    Quote Originally Posted by urbanx View Post
    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.
    Disclaimer: I KNOW that it's not recommended to use "mailto" links.. As a practice I do not use them for my client's sites, and opt for a contact forum instead.. I already went through the CONS of this with my client and the Flash designer.. However, the Flash designer still wanted his site credit pointing to an e-mail address.. **sigh**

    So that said here's how to fix the above issue:
    Comment out the following lines in your "embed_config" file as follows:.
    Code:
    //JTS replace hrefs to point above catalog, but not the href for the style sheet! or http links!
    //$sitetemplate=preg_replace('/href="/si', 'href="../', $sitetemplate);
    //$sitetemplate=preg_replace('/href="..\/..\//si', 'href="../', $sitetemplate);
    //$sitetemplate=preg_replace('/href="..\/http/si', 'href="http', $sitetemplate);
    I probably didn't have to comment all three lines out, but since I didn't know which specific line in this code block governs the replacement of the "mailto" links, I commented them all out, and tested my site.. So far everything is still working..

 

 
Page 18 of 37 FirstFirst ... 8161718192028 ... 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