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
Printable View
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.
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
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 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.
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