Page 56 of 85 FirstFirst ... 646545556575866 ... LastLast
Results 551 to 560 of 842
  1. #551
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by picaflor-azul View Post
    It would be helpful if you posted your code so that others with the same question can search and find the answer ;)

    Thanks,

    Anne
    In the tpl_mega_menu file:

    <li class="escuela-li"><a href="index.php?main_page=index&cPath=12" class="drop"><?php echo HEADER_TITLE_NEOPRENOS; ?></a>

    <div class="dropdown_1column">
    <div class="col_1 firstcolumn">
    <div class="levels">
    <?php

    // load the UL-generator class and produce the menu list dynamically from there
    require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
    $zen_CategoriesUL = new zen_categories_ul_generator;
    $menulist = $zen_CategoriesUL->buildTree(true,12);
    $menulist = str_replace('"level4"','"level5"',$menulist);
    $menulist = str_replace('"level3"','"level4"',$menulist);
    $menulist = str_replace('"level2"','"level3"',$menulist);
    $menulist = str_replace('"level1"','"level2"',$menulist);
    $menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
    $menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
    echo $menulist;
    ?>
    </div>
    </div>
    </div>


    </li>

    then in includes / classes / categories_ul_generator.php

    function buildTree($submenu=false, $variable)
    {
    $this->root_category_id = $variable;
    return $this->buildBranch($this->root_category_id, '', $submenu);
    }
    }

    So what i do is in the mega menu to call this buildtree function passing a variable that tells the categories generator where to start, the variable has to be your category number...works like a charm

  2. #552
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    I got now another problem, also posted in the multilanguage ezpages thread.

    As you can see when you enter my site in the footer the useful links you can see a link in spanish called 'prueba' and 'test' in english. Its not appearing in the header menu under the info menu...ive reinstalled the multilanguage thread a couple of times but no success, its like its not reading the same ezpages database or something.

    if i insert a new ezpage both languages appear.

    Regards,

    David

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

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by speedyrider View Post
    In the tpl_mega_menu file:

    <li class="escuela-li"><a href="index.php?main_page=index&cPath=12" class="drop"><?php echo HEADER_TITLE_NEOPRENOS; ?></a>

    <div class="dropdown_1column">
    <div class="col_1 firstcolumn">
    <div class="levels">
    <?php

    // load the UL-generator class and produce the menu list dynamically from there
    require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
    $zen_CategoriesUL = new zen_categories_ul_generator;
    $menulist = $zen_CategoriesUL->buildTree(true,12);
    $menulist = str_replace('"level4"','"level5"',$menulist);
    $menulist = str_replace('"level3"','"level4"',$menulist);
    $menulist = str_replace('"level2"','"level3"',$menulist);
    $menulist = str_replace('"level1"','"level2"',$menulist);
    $menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
    $menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
    echo $menulist;
    ?>
    </div>
    </div>
    </div>


    </li>

    then in includes / classes / categories_ul_generator.php

    function buildTree($submenu=false, $variable)
    {
    $this->root_category_id = $variable;
    return $this->buildBranch($this->root_category_id, '', $submenu);
    }
    }

    So what i do is in the mega menu to call this buildtree function passing a variable that tells the categories generator where to start, the variable has to be your category number...works like a charm

    That's great ;) I am sure that this will help others in the future.

    Thanks,

    Anne

  4. #554
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Not bad for someone with just 2 weeks into zencart haha

  5. #555
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    ezpages in header is set to 1

  6. #556
    Join Date
    Feb 2014
    Location
    Indianapolis
    Posts
    14
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Anne,
    I have been beating my head against the wall all night and can't figure out what's going on. I can not get the social media links on my slider bar to go to my links. i have even reloaded the complete template and reloaded the social_define.php file. When I reloaded the file, I confirmed they were your links then changed them to mine and saved. Even went to another computer to load my site and social links loaded your links instead of mine. I searched the thread and found a couple of instances just like mine but all were either cut short or something else changed. My site is www.bearcreekleather.com and facebook link is www.facebook.com/bclleather any idea what could possibly be causing this!?! I'm literally at my wits end. There's not many problems I can't figure out but this is one for the record books. Thanks in advance for any help.

  7. #557
    Join Date
    Sep 2006
    Location
    USA
    Posts
    291
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by Stitcher View Post
    Anne,
    I have been beating my head against the wall all night and can't figure out what's going on. I can not get the social media links on my slider bar to go to my links. i have even reloaded the complete template and reloaded the social_define.php file. When I reloaded the file, I confirmed they were your links then changed them to mine and saved. Even went to another computer to load my site and social links loaded your links instead of mine. I searched the thread and found a couple of instances just like mine but all were either cut short or something else changed. My site is www.bearcreekleather.com and facebook link is www.facebook.com/bclleather any idea what could possibly be causing this!?! I'm literally at my wits end. There's not many problems I can't figure out but this is one for the record books. Thanks in advance for any help.
    It should be in this file tpl_main_page.php which you can use Developers Toolkit to search for it!
    /public_html/includes/templates/your_template/common
    Signature not needed

  8. #558
    Join Date
    Feb 2014
    Location
    Indianapolis
    Posts
    14
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by uswebworx View Post
    It should be in this file tpl_main_page.php which you can use Developers Toolkit to search for it!
    /public_html/includes/templates/your_template/common
    I think that maybe I didn't ask the question correctly or there was a misunderstanding. All I want to do is change the links from your facebook page to mine, yet when I changed the links in the associated files according to the documentation, the links still go to your sites. You said in the link reply above, it should be in tpl_main_page.php yet I see nothing in there pertaining to the associated links?!? Could you please elaborate?

  9. #559
    Join Date
    Feb 2014
    Location
    Indianapolis
    Posts
    14
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    I found the problem, although I'm not quite sure why it was happening. I used the developers tool kit (THANKS to USWEBORX!!) and found the link I needed to change in the includes/languages/english/extra_definitions/sheffield_blue/footer_menu_defines.php. Although the social icon I was clicking on was in the slider on the side, this link was the one that allowed it to take me to my page instead of the original.

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

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by Stitcher View Post
    I found the problem, although I'm not quite sure why it was happening. I used the developers tool kit (THANKS to USWEBORX!!) and found the link I needed to change in the includes/languages/english/extra_definitions/sheffield_blue/footer_menu_defines.php. Although the social icon I was clicking on was in the slider on the side, this link was the one that allowed it to take me to my page instead of the original.
    I am happy that you figured out the problem. Thank you for posting your solution. This bug has already been fixed in the Responsive Sheffield Blue template package. It has many bug fixes and enhancements over this legacy package. I would recommend using the responsive package.



    Thanks,

    Anne

 

 
Page 56 of 85 FirstFirst ... 646545556575866 ... LastLast

Similar Threads

  1. v151 Responsive Sheffield Blue v1.0
    By picaflor-azul in forum Addon Templates
    Replies: 1159
    Last Post: 23 Apr 2023, 01:20 AM
  2. v155 Column issues on Product Listings with Sheffield Blue template
    By wmorris in forum General Questions
    Replies: 4
    Last Post: 15 Apr 2016, 10:01 PM
  3. Replies: 5
    Last Post: 30 May 2014, 02:43 AM
  4. v151 Blue Admin [Support Thread]
    By vvomble in forum Addon Templates
    Replies: 11
    Last Post: 27 May 2013, 09:43 PM
  5. Gingham Blue Template Support Thread
    By LissaE in forum Addon Templates
    Replies: 9
    Last Post: 17 Apr 2009, 10:19 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