Re: [xwiki-users] Custom Default Skin Everywhere, Except Login Page
Thanks for this guys I'm happy to give this a go, and I will do so. What I am wondering for the greater community, is how this is reproducable over new versions of xwiki? It seems that this is bound to the source vm. If I was to re-deploy xwiki then I would drop this behaviour (I know this is the same with the skin too). Sorry if Im being a pain, but Im sure this is some functionality others would like :) ...thanks & back soon! On Thu, Mar 20, 2008 at 12:29 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]> wrote: > Hi Guillaume. > > Guillaume Lerouge wrote: > > > > Go to your xwiki folder on your filesystem -> go to webapps > xwiki > > > templates & open login.vm in a text editor. > > > > In the file, replace > > > > #else > > ### > > ### Login page > > ### > > ### > > > > with > > > > #else > > #if("$!request.skin" != "YOURSKINHERE") > > $response.sendRedirect($doc.getURL("login", "skin=YOURSKINHERE")) #end > > ### > > ### Login page > > ### > > ### > > > > > > Save the file & try to login again -> you're done :-) > > > > Guillaume > > Please, must I expect that this solutions works if I copy login.vm to a > new skin folder associated with a virtual wiki and modify it accordingly? > > It works for me by modifying login.vm and forcing albatross instead of > toucan. But it doesn't work with a skin defined in a virtual wiki. > > I guess Andrew doesn't user virtual wikis, so let's see if it works for > him! > > Thank you so much, > > Ricardo > > -- > Ricardo Rodríguez > Your EPEC Network ICT Team > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Custom Default Skin Everywhere, Except Login Page
Hmmm this is crazy... I tried setting... xwiki.defaultskin=myskin xwiki.defaultbaseskin=myskin But it still shows albatross for some reason I tried symlinking albatross -> myskin on the filesystem, and it wouldn't load any skin at all (indicates a permission problem, but not filesystem permissions) I did mv albatross albatross_orig; cp -Rp myskin albatross and it works at the login page! Guillaume, I can't edit the login page's access write's. If I login then try to get to the login page, it fowards me to the wiki home page. So I can never get to a position where I can change its access writes. Never the less, I have a solution. Overwrite the albatross skin with myskin... not the best... but the number of emails on this thread indicates that it is not easy to replace in a clean fashion. I'm happy to call my skin albaross if it means it saves me a day or so's worth of work. Thanks for everyone that replied and tried to help! On Thu, Mar 20, 2008 at 2:30 AM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]> wrote: > Hi, > > Sergiu Dumitriu wrote: > > Hi, > > > > Where did you define your custom skin? > > > > My take is that because you have "always authenticate on viewing" > > enabled, the skin document is inaccessible. > > > > You can define your skin in xwiki.cfg, see xwiki.defaultskin > > But this will affect to the main and virtual wikis, I guess. Is it > possible to have a customized skin applied to each xwiki login page? > > Perhaps it could be possible to use the same method proposed by > Guillaume... > > http://code.xwiki.org/xwiki/bin/view/Snippets/ForceSkinSnippet > > But I don't know how to do this with the login page yet. Any help will > be welcome! Thanks. > > Cheers, > > Ricardo > > -- > Ricardo Rodríguez > Your EPEC Network ICT Team > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Custom Default Skin Everywhere, Except Login Page
Thanks Ricardo, Problem still persists.. anyone else have any ideas? Im getting a little concerned I might just have to go rename my own skin albatross On Tue, Mar 18, 2008 at 9:58 AM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]> wrote: > Hi, > > Andrew Hughes wrote: > > Yes, it's most certainly set :'( > I see what you say (same behavior here), but I am afraid I've not the > solution. I don't know enough about XWiki structure as to help you with > this issue. Let's see if other can help. > > In any case, I keep attentive to this thread. > > Thanks! > > -- > Ricardo Rodríguez > Your EPEC Network ICT Team > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Custom Default Skin Everywhere, Except Login Page
Yes, it's most certainly set :'( On Sat, Mar 15, 2008 at 11:43 AM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]> wrote: > Andrew Hughes wrote: > > Hi All, > > > > I've changed my default skin to a custom skin. Once logged in all > > users on all pages get this default theme :) > > > > However, the login page has the albatross theme still. I've tried > > adding &skin=myskin on the end and that works brilliant. But that's > > not good behaviour. > > > > What am I missing in order to fix this? > > Have you set "Always authenticate on viewing:" to Yes? > > HTH, > > -- > Ricardo Rodríguez > Your EPEC Network ICT Team > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Custom Default Skin Everywhere, Except Login Page
Hi All, I've changed my default skin to a custom skin. Once logged in all users on all pages get this default theme :) However, the login page has the albatross theme still. I've tried adding &skin=myskin on the end and that works brilliant. But that's not good behaviour. What am I missing in order to fix this? Thanks in Advance --Andrew ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users