Hi Richard, On Thu, Feb 2, 2012 at 4:57 PM, goldring, richard <[email protected]> wrote:
Hi,
Does anyone know which macros I might need to edit to update to add a new menu option in the WYSIWYG editor to the Link menu say called "Link to file" and then display a "Link To File" dialog pane with a browser to allow a user to browse to a file on a network drive and select in and then insert a link to the file in the wiki page?
You have to work with the WYSIWYG editor code in order to extend the link menu and add a new link wizard. You can find the code here https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik... , so you have to clone the xwiki-platform Git repository. The WYSIWYG editor is written in Google WebToolkit (Java code with a bit of JavaScript) which is compiled to JavaScript. I've started a while ago to write a WYSIWYG editor plugin that allows you to create a link to an Alfresco file. I believe this plugin can be modified to take the tree file structure from the file system / network drive instead of the Alfresco REST service. If you're interested and you think you have the skill to modify it, I can publish by code on a feature branch of xwiki-platform on GitHub. Hope this helps, Marius
Thanks.
Regards,
Richard
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of mohit gupta Sent: 02 February 2012 11:36 To: XWiki Users Subject: Re: [xwiki-users] How to customize the default skin and default stylesheet?
Thanks for providing clarity and pointing to these documents.
On Thu, Feb 2, 2012 at 4:29 PM, Guillaume Lerouge <[email protected]> wrote:
Hi Mohit,
I'm not sure how you expect a Wordpress template to work with XWiki.
By the way, did you read the following documents?
- http://platform.xwiki.org/xwiki/bin/view/Features/Skins - http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins
Guillaume
On Thu, Feb 2, 2012 at 11:30 AM, mohit gupta <[email protected]> wrote:
Hi Guilaume,
sorry i am not getting how and where to to add new skin and template.
here is what i did to change the default skin:-
1)Create a new page named as MyAppSkin under xwiki space.Inside that page i added the template under attachment section.Like i downloaded the template Free WordPress 2.x Themes from site http://www.templatemonster.com/free-templates.php and then gave the name as XWiki.MyAppSkin in the Skin field of the presentation section of the administration. But it did not have any impact.
2)similary i am not sure where to add my customize MyApp.css in wiki.
On Thu, Feb 2, 2012 at 1:07 PM, Guillaume Lerouge <[email protected]> wrote:
Hi Mohit,
you can override both of those by adding a XWiki.XWikiSkins object in a document and adding the name of that document in the Skin field of the presentation section of the administration.
Guillaume
On Thu, Feb 2, 2012 at 8:19 AM, mohit gupta <[email protected]> wrote:
Under the presentation section of look and feel, i see skin as XWiki.DefaultSkin and DEFAULT STYLESHEET as style.css. If i want to replace both of these with my customized skin and stylesheet, how should i go about this? where should i put my both these new docs? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users