Hi guys, I''ve been using PmWiki on several of my projects. I really liked the configurability and customization possibilities of it. Two sites could look completely different, and you could make it impossible to see its a wiki if you didnt log in. But alas, as I didnt know PHP (and a bit reluctant to learn it, I already had to learn enough programming language syntaxes) I got stuck when I wanted sth beyond ''look and feel''. Then came along Ruby, which was apparently a ''devil-does-all'', with Rails and stuff, so I decided to switch to Instiki. And here comes my question (pardon my introduction): Is it possible to do sth similar with Instiki? Where is it defined how the look is? And then I don''t mean CSS layout, I know you can do that with Edit Web, but what is shown. I don''t mean content, clearly that''s what a Wiki is all about, but where the menu goes, for instance. Or what you want as header. Where and how is the master layout defined? Is it hard coded, which would be a pity? If so, how and is it possible to have two different sites look different? I couldn''t find anything on the instiki.org, but if sbdy could give some hints, I''m willing to initiate/contribute a ''Customizing Instiki'' page on the instiki.org. Cheers! Bart
Hello Bart If you download a copy of instiki and look in the app/views folder you should find what you want. You will probably want to start with the layouts/default.rhtml file. The syntax is pretty easy. It is html, except for stuff between <% and %> which is ruby code. Note, you will need to maintain a separate copy of instiki for each different layout you want, it isn''t (yet?) easy to have a different layout for each wiki, although it is with the ruby wiki which I wrote - www.soks.org - (shameless plug) which can be made to look very un- wiki like if you wish. Tom On 18 Aug 2005, at 19:11, naiznoiz wrote:> Hi guys, > > I''ve been using PmWiki on several of my projects. I really liked > the configurability and customization possibilities of it. Two > sites could look completely different, and you could make it > impossible to see its a wiki if you didnt log in. But alas, as I > didnt know PHP (and a bit reluctant to learn it, I already had to > learn enough programming language syntaxes) I got stuck when I > wanted sth beyond ''look and feel''. Then came along Ruby, which was > apparently a ''devil-does-all'', with Rails and stuff, so I decided > to switch to Instiki. And here comes my question (pardon my > introduction): Is it possible to do sth similar with Instiki? Where > is it defined how the look is? And then I don''t mean CSS layout, I > know you can do that with Edit Web, but what is shown. I don''t mean > content, clearly that''s what a Wiki is all about, but where the > menu goes, for instance. Or what you want as header. Where and how > is the master layout defined? Is it hard coded, which would be a > pity? If so, how and is it possible to have two different sites > look different? I couldn''t find anything on the instiki.org, but if > sbdy could give some hints, I''m willing to initiate/contribute a > ''Customizing Instiki'' page on the instiki.org. > > Cheers! > > Bart > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
Hello,> If you download a copy of instiki and look in the app/views folder > you should find what you want. You will probably want to start with > the layouts/default.rhtml file. The syntax is pretty easy. It is > html, except for stuff between <% and %> which is ruby code.Thanks! Thats sounds a lot like PmWiki and can be a nice push forward. I''ll check it out.> Note, you will need to maintain a separate copy of instiki for each > different layout you want, it isn''t (yet?) easy to have a different > layout for each wiki,Mmm. I can live with that for the moment...> although it is with the ruby wiki which I wrote - www.soks.org - > (shameless plug) which can be made to look very un- wiki like if you > wish.And now a smile comes on my face... I thought the diversity tree would and at Ruby(->Rails)->Instiki, but I''m wrong. How does Instiki compare to Soks? Only the fact that Instiki is (being) written in Rails? I care less about whether it is text or database based. Which wiki is more popular and used, in your opinion? (don''t want to start a discussion on this on the reflector, just an honest anwer). Which wiki is more supported by a group of developers? Don''t get me wrong on this one, but from an active group it is easier to learn. You did a nice job, writing a Wiki in Ruby. Just starting with Ruby, so I can only drool... ;-) Bart
On 18 Aug 2005, at 19:54, naiznoiz wrote:> And now a smile comes on my face... I thought the diversity tree > would and at Ruby(->Rails)->Instiki, but I''m wrong. How does > Instiki compare to Soks? Only the fact that Instiki is (being) > written in Rails? I care less about whether it is text or database > based. Which wiki is more popular and used, in your opinion? (don''t > want to start a discussion on this on the reflector, just an honest > anwer). Which wiki is more supported by a group of developers? > Don''t get me wrong on this one, but from an active group it is > easier to learn.Instiki is more popular, more used and has a larger group of developers! Soks was written to scratch a set of very personal itches* during a bad patch in instiki''s development a year or so ago (it wasn''t being actively maintained because Rails had taken off and David hadn''t yet got Alexey in to take over, it wasn''t easy to hack, the madeleine storage had issues, and the transfer of its code to the Rails framework delayed the introduction of some useful features, like file uploads). As such Soks has a few tricks and useful bits that makes it great for me and a few others, such as the fact that it can support multiple visual look and feels more easily, can do file uploads, can do automatic summaries, automatic linking, calendars, import rss feeds, import mailboxes etc etc etc... Now that Alexey has sorted the transition to rails I expect that instiki will start gaining features rapidly and become one of the best wikis in any language, not least because Rails is such a handy framework. I hope so, because one of the things I appreciate about open source projects is that diversity = inspiration and sources of good coding ideas! Tom * One of the biggest of which was to learn to code ruby.