Page 51 of 53 FirstFirst ... 414950515253 LastLast
Results 501 to 510 of 527
  1. #501
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Spam Email

    Quote Originally Posted by margecc View Post
    Good morning,

    I am running Stirling Grand on 2 sites and it is working beautifully, except for one little issue, I seem to receive a fair amount of spam email. Thus far I have just been blocking the IP in Cpanel, but in poking around on the forum to see what others may be doing to stop the problem, there seems to be something about the mega menu and such, but I'm not really understanding what they are saying or if they are completely deleting the contact us form the menu, which I would prefer not to do since I think it's quite helpful. Any insight would be appreciated.

    I found this post, and the poster is using one of Anne's templates so I am assuming it would be helpful, if I understood it

    https://www.zen-cart.com/showthread....05#post1301605

    My sites:
    valuelogs.com
    af-company.com
    (the one I am currently building)
    If you are worried about spam I would recommend removing the contact us form from the drop down and replacing it with a link to the contact us page ;)

    Thanks,

    Anne

  2. #502
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    234
    Plugin Contributions
    0

    Default Re: Spam Email

    Thanks for the quick reply Anne! I'm not really worried about it since blocking the IP's eventually works quite well. I just thought perhaps I was missing some quick fix (that happens a lot). I'll just change it to a link....eventually.
    Thanks, Colleen
    www.af-company.com
    To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978

  3. #503
    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. #504
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    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. #505
    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. #506
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    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. #507
    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. #508
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    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. #509
    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?

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

    Default Re: Stirling Grand Responsive Template

    Quote Originally Posted by Xarum View Post
    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?
    If the functionality is there in the categories sidebox, then you should be able to make this work with the drop down menu. This sort of programming is not something that I can help you with on the forum, off of the top of my head ;) If you post the question more generally to the forum, maybe one of the php wizzes will see it and be able to help.



    Thanks,

    Anne

    Thanks,

    Anne

 

 
Page 51 of 53 FirstFirst ... 414950515253 LastLast

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

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