Page 3 of 3 FirstFirst 123
Results 21 to 30 of 527

Hybrid View

  1. #1
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Stirling Grand Responsive Template

    Well, seems whenever I post I find what I'm looking for, sort of. So I've added the link now in tpl_modules_mobile_categories_tabs.php as well and it does show up.
    Live and learn... the Zen way.

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

    Default Re: Stirling Grand Responsive Template

    Quote Originally Posted by mydanilo View Post
    Well, seems whenever I post I find what I'm looking for, sort of. So I've added the link now in tpl_modules_mobile_categories_tabs.php as well and it does show up.
    I am happy that you figured it out and posted your solution.

    Thanks,

    Anne

  3. #3
    Join Date
    Feb 2016
    Location
    Salem, NH
    Posts
    103
    Plugin Contributions
    0

    Default Re: Stirling Grand Responsive Template

    Still total newbie was able to get my main issues fixed now to figure out how to fix a couple styling issues just don't know where to edit.

    First one is this page http://www.thedragonskeep.net/index....&reviews_id=15 where and what to edit to fix this alignment this looks.

    The other issue how would I edit css for the missing buttons for show_all and couple other ones. Tried and couldn't get it to work.

    Thanks
    Sandria

    www.thedragonskeep.net

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

    Default Re: Stirling Grand Responsive Template

    Quote Originally Posted by Amethyst_fairy View Post
    Still total newbie was able to get my main issues fixed now to figure out how to fix a couple styling issues just don't know where to edit.

    First one is this page http://www.thedragonskeep.net/index....&reviews_id=15 where and what to edit to fix this alignment this looks.

    The other issue how would I edit css for the missing buttons for show_all and couple other ones. Tried and couldn't get it to work.

    Thanks
    Sandria

    www.thedragonskeep.net
    The link is giving a 404 error.

    If you want to make css changes to your site, I would recommend using chrome and the web developer tools. You can inspect the element to tell you the exact line of the file that needs to be edited.

    Thanks,

    Anne

  5. #5
    Join Date
    Apr 2016
    Location
    Amsterdam
    Posts
    6
    Plugin Contributions
    0

    Default Re: Stirling Grand Responsive Template

    Would it be possible to replace the automatically generated links in the css top menu under "shop" with manually created links? I am asking because I am using Stirling Grand on a multi-page install where each web site should only show a few categories. This works fine in the multi-page module and the categories box on the left, but not in the top "shop" menu, see

    http://www.xarum.com/intellectual-property-rights
    http://www.xarum.net/process-agent

    I am concerned that it would generate duplicate content if the links show up on the domain where they are
    not intended to be shown and also the links not for http://www.xarum.com or http://www.xarum.net are not shown by the multi-page module.

    My idea is to manually edit those links in each site's template, but I cannot figure out which php file actually generates the automatic links in the top menu.

    Any help would be very much appreciated.

    N.B. I also have the CEON module installed to have nicer url's. Could this maybe used to rewrite urls

    domain1/product-not-listed-here

    to

    domain2/where-product-actually-is

    Thanks
    Jan

  6. #6
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Stirling Grand Responsive Template

    Suspecting you mean the multi site module, you will save yourself a lot of (future) work if you edit the header code to make use of the multi site
    Quote Originally Posted by Xarum View Post
    Would it be possible to replace the automatically generated links in the css top menu under "shop" with manually created links? I am asking because I am using Stirling Grand on a multi-page install where each web site should only show a few categories. This works fine in the multi-page module and the categories box on the left, but not in the top "shop" menu, see

    http://www.xarum.com/intellectual-property-rights
    http://www.xarum.net/process-agent

    I am concerned that it would generate duplicate content if the links show up on the domain where they are
    not intended to be shown and also the links not for http://www.xarum.com or http://www.xarum.net are not shown by the multi-page module.

    My idea is to manually edit those links in each site's template, but I cannot figure out which php file actually generates the automatic links in the top menu.

    Any help would be very much appreciated.

    N.B. I also have the CEON module installed to have nicer url's. Could this maybe used to rewrite urls

    domain1/product-not-listed-here

    to

    domain2/where-product-actually-is

    Thanks
    Jan

  7. #7
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Stirling Grand Responsive Template

    You might also want to check out the

    CSS_read_me.txt

    file in includes/templates/template_default/css.

    With a bit of thought you may be able to utilise the ability to write custom css for identifiable pages so that categories you don't want on pageX won't appear there, but will appear where you want.

    Perhaps depends on the structure of your categories, but it should be possible to create custom classes for categories and use css display:none; to hide specific categories on specific pages.

    You could get this working fairly easily were you to hand-code your category list/s in place of the auto-generated lists in tpl_mega_menu.php.

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

    Default Re: Stirling Grand Responsive Template

    Quote Originally Posted by Xarum View Post
    Would it be possible to replace the automatically generated links in the css top menu under "shop" with manually created links? I am asking because I am using Stirling Grand on a multi-page install where each web site should only show a few categories. This works fine in the multi-page module and the categories box on the left, but not in the top "shop" menu, see

    http://www.xarum.com/intellectual-property-rights
    http://www.xarum.net/process-agent

    I am concerned that it would generate duplicate content if the links show up on the domain where they are
    not intended to be shown and also the links not for http://www.xarum.com or http://www.xarum.net are not shown by the multi-page module.

    My idea is to manually edit those links in each site's template, but I cannot figure out which php file actually generates the automatic links in the top menu.

    Any help would be very much appreciated.

    N.B. I also have the CEON module installed to have nicer url's. Could this maybe used to rewrite urls

    domain1/product-not-listed-here

    to

    domain2/where-product-actually-is

    Thanks
    Jan
    You can edit the file includes/templates/stirling_grand/templates/tpl_modules_mobile_categories_tabs.php

    Thanks,

    Anne

  9. #9
    Join Date
    Apr 2016
    Location
    Amsterdam
    Posts
    6
    Plugin Contributions
    0

    Default Re: Stirling Grand Responsive Template

    Thanks everyone for suggestions

    If I uncomment using //

    // 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);
    // $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;

    in both files you mentioned:

    /includes/templates/stirling_grand/common/tpl_mega_menu.php
    /includes/templates/stirling_grand/templates/tpl_modules_mobile_categories_tabs.php

    and add the link manually in the style:

    echo "<a href=\"Link1\" title=\" Linktitle \"> Linktext</a>"
    echo "<a href=\"Link2\" title=\" Linktitle \"> Linktext</a>"

    then it will certainly stop the automatically generated links and display only the ones above, but it does not change the links if an another language is chosen. E.g. somebody visiting the page in German would always see the (manually entered) links in English.

    One possible solution I see is to make

    domain1 - only English content
    domain2 - only German content

    It is possible to do this I found out by entering only an English or German description/name for the category/product (and ignoring the CEON warning that mappings could not be created as a result).

    The Multi Side module can be configured to show English products on domain1 only and German products on domain2 only.

    But then the language selector in sideboxes/languages_header.php will need to be edited to auto generate instead of

    domain1/product-in-english?language=de

    http://www.domain2/product-in-german?language=de

    Does anyone know how to add http://www.domain1 for one language flag and http://www.domain2 for the other flag?

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Responsive All Business Template
    By picaflor-azul in forum Addon Templates
    Replies: 392
    Last Post: 3 Oct 2019, 05:42 AM
  2. v154 Best Responsive Template
    By martynbaker52 in forum General Questions
    Replies: 4
    Last Post: 12 Sep 2015, 02:35 AM
  3. v151 responsive template problems
    By irishshopper in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 May 2014, 07:11 AM
  4. Stirling Grand Template blank product info page
    By Pablo_escobar in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 18 Jan 2014, 04:38 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