News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

www.moonshineshades.com

Started by wheat, January 16, 2007, 06:57:23 AM

Previous topic - Next topic

wheat

Howdy,

I have incorporated several custom hacks and a custom flatrate shipping module with this website; utilizes mosforms and moslates too.  Any recommendations or thoughts?

http://www.moonshineshades.com


Vdub

I like the flash main navigation menu, is this a module or your own work?

youngmoneyblog

now did you make the attributes link to a popup with explanations? I could use this on my website.

wheat

QuoteI like the flash main navigation menu, is this a module or your own work?
Yes, in fact I had carried it over from the old html version of the site pre-Mambo.  I unpublished the links so Joomla wouldn't create its own navigation for those choices.  I then only had to re-export the flash with the new Joomla links.

Quotenow did you make the attributes link to a popup with explanations? I could use this on my website.
Yes, that was hardcoded hack I had done.  I modified the list_advanced_attribute function in the ps_product_attribute.php file.  It isn't pretty and I'm sure it could be coded much more elegantly, but it goes something like the following.
if (($category_id>=2)&&($category_id<=5)){ // popups if certain attributes exists for these categories
switch ($title){
case (substr($title,0,6)=="Lacing"):
$html .= "<a href='#' onclick='window.open(\"index2.php?option=com_content&task=view&id=52&pop=1\",\"popup\",\"scrollbars=yes,width=520,height=600,left=\"+(screen.availWidth/2-260)+\",top=\"+(screen.availHeight/2-300));return false;'>$title</a>";
break;
...etc...


Basically the initial check to see if the $category_id is between/equal to 2 thru 5, on this site they just happen to be the category of lampshadesitems that would utilize the particular popups on the options, like lacing, as shown here.  Also, keep in mind that the product's attributes title has to be consistently labelled for this to work correctly.

UglySign

* show a naked module - no wrapper and no title

- frontend.html.php  :D