I want them separate but to the side like the regular category sidebox but in multiple boxes.
I want them separate but to the side like the regular category sidebox but in multiple boxes.
Then you can use Categories Dressing to get a display like you have shown, without having to modify/clone mods. There are define statements to set and stylesheet rules to add that can do these things, discussed in the readme.html with the mod. Since there are so many possibilities, specific layouts can be discussed in the Categories Dressing support thread.
Okay so I do not need to use this mod? I want to know why they and everything else disappears.
P.S. I want to get my boxes to show something like what is on this site: http://www.xtoysusa.com/ Caution: This is an adult toy store.
Last edited by MSGOK; 15 Feb 2011 at 09:47 PM.
No, you do not need to use the separate category mod for this. In fact, the layout you refer to, moreso than your current site state, is exactly what Categories Dressing was originally designed to do: add nice headings at desired places in the categories menu.
The current version 1.2 has a problem.
It uses a variable $name which is unset after the routine..this unsets $name used in the contact us page to pre-populate the name field when a client is logged in.
I suggest this change from
toPHP Code:while (!$categories_ap->EOF) {
$id = $categories_ap->fields['categories_id'];
$name = $categories_ap->fields['categories_name'];
$add_content .= '<li><a href="' . zen_href_link(FILENAME_DEFAULT, '&cPath='.$id) . '">'.$name.'</a></li>' . "\n";
$categories_ap->MoveNext();
}
$add_content .= '</ul>';
//debug echo $add_content;
unset($name);
PHP Code:while (!$categories_ap->EOF) {
$categories_id = $categories_ap->fields['categories_id'];
$categories_name = $categories_ap->fields['categories_name'];
$add_content .= '<li><a href="' . zen_href_link(FILENAME_DEFAULT, '&cPath='.$categories_id) . '"><span class="catSpan">'.$categories_name.'</span></a></li>' . "\n";
$categories_ap->MoveNext();
}
$add_content .= '</ul>';
//echo $add_content;//debug to check query is ok
//unset($categories_name);//was $name but overwrote $name in contact_us
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
Will this work with 1.5?