Contents
- MoinMoin favicon not showing.
- Resize and position of <div id="page">
- Multi-Lingual Navigation Bar
- Disabling links
- Where can I suggest changes to the default (modern) theme?
- How can I edit the Editor Page?
- Problem configuring with non-default Theme
- How to add info to immutable installation pages?
- How could I use the logo_string var to link to an external side?
- How can I include a "rollover" effect in tables?
- Using MoinMoin as a filter
- FrontPage
- How can I change the page title layout?
- Different theme.py for sub-pages?
- override default theme for one page
- Mouse Over ToolTip Possible?
- Adding an infobox
- Who viewed what page?
- Is there a way to configure MoinMoin, that it shows existing attachments directly at the end of the page?
- Moin in frames
- Turn off Thank You Header?
- Avoid Link-Icons on linked images
- Question: How do I change the div #header size?
- Question: How do I move #username to .editbar?
- How do I change the default FONT-SIZE?
- How do I include custom smileys and images in my themes?
- My own Theme does not work for me on Ubuntu 8.10
- How do I change the font size of the text in ~--~?
- When I print my page I want to exclude embedded images {{attachment:foo.jpg}} from printing. How do I do that?
- Where have I to put the *.po Files with the Translations ?
- Default and Custom themes do not load in browser. This occured after a Ubuntu upgrade. Any suggestions on how to remedy?
MoinMoin favicon not showing.
I am using 1.9.3 remotely on a shared hosting account and the default blue/white MoinMoin favicon will not show up (it does show using Desktop Edition on my MacBook). How do I get the icon to show on tabs and bookmarks? I saw some config files around here about adding the html_head line but that did not work.
what does the server logs tell, where does it look for the favicon? May be it is only a wrong url/path.
- It was paths, I was taking the html_head code too literally as a default configuration, I had to add an additional directory per my installation needs. It works great, little icon shows up, thanks.
Resize and position of <div id="page">
I'm triyng to change the css properties for DIV layer id="page" but it seems to be sticky. I'm not able to resize or move it around. Any idea will be appreciated.
Multi-Lingual Navigation Bar
I'm trying to setup a multi-lingual wiki site. I want to add several links on the navigation bar. But unlike the links of system and help pages, the links I added can not be recognized as multi-lingual by default. How can I enable this function to my own links?
To have multi-lingual in the navigation bar, a translation of the pagename must be in the translation files, and a page with that name must exists. You need to create your own translation dictionaries. See HelpOnLanguages how to do that.
Disabling links
Is there any way to disable the username|login link that appears at the top right of the page next to the search box in the 'modern' theme?
- You need to modify the theme.
Where can I suggest changes to the default (modern) theme?
Open a MoinMoinBugs or FeatureRequests page. If nobody cares about your suggestion, create your own theme and publish in on ThemeMarket.
How can I edit the Editor Page?
I like to edit the Editor Page. More precisely, I like to add some more syntax examples, (e.g. for line breaks ''BR'' or @SIG@.) So how can I configure that info on the Editors page?
- editor_quickhelp in your wikiconfig (see MoinMoin/multiconfig.py for details)
Problem configuring with non-default Theme
I am trying change the theme of RUSLUG wiki. In the process, I seem to have broken the themes. I cannot debug the problem. I've tried both re-creating the instance from scratch from the directions from Gauss. I also removed the debian moinmoin-common package and reinstalled, but the wiki still seems unhappy.
My problem was solved, the solution is here HelpOnInstalling/TroubleShooting. I had url_prefix set to the ScriptAlias rather than the Alias in the wikiconfig.py for my instance. Maybe there should be a strong negative comment (NOT ScriptAlias in Apache) to prevent further confusion?
Feel free to do EditingOnMoinMaster.
How to add info to immutable installation pages?
I developed a way to use MoinMoin from under IIS (MoinMoin ISAPI) and suppose it should be included in the IIS installation pages that I can't change. Whom should I ask for it?
Read EditingOnMoinMaster.
How could I use the logo_string var to link to an external side?
How is it possibile to link the logo_string to a different side and not as on default to the wiki itselfs? -- ReimarBauer 2005-11-13 09:52:17
see FeatureRequests/LinkLogoToUrl
How can I include a "rollover" effect in tables?
What is the correct style coding for changing the background colour ofa table (whole, cell or row) when the mouse hovers over it? -- Thanks,Casethejoint.
- Modify the CSS on the theme and use pseudo classes in there.
Using MoinMoin as a filter
I would like to be able to write some static website content in wiki markup without making use of the editing, revisioning, etc. aspects of a full wiki. Can anyone give me some pointers on how to apply Moin's markup-to-HTML transformation from a Python script? Cheers!
look at the theme modern_cms this comes nearly to the aspect you want. You could suppress some more things if you want
FrontPage
Hi all, how do I remove the title FrontPage at my FrontPage, whereby when you click it, it will do a full text search. Thanks.
The page name you see there is an important part of navigation and should not be removed. If you insist on removing it, write your own theme (inherit most stuff from ThemeBase or modern theme).
How can I change the page title layout?
I use the Mentalhealth theme but dislike the way the page title is displayed at the top, it appears as a bulleted list item... doesn't stand out much!
Clear your browser cache. If it doesn't help, the theme isn't ready for 1.5. To see the changes from whatever version you used before to 1.5.0 maybe simply use diff -ur old/wiki/htdocs/modern 1.5/wiki/htdocs/modern. Esp. the header stuff changed from lists to spans. -- ThomasWaldmann 2006-01-18 09:34:55
I actually don't have any older version. Just curious how to patch existing theme to work with current version. Is there any document on porting thems to version 1.5? -- PavelAntokolsky 2006-01-18 13:16:49
I like the way the Modern theme displays a large title, could someone please point me to which file/lines to copy from the modern theme to replicate the effect in Mentalhealth? I had a look but couldn't find it. Actually I couldn't even find the modern.py which I would think is where I should be looking.
See MoinMoin/theme/ directory. The css is in wiki/htdocs/modern/css/. The stuff you look for is "location", "trail", etc. - some stuff changed from <li> to <span>.
Thanks, that helped, had to change the <li> so that it doesn't look like an <li> at all - like so: #pagelocation li {display: inline;}
This is how it is currently looking (Mentalhealth theme), which I don't like:
This is how the Modern theme displays the same thing (as best I can do with the formatting), which I do like. (This is the located just above the page trail):
As a side note, I really like the way the title in moinmoin.wikiwikiweb.de appears, but it seems different from the modern theme in the latest MoinMoinDesktopEdition. I guess I have to wait for the next release?
-- DanielMundy 2006-01-11 04:40:27
Different theme.py for sub-pages?
One of my customisations to the Mentalhealth theme was to add a .png image to the top of the right-side-bar. I've noticed that on my sub-pages, eg. HelpOnEditing/SubPages, the image does not appear. Any ideas? Thanks, -- DanielMundy 2006-01-13 01:05:00
What is the URL you are using for the image? It should be absolute (starts with a "/"). Even though the moin storage backend does not treat the slash in the page/subpage in any special way, your browser will. So if you have a relative URL the browser will itself compute an equivalent absolute URL based upon what it thinks the current "directory" is. Obviously for a subpage this will result in a different URL, and likely a broken image link. -- DeronMeranda 2006-01-15 07:39:00
Thanks, that was exactly the problem. -- DanielMundy 2006-01-15 22:49:43
override default theme for one page
Is there a way to override the default theme on one page using the editor, i.e., without configuration file changes? For example, if a wiki is using classic as the default theme, can I cause it to use modern on a page simply by inserting code when I edit a page? Obviously I can change it in my preferences, but I need to change the default theme on one page so it will display even for users who are not logged in. -- 24.205.227.69 2007-03-21 20:07:56 (ps - this page, MoinMoinQuestions, is way too large and as a result has serious performance issues, could be broken up?)
You can add an argument to the macro described at ThemesMacro. -- ReimarBauer 2007-03-21 22:55:28
Actually, I can't add an argument to the macro, I don't have access to the config files -- I'm a user of the wiki, not an admin. Now that I think about it, it's probably a good idea that users can't make changes of this type via the editor. Thank you for the suggestion. -- 24.205.227.69 2007-03-24 19:24:27
Mouse Over ToolTip Possible?
I've converting from FlexWiki to MoinMoin. One of the nice features in FlexWiki is the ability to have a Summary defined for a topic. That summary is an attribute of the topic; when you put the cursor over a link to that topic the summary comes up in a tooltip.
Is this possible in MoinMoin?
No, not yet. But you could check whether we already have a FeatureRequest for that and if not, create a new one for that (and remove the text from here). -- ThomasWaldmann 2007-05-08 18:11:45
Adding an infobox
I am new to MoinMoin, but in order to transfer an existing site, I must be able to have a textbox as in Wikipedia. Do I have to modify the py-files?
Do you ask about getting a frame around a table and that aligned to somewhere? If so do have a look at ParserMarket/Frame.
A little more complex... A table right-aligned that is fed by values, where the parameters shall be fed from an "easy to fill" list in the page... Ideally, the parameters/values should be matched with a MySQL-table, but that is anything but urgent. The implementation of an "infobox" is... I had a look also at macro/CardMacro, but seem to have a "logical problem" interpreting it to do what I want it to do...? Can one combine these two (and how)? I am "just a web developer" with an Admin handling the technical side of Moinmoin for me... I could write the code for the static page (using PHP to handle the variables), but am "lost" with MoinMoin... Thanks for any help.
Who viewed what page?
It would be very useful to be able to evaluate who is accessing what pages and how often. It's not so much to play "Big Brother" and profile individual users, but the hits data as it stands is pretty useless (IMO). When someone is working on a page and editing it regularly, it creates so many hits that it's impossible to tell if anyone is actually making use of the pages, or if we're just writing in our secret diaries. So if we could at least filter out the known editors of a page, the remaining hits would be meaningful. Further, being able to see who is viewing the page can give us an idea of what teams are making use of the information, and help to weed out multiple hits from the same person. (If one person views the page 10 times because they are navigating between different pages or opening/closing browsers, it really doesn't mean they're getting 10 times the use out of the page, and is not nearly as significant as if 10 different people were using the page.)
I noticed in the edit-log, the editor information is stored, but I could not make out anything that looked like identifying info. in the event-log. Is this tracked in any way? Thanks. -- SteveDavison 2007-03-01 10:35:18
Is there a way to configure MoinMoin, that it shows existing attachments directly at the end of the page?
I think, not everybody will notice, that there are attachments on this page. Therefore I tried to change this behaviour but did not managed to. Thx for help
[[AttachList]] macro evaluates to the list of attachments of the current page. Insert this macro in any place on your page you want and they're all visible.
I'm having the same problem, so let me rephrase the question: Is there are a way to get an attachment list like the one generated by [[AttachList]] automatically at the bottom of every page that has attachments? Thanks! -- MichaelSchuelke
In principle, you can add something similiar as this to Page.py, before endContent. This patch is currently for 1.6. -- ReimarBauer 2007-05-25 13:59:12
wikiutil.renderText you can get from the MiniPage at MacroMarket for 1.5.x versions.
--- a/MoinMoin/Page.py Wed May 23 17:41:00 2007 +0200 +++ b/MoinMoin/Page.py Fri May 25 15:44:36 2007 +0200 @@ -1091,7 +1091,7 @@ class Page(object): request.emit_http_headers() request.write(self.formatter.startDocument(self.page_name)) # send the page header if self.default_formatter: if self.rev: @@ -1159,6 +1159,8 @@ class Page(object): from MoinMoin.macro.FootNote import emit_footnotes request.write(emit_footnotes(request, self.formatter)) + from MoinMoin.parser.text_moin_wiki import Parser as WikiParser + request.write(wikiutil.renderText(self.request, WikiParser, '[[AttachList]]')) # end wiki content div request.write(self.formatter.endContent())
Simple solution for 1.5.8: edit Page.py to add a couple lines around line 1264 like this:
# check for pending footnotes if getattr(request, 'footnotes', None) and not omit_footnotes: from MoinMoin.macro.FootNote import emit_footnotes request.write(emit_footnotes(request, self.formatter)) # NEW STUFF TO ADD from MoinMoin.parser.wiki import Parser as WikiParser WikiParser('[[AttachList]]', request).format(self.formatter) # END NEW STUFF # end wiki content div request.write(self.formatter.endContent())
Moin in frames
Hi, I would like to know if somebody has tested Moin as part of a frame or something similar. I am thinking about that because a potential customer wants a wiki implemented on his pages and I do wiki hosting. So this means I would not install a wiki on the customers web server. -- ThiloPfennig 2006-01-22 10:30:30
Maybe just try it. I think it will only have the usual "frame usability problems" like not being able to bookmark or use the URL with the browser. -- ThomasWaldmann 2006-01-22 10:54:23
Turn off Thank You Header?
I'm new to moinmoin, and can't seem to figure out how to turn off the automatic "Thank you for your changes. Your attention to detail is appreciated" message. I searched, but I can't seem to find this out. How can I make it so the banner never appears?
- I think you have to disable this option in your theme. In my case, i had to comment this out:
# self.msg(d),
-- Best Regards, Andreas Traub DateTime
- Note that this will hide more useful messages while editing, and user interface for renaming and deleting pages and other actions.
You can try altering saveText method in PageEditor to return empty msg in that case, do it with care though. -- DonLeri I have added a patch no_thanks_message.patch which will disable the thank you message only. You can read the file (plain text) or use WinMerge or any patch tool to apply it to your wiki. All other messages are not suppressed. It is tested on MoinMoin 1.9.1 (running Python 2.6).
Avoid Link-Icons on linked images
How can I avoid an attached icon (the earthball-icon for example) for linked images?
Any external link like this
[[http://www.larpzeit.de/[|{{http://www.larpzeit.de/Bilder/Banner/Banner-468x60_40kb.gif|LARP Zeit]}}]]
shows the earthball-icon, so it looks quite odd. Especially if there are many external linked images on one page. Is there an easy way to avoid the icons for image-links on per link base, per side or for the entire wiki?
-- MelaEckenfels 2008-06-17 17:05:46
- One way is to comment out / delete the respective lines in the css sheets. If you don't want the earth-icon remove
a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
from common.css and the corresponding similar line from msie.css.
Hello, thanks for this info, but I'm looking for other ways, probably more flexible ways to hide moin-www.png. Is there a way to selectively hide moin-www.png icon? For instance, 1) based on server domain name, i.e., if a MoinMoin Wiki resides on http://www.yyy.zzz, do not show moin-www.png on any link that has yyy.zzz domain name. 2) based on list of server domain names either defined by list in a configuration file, or provided by a simple textfile file, like intermap.txt (kind of). - MinsooKim
Question: How do I change the div #header size?
I am currently working on a new theme based on the modern theme and I have problems changing the layout of the div #header since the contents of this container seem to be fixed somehow. How, and specifically in which file, can I change that? For example I want the #logo to appear in the top of the #header and I want all the other containers (#username, #searchform etc.) to be under #logo (y-axis)?
Thanks. -- JohanZiprus 2024-12-22 03:21:23
You need to override the CSS. To figure out what CSS to override, a good tool to use is the Firefox browser with the Web Developer extension installed. Assuming Firefox is installed, do Tools, Add-ons, Browse All Add-ons, Web Development, search for Web Developer by Chris Pederick, install it and restart Firefox. Load a web page using your theme, click Ctrl-Shift-Y, mouse over the element you want to customize and click. Everything you need to know about the present CSS styling for the element will appear in the lower half of the screen. To figure out what to change, you will probably want to invest in a book on CSS. -- RogerHaase 2008-06-30 20:23:48
Question: How do I move #username to .editbar?
When changing the modern theme I have aligned the text in the .editbar to the right and I want the contents of the #username to appear in the left side of the .editbar only, not in the header (I also only show the .editbar in the footer since this is going to be a CMS-like site). My problem is that when I remove the #username in the #header tag in my theme.py file it still shows in the #header when reloading the page. My second problem is how to edit the .editbar so the #username contents appear there instead. When looking at the methods/functions editbar() and editbarItems() in init.py it does not seem to be changeable from there?
Thanks. -- JohanZiprus 2024-12-22 03:21:23
If you think you removed #username and it is still there, a guess is you missed :>). If you haven't already done so, you may want to download several contributed themes and look over the code. Maybe you can find one that has moved #username to a different position and that will provide a clue.
How do I change the default FONT-SIZE?
Hello, I've got just al little question. Is there a way to change the default font-size of the main texts in the wiki? Thanks in advance. -- 2024-12-22 03:21:23
Hello, just edit your /(moin directory)/wiki/htdocs/(yourtheme)/css/common.css. There you can edit the html-section and increase your font size, e.g. font-size: 1.3em;. MatthewKnodler -- 2024-12-22 03:21:23
How do I include custom smileys and images in my themes?
Hello, I would like to improve my MoinMoin Wiki with custom smileys and images. Therefore, I created for example a "Priority 4" Icon. Then I inserted it in my /moin-1.8.0/build/lib/MoinMoin/theme/modernized.py and /moin-1.8.0/MoinMoin/theme/modernized.py according as following:
- '{4}': ("{4}", 'prio4.png', 15, 13),
MatthewKnodler -- 2024-12-22 03:21:23
Nevertheless, when I restarted the server of my Desktop edition (under Linux), inserting {4} didn't work for me. I even deleted the pyc files, nothing worked. How do I customize my modernized theme?
My own Theme does not work for me on Ubuntu 8.10
I did exatly the steps described in "HelpOnThemes" to custumize my own theme. I copied the theme folder usr/share/moin/htdocs/modern to usr/share/moin/htdocs/mytheme. Then I copied the file /usr/share/python-support/pyhton-moinmoin/MoinMoin/theme/modern.py to the file /usr/share/moin/data/plugins/theme/mytheme.py and edited the file to modify the theme name. Afterwards I reseted the server but my own theme is not available to select. Where is my mistake?
Harald Hammerl -- 2024-12-22 03:21:23
I wonder a bit about your wiki instance location is it really /usr/sharemoin/ ? I guess you've copied the mytheme.py to the template wiki and not to your wiki instance. If I am wrong check the owner and the accessrights. -- ReimarBauer 2009-04-19 17:32:24
Again "/usr/share/moin/data/" is not your wiki instance it is the template wiki data path. Your wiki instance likly is named mywiki or something what describes your content. You have copied /usr/share/moin/data/ to your instance location at the time you have setup your instance. If you run moin-1.8 and you are the superuser of your wiki you can get the data_dir path of your instance by adding <<WikiConfig>> to one of your pages. -- ReimarBauer 2009-05-20 06:58:01
How do I change the font size of the text in ~--~?
My "small" text doesn't look small enough for me. How can I make it smaller?
When I print my page I want to exclude embedded images {{attachment:foo.jpg}} from printing. How do I do that?
As a workaround disable images in your browser and then print
Where have I to put the *.po Files with the Translations ?
I have really searched, but I cannot find the place where I must put the german language file de.simplemente.po for the theme simplemente ( ThemeMarket/SimpleMente ).
Is perhaps (in an ubuntu-installation) the place /usr/share/pyshared/MoinMoin/i18n and a softlink in /usr/lib/pymodules/python2.6/MoinMoin/i18n correct, and I only have to clean my cache in some way ?
By the way, is there anywhere a discription of the directories used by MoinMoin and what there meaning is ?
Default and Custom themes do not load in browser. This occured after a Ubuntu upgrade. Any suggestions on how to remedy?
Just upgraded from Ubuntu 8.10 to 9.10 and found that mywiki was no longer working. I received an error associated with the moin.cgi. I remedied this problem by copying the moin.cgi from the server folder to the mywiki folder. This corrected the error, but resulted in mywiki only showing texts sans themes. Any idea what to do to remedy the problem? Thanks,