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? Thanks. Regards, Richard -----Original Message----- From: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] 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 <guillaume@xwiki.com> 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 <motgupta@gmail.com> 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 <guillaume@xwiki.com> 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 <motgupta@gmail.com> 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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
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
_______________________________________________ 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
Hi Richard, On Thu, Feb 2, 2012 at 4:57 PM, goldring, richard <richard.goldring@uk.thalesgroup.com> 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: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] 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 <guillaume@xwiki.com> 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 <motgupta@gmail.com> 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 <guillaume@xwiki.com> 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 <motgupta@gmail.com> 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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
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
_______________________________________________ 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 _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
+1 I think this should be part of the "Link" WYSIWYG editor! I don't have the knowledge to modify the source-code, but I do the advantage to modify the source-code (or implement a copy). We have developed several ClickOnce Applications for internal company use, which accept URL-parameters. I would love to extend the "Link" menu, so people can choose "Link to ClickOnceApp", supply the URL-parameter(s) and XWiki will generate the correct link! Is there a step-by-step tutorial on how to modify the WYSIWYG-editor??? (I know, whishful thinking!) -- View this message in context: http://xwiki.475771.n2.nabble.com/Linking-tp7247202p7250922.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Fri, Feb 3, 2012 at 4:36 PM, Hamster <teunham@hotmail.com> wrote:
+1
I've created https://github.com/xwiki/xwiki-platform/tree/feature-alfresco-link . Checkout https://github.com/xwiki/xwiki-platform/blob/feature-alfresco-link/xwiki-pla... and the https://github.com/xwiki/xwiki-platform/blob/feature-alfresco-link/xwiki-pla... as an example implementation of the service that is used to browse the tree structure (e.g. file system). You could start by cloning xwiki-platform GitHub repo, checkout the feature-alfresco-link branch, change XWikiAlfrescoService to return information about the network file system, build the WYSIWYG editor modules and update the WYSIWYG editor of your XE instance. Updating the WYSIWYG editor usually means: * overwrite the server and shared jar in WEB-INF/lib * delete resources/js/xwiki/wysiwyg/xwe folder and copy the same folder from the wysiwyg war
I think this should be part of the "Link" WYSIWYG editor!
I don't have the knowledge to modify the source-code, but I do the advantage to modify the source-code (or implement a copy). We have developed several ClickOnce Applications for internal company use, which accept URL-parameters. I would love to extend the "Link" menu, so people can choose "Link to ClickOnceApp", supply the URL-parameter(s) and XWiki will generate the correct link!
Is there a step-by-step tutorial on how to modify the WYSIWYG-editor??? (I know, whishful thinking!)
Unfortunately no. Hope this helps, Marius
-- View this message in context: http://xwiki.475771.n2.nabble.com/Linking-tp7247202p7250922.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
goldring, richard -
Hamster -
Marius Dumitru Florea