I want to apply some modifications to the sitemap plug-in, but don't know how to do it.
- is there a way to use css?
- how can i change what the plug-in shows? (i'd want "menu text" only)
Eh, could you be more precise? What do I have to change if I only want the display the menu text of the items?WiseQ wrote:You can do this by modifying the file /plugins/function.sitemap.php
Code: Select all
if ($onecontent->Name() != '')
{
$menu .= ' - ' . $onecontent->Name();
}
Here stick this CSS into your template's stylesheet (If you don't want it messing the other pages, just create a new template for the sitemap page):alex wrote: I would like to have "upper-roman" for the parent elements (sections) and "decimal" for the child elements in the sitemap plugin. How would I have to do that?
Code: Select all
ul { list-style-type: upper-roman; }
ul ul { list-style-type: decimal; }
Code: Select all
ul h2 { font-size: 10pt; font-weight: bold; }
ul ul h2 { font-weight: normal; }
I found it, just addsagarkale wrote: How to get rid of the items which are not shown in the menu (Show in menu unchcked)?
Code: Select all
|| !$onecontent->ShowInMenu()
Code: Select all
if (!$onecontent->Active() )