Frequently asked questions
1. My linked webpage stylesheet (CSS) does not work in although the linked URL seems correct and the CSS is valid. What's going on?
If the Clean URL option is enabled in Site Settings tab, you must use an absolute URL when linking your CSS file, i.e., <link rel="stylesheet" type="text/css" href="/ruubikcms/website/css/default.css" />. See also documentation.
2. My image used in the webpage template is not displayed although the IMG tag and the image source seem correct. That absolute URL thing again?
Yes, at the moment all the links in the website template must be absolute. So <img src="/ruubikcms/website/images/image.jpg" alt="pic" /> should work.
3. My website template requires changes to the HTML that RuubikCMS dynamically creates, for example the created menu HTML needs some extra classes. How I change the HTML output of different PHP template codes?
All the HTML generation the template PHP codes is done in /ruubikcms/page.php. Look for the comments in this file to find a specific template code and edit the needed HTML.
For example there are 3 slightly different main menu versions, of which only one is in use. Code in page.php is quite a mess at the moment because of the many needs. It would be nice to get this cleaned up a bit.
