Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Posts
    32
    Plugin Contributions
    0

    Default insert code into module file

    i want to insert into zencart module file the code below
    <a href='javascript:void(0);' rel="{gallery: 'gal1', smallimage: 'images/1.jpg',largeimage: 'images/2.jpg'}"><img src='images/3.jpg'></a>

    the code in module file like this:
    $link=' THE_CODE '

    but the single-quote and double-quote get into a mess

    could you help?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: insert code into module file

    That's not the way to configure javascript...

    http://www.zen-cart.com/wiki/index.p...s_-_Javascript
    20 years a Zencart User

 

 

Similar Threads

  1. v151 Hard time insert an image name into a directory with my custom code ...
    By retched in forum Contribution-Writing Guidelines
    Replies: 1
    Last Post: 21 Aug 2013, 12:46 PM
  2. v150 Insert xml code into rss feed on v1.5
    By Pretty dumb in forum General Questions
    Replies: 1
    Last Post: 26 Oct 2012, 01:27 PM
  3. Replies: 1
    Last Post: 23 Apr 2010, 02:23 PM
  4. Replies: 2
    Last Post: 23 Jul 2009, 12:59 AM
  5. Insert Values from Cloned Module into Database
    By OrganicMan in forum General Questions
    Replies: 2
    Last Post: 26 Jul 2008, 07:17 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