Thread: Westminster New

Results 1 to 10 of 1865

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Westminster New

    Ok,

    Adblock Plus uses, out of the box, EasyList filters, at this url


    https://easylist-downloads.adblockplus.org/easylist.txt


    'ad-right' is one of the no-no's

    So in stylesheet.css replace the 'ad' part of .ad-right {} to something not on this list.

    Likewise in \includes\languages\english\html_includes\YOUR_TEMPLATE\define_main_page.php change the two instances of 'ad-right' to the new name used in the stylesheet.

  2. #2
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Westminster New

    Quote Originally Posted by simon1066 View Post
    Ok,

    Adblock Plus uses, out of the box, EasyList filters, at this url


    https://easylist-downloads.adblockplus.org/easylist.txt


    'ad-right' is one of the no-no's

    So in stylesheet.css replace the 'ad' part of .ad-right {} to something not on this list.

    Likewise in \includes\languages\english\html_includes\YOUR_TEMPLATE\define_main_page.php change the two instances of 'ad-right' to the new name used in the stylesheet.
    Thanks for checking this out. I'll change these in a future template package update.

    Thanks,

    Anne

  3. #3
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Westminster New

    Edit to /includes/modules/sideboxes/currencies_header.php
    a similar edit may be needed to
    /includes/modules/sideboxes/languages_header.php

    The entire file is included below and 3 edits shown in red
    based upon Lat9's edit to prevent DeBug logfiles

    <?php
    /** Academe Template - currencies_header.php
    *
    * @copyright Copyright 2007 iChoze Internet Solutions http://ichoze.com
    * @copyright Portions Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: currencies.php 2834 2006-01-11 22:16:37Z birdbrain $
    */

    $cur_header_status = $db->Execute("select layout_box_name from " . TABLE_LAYOUT_BOXES . " where (layout_box_status=1 or layout_box_status_single=1) and layout_template ='" . $template_dir . "' and layout_box_name='currencies_header.php'");

    if ($cur_header_status->RecordCount() != 0) {
    $show_currencies_header= true;
    }

    if ($show_currencies_header == true) {
    if (isset($currencies) && is_object($currencies)) {

    reset($currencies->currencies);
    $currencies_array = array();
    while (list($key, $value) = each($currencies->currencies)) {
    $currencies_array[] = array('id' => $key, 'text' => $value['title']);
    }

    $hidden_get_variables = '';
    if (is_array ($_GET)) {
    reset($_GET);
    while (list($key, $value) = each($_GET)) {
    if ( is_string ($value) && ($key != 'currency') && ($key != zen_session_name()) && ($key != 'x') && ($key != 'y') ) {
    $hidden_get_variables .= zen_draw_hidden_field($key, $value);
    }
    }
    }

    require($template->get_template_dir('tpl_currencies_header.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_currencies_header.php');
    $title = BOX_HEADING_CURRENCIES;
    $title_link = false;
    $text = 'Currencies:';
    require($template->get_template_dir('tpl_box_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_box_header.php');
    }
    }
    ?>
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  4. #4
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Westminster New

    Quote Originally Posted by RixStix View Post
    Edit to /includes/modules/sideboxes/currencies_header.php
    a similar edit may be needed to
    /includes/modules/sideboxes/languages_header.php

    The entire file is included below and 3 edits shown in red
    based upon Lat9's edit to prevent DeBug logfiles
    Thanks for posting ;) When I do the next update I will be incorporating rbarbour's flexible languages/currencies in the header module instead of the module currently included.

    Thanks,

    Anne

 

 

Similar Threads

  1. v155 Getting ajax error in v155 with v154 Westminster template
    By godt in forum General Questions
    Replies: 3
    Last Post: 11 Jul 2016, 12:41 AM
  2. v155 Getting ajax error in v155 with v154 Westminster template
    By MCS_Computers in forum General Questions
    Replies: 10
    Last Post: 21 Mar 2016, 03:58 PM
  3. v154 Modifying Top Menu - Westminster New
    By chelseaneedshelp in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Mar 2015, 04:28 PM
  4. Westminster New doesn't work on mobile phone
    By Pompidompie in forum Addon Templates
    Replies: 3
    Last Post: 26 Mar 2015, 10:34 PM
  5. v151 westminster new Share and Connect
    By Larry0652 in forum Addon Templates
    Replies: 8
    Last Post: 24 Oct 2014, 03:30 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