First time using Yii and I’ve watched about 3 hours of videos on it so far but none of them have touched upon customizing widgets etc. Is it possible to have CMenu output just links without the list item tag so that is just works with the html5 <nav></nav> tags? I would prefer not to modify the framework is there an override?
You will need to override CMenu methods: renderMenu(), renderMenuRecursive(), probably renderMenuItem()… You can just copy CMenu source code and modify lines like:
echo CHtml::openTag('li', $options);
Or you can catch an output and preg_replace ul/li tags, but it will be a very ugly way