Results 1 to 10 of 38

Threaded View

  1. #19
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default Re: Facebook/Twitter Module

    Quote Originally Posted by gjh42 View Post
    Have you defined BOX_HEADING_SOCIAL in the module or defines file?


    And there is no reason to need table or center code in there; you especially should not have incomplete table code (missing the containing <table> and <tbody> tags).

    Just noticed you are missing the closing > here:

    <div <a href="http://
    <div> <a href="http://
    Greetings;

    Yea i added the following to extra_definitions

    Code:
    <?php
    /**
     * blank sidebox definitions - text for inclusion in a new blank sidebox
     *
     * @package templateSystem
     * @copyright 2007 Kuroi Web Design
      * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
     */
    
    define('BOX_HEADING_SOCIAL', 'Enter Heading Here');
    define('TEXT_SOCIAL', 'Replace this text with your HTML content.');
    
    ?>
    Also changed the Sidebox file to the following;

    Code:
    <?php
    /**
     * blank sidebox - allows a blank sidebox to be added to your site
     *
     * @package templateSystem
     * @copyright 2007 Kuroi Web Design
      * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
     */
    
      // test if box should display
      $show_social = true;
    
      if ($show_social == true) {
          $title =  BOX_HEADING_SOCIAL;
          $title_link = false;
          require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
     }
     ?>
     	<tr>
      	<td>
    	<center>
    		<div id="Facebook">
    		<a href="http://www.facebook.com/pages/The-Esoteric-Emporium/145421388812693?sk=wall"><img src="images/fb.png" width="50" height="50" alt="Facebook" /></a>&nbsp;&nbsp;<a href="http://twitter.com/YOUR-TWITTER-HERE"><img src="images/tw.png" width="50" height="50" /></a></div>
    		</div>
    	</center>
        </td>
      </tr>
    Last edited by Delights; 17 Apr 2011 at 01:55 PM.

 

 

Similar Threads

  1. v151 Facebook, Twitter, Youtube
    By missnura_com in forum General Questions
    Replies: 1
    Last Post: 14 Jan 2013, 06:56 AM
  2. v150 Facebook google plus twitter
    By oitem in forum General Questions
    Replies: 0
    Last Post: 4 Jun 2012, 06:56 PM
  3. facebook and twitter buttons
    By alfonso99 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jul 2011, 02:23 PM
  4. facebook and twitter
    By deemurphy in forum General Questions
    Replies: 2
    Last Post: 9 Apr 2010, 09:20 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