Wiki-based issues for Solenoid Theme
Contents
For old releases
Below are answered questions and fixed bugs for old releases. Note that some information here may not apply for current version.
Installation issues
JeroenMaris - This theme looks really awesome, well done! I have a few issues regarding installation of Solenoid. First, the README instructs me to put pt-br_solenoid.Theme.po in the <moin_install>/MoinMoin/i18n/themes/solenoid directory, but I can't find a i18n directory in my MoinMoin installation. Second, the README instructs me to edit <moin_install>/MoinMoin/config/_init_.py and add a questionmark to the smiley-list. I can't find the _init_.py in the config directory. Very nice work though, the theme looks very professional.
RenatoSilva - That's weird, you should have the i18n directory and the __init__.py file. Maybe you're looking into the wiki instance? I think IRC channel or mailing list may help you better.
JeroenMaris - Thank you, I've found the directory's you mentioned. I was looking in /usr/share/moinmoin, while the i18n and init.py where located somewhere inside the site-packages directory of Python. Theme's working very nice.
Bullets in sidebar
JeroenMaris - Hi Renato, I currently use rc2009.06.14 and the SideBar is somehow behaving different as in the previous RC's. Using a * to make menu entry's displays a dot instead of a slightly indented menu item. Could you maybe add a configuration option for wikiconfig.py to disable the sidebar use? If the SideBar page does not exist, the space is still taken. It would be very nice if that space is used for rest of the page, if the option solenoid_sidebar = 'False' is present in wikiconfig.py. Thanks in advance.
RenatoSilva - You can hide dots from list items in sidebar by adding the style div.sidebar ul { list-style-type: none; } to your custom/style.css. However, I'm not sure if I understood your issue correctly. If not, could you please give me some screenshots?
- You can also use "." instead of "*" to make list items without bullets.
No sidebar
JeroenMaris - Renato, I would like to use your theme without a sidebar. How can I assign the space on the left, that is normally used for the Sidebar, to the rest of the page?
RenatoSilva - You may add div.wrapper { margin-left: 0.5em; } to your custom/style.css. That empty space is fixed in development version though.
JeroenMaris - Hello Renato. I've tried adding the above-mentioned code to custom/style.css, but without success. Changing the 11.5em in the margin: 0em 0.5em 1.5em 11.5em-line in the div.wrapper in the original style.css in the css-directory to 0.5em does the trick however. How come the style.css in the custom-directory does not work? I made the custom-directory to be in the same directory as css and img (by me it's /usr/local/share/moin/htdocs/solenoid/custom/style.css), but somehow that file is not being read.
RenatoSilva - Hi Jeroen. The custom directory must be inside css directory, there was a mistake in the readme file. Anyway, I have just released a new version containing the sidebar fix, so that you don't need a custom css anymore. The new version also fixes the readme file. Tip: another way to check where to put the custom css files is by looking at the HTML source code, because they will always be referenced there, regardless of existing or not.
JeroenMaris - Thanks Renato, for updating so quickly. Solenoid without Sidebar works fine and the theme really looks awesome. Keep up the good work!
Vimperator issue
JeroenMaris - Renato, I've found something weird happening with MoinMoin combined with Solenoid theme. I use FF3.5 with the Vimperator plugin and it uses a "hint-mode" to highlight every hyperlink on a page, with a certain number. Entering that number causes the browser to follow the hyperlink. Vimperator enables one to effectively navigate the web with firefox, without using the mouse at all. Now the problem which I found with Solenoid, is that the numbers for the links do not appear at the location where the links are. I've used Vimperator for months and never encountered anything like it, so I think it may be some parameter in the Solenoid CSS. I've made a screenshot of Vimperator hinting in the normal theme (Modernized) and with the Solenoid theme, you can see the difference. Would you, if time permits, please take a look at it and see if you can fix it somehow? Thanks in advance. modernized-vimperator.png solenoid-vimperator.png
RenatoSilva - Could you please ask Vimperator developers about what could be causing this? I can't imagine. Also, I wonder whether it was inherited from Mandarin theme or not, could you please try this theme too?
JeroenMaris - Hi Renato. I have created a screenshot of my wiki with the Mandarin theme. The Mandarin theme also has correct hinting. I am going to post a question about the hinting problem on the Vimperator mailinglist, I'll post the results back when I have them. vimperator-mandarin.png
JeroenMaris - Renato: I've asked on the Vimperator mailing list for any help or suggestions to the hinting problem. They had a suggestion, see this mail. Could you maybe check out whether that suggestion helps? Thanks in advance.
RenatoSilva - They have committed a fix for that.
JeroenMaris - Hi Renato. I've compiled the newest Vimperator from Git (with the fix) and it's working beautifully with Solenoid: vimperator-solenoid-good.png.
RenatoSilva - Great!
Long sidebar
MarcosBonci - First of all, I'd like to say this theme looks really awesome! Muito bom trabalho! But I've found a small bug. Sometimes the footer gets placed over the sidebar. It happens under four simultaneous conditions: full screen version, low screen resolution, page with little text and a long sidebar. I've solved it by changing div.wrapper{min-height:100%;} to div.wrapper{min-height:auto;} in full.css.
RenatoSilva - Thanks Marcos. The auto value for min-height is invalid, your browser is probably ignoring the setting. Maybe you are having the long sidebar issue. Do you have a screenshot?
MarcosBonci - Yes, it seems like you're right. Just commented out that line and nothing's changed. But I think it's good the way it is now. I've attached a screenshot showing the problem under those conditions I've mentioned above (using the original CSS). footer+sidebar.png
RenatoSilva - The min-height is 100% in full.css to explicitly keep the footer at the very visible bottom for short pages. If you remove it, then the 800px value is inherited from style.css, and that's why it looks ok for you now. The issue here is your long sidebar, but currently the theme does not adjust the heights dynamically according to the sidebar length. So you have to increase the min height of div.wrapper as you indirectly did, or rather decrease the max height of the sidebar, so that a vertical bar is displayed for handling the long content. This last can be done in your custom/full.css as follows:
div.sidebar div#sidebar, div.sidebar div[id="SideBar.sidebar"] { max-height: 450px; }