Hello,
As we are currently migrating our XWiki server to 64bit platform I believe I have freedom to consider switching DB.
We are currently using 32bit MySQLv5.0.77 (innodb engine, 500M of attachments stored in-db) so the options are
· Upgrade to MySQLv5.6.x
· Migrate to PostgreSQL 8.1 (via XWiki export/import as xar backup feature)
The question is: which of those databases is more supported? (mostly used for development, supported by admin application, etc)
Regards,
Roman
Hi there,
Although it sounds really easy, I haven't managed to define a Link that,
when pressed, will stay on the same page but change from VIEW mode
to the EDIT mode.
I tried this
[[My Link Text>>$doc.getURL('edit', 'editor=inline')]]
And I tried to switch the $context object with set LinksAction() etc.
That all does not work as expected. I am currently testing with the
admin account to make sure that it is not a rights problem.
My solution is based on the FAQ example, i.e. XYZClass, XYZSheet and
XYZTemplate. It works nice but Iwant to give the user the ability to switch
easily frpm VIEW mode to EDIT mode while viewing an object. I added the
above line to XYZSheet. The Link has a questionmark behind it.
If I click the Link it shows "edit" in the URL but an empty xwiki edior is
opened instead of the form in EDIT mode.
The work around is currently to access in VIEW mode first and to
replace "view" by "edit" in the Browser URL field - that works but
is of course no durable solution.
Any help would be great.
Thanks a lot
Torsten
p.s. I am using Xwiki enterprise 3.5.1 under Linux with MySQL
Hi Marius,
Thanks for your response, it works when I use display macro to include the
testpage into the other page, but I need also to include (display) the page
with inline mode inside the other page, since user can click the edit
pencil button on the right corner of the testpage to edit it, right now the
edit button will lead to the testpage in inline mode but the testpage is
not inside the other page which originally include(display) the testpage.
So how to include or display a page with inline mode into another page?
Thanks for your help.
David
On Fri, Nov 2, 2012 at 3:06 AM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
> On Thu, Nov 1, 2012 at 10:51 PM, Geo Du <dddu88(a)gmail.com> wrote:
> >
> > Hi All,
> >
> > I want to include one page into another page in terms of content instead
> of
> > velocity code, for example, the Blog.WebHome is a page without velocity
> > code if you choose Edit->Wiki, but it has Blog.BlogClass if you select
> > Edit->Objects, from Blog.WebHome page, I can create a new post with tile
> > testpage, now the Blog.testpage is the new page created that I need to
> > include into another page, this testpage has no velocity code from
> > Edit_>Wiki. so how to include that page into a different page?
> >
>
> > I tried: include Macro, includeInContext Macro, includeTopic Macro, none
> of
> > them displays the testpage for me, any idea?
>
> "display" is the key. You want to display not to include. See
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Display+Macro .
>
> Hope this helps,
> Marius
>
> >
> > Thanks very much for your help.
> >
> > David
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
Hi All,
I want to include one page into another page in terms of content instead of
velocity code, for example, the Blog.WebHome is a page without velocity
code if you choose Edit->Wiki, but it has Blog.BlogClass if you select
Edit->Objects, from Blog.WebHome page, I can create a new post with tile
testpage, now the Blog.testpage is the new page created that I need to
include into another page, this testpage has no velocity code from
Edit_>Wiki. so how to include that page into a different page?
I tried: include Macro, includeInContext Macro, includeTopic Macro, none of
them displays the testpage for me, any idea?
Thanks very much for your help.
David
Hi all,
I like to remove some of the menu items based on the user logged in, for
example for one type of users, I need to remove the Add menu, or change
Wiki, Space or Page menus to my own menus, I checked the users rights, it
has View, Comment, Edit, Delete, Register, Program, they seem not designed
for that, any suggestions? I checked menuview.vm, that is where to control
the menus, it seems I need to change this file.
Thanks for your suggestions in advance.
David
Hello,
No issues here just needing some insights on filesystem storage ...
I just moved to it (on 4.3-milestone-1), and ran script to migrate my
attachments from db to filesystem.
Though attachments seem to open perfectly well, I'm surprised by the
difference in size: file "xwikiattachment_content.MYD" (I'm using
MySql as you guess) is about 1,3GB, while my whole folder
${xwiki.data.dir}/storage is only about 600MB.
What could explain such a big difference ? (apart from some
attachments that may not have been migrated)
Considering: "It is prudent to leave the attachments in the database
since in most situations the attachment data is not bothersome just
sitting in the database (The only risk of attachments left in the
database is that they will bloat the size of the database files)" [1]
Ok with that, but supposing that I checked my attachments are ok and
I'm satisfied with fs storage (or I'm just using a test xwiki that I
can blow away without risk), removing attachments from db means
cleaning table xwikiattachment_content, is it right ? Can I remove
other xwikiattachment* tables, or are they still used to reference the
attachments ? (I guess they do but...)
Thanks,
Jeremie
[1] - http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+…
To all,
In our organisation we are using a lot of MS Excel Spreadsheets which holds
all kinds of data. These Excel Spreadsheets are stored on our servers, but
they are "scattered" across our network. We want to organise there files
better. We DONT want to upload these files to XWiki, because we want those
file to be easily accessable from our network as well (and we have trouble
with large attachments (71Mb) which refuse to be removed from XWiki).
We have created multiple spaces in our XWiki, lets say they are called A, B
and C. Each space has been "locked down" and only users with the right
permissions can access those spaces.
I am thinking about creating a new file-structure on our server. One main
folder called "XWiki" I want to create sub-folders "A", "B" and "C". Our IT
department will apply the correct rights to each sub-folder.
In our XWiki, we can then create UNC-links to the files on our server (which
I create by hand, because I am the only one with the knowledge to create
these links :-).
What do you think about this setup? I am interrested in all opinions,
experiences, etc.
P.s. With "MS Excel Spreadsheets" I mean all kinds of files :-)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Organising-files-on-the-network-tp7582099…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'd like to build a wiki to catalog my watch collection and experiment with XWiki.
User Name: ronaks
Server Name: Â watches.myxwiki.org
Thanks,
Ronak
Hi all, I log in to wiki with my admin credentials. Now navigate to
administer wiki but i do not see the wiki default images
like configuration.png,lf.png,usersgroups.png etc
When i go to firebug and inspect that image , i see the path as
/mywiki/bin/download/XWiki/AdminSheet/configuration.png
but there is no folder like this under mywiki (looks like they are stored
in db and returned thru servlet.Just a guess)
Just for information, i am running my wiki instance in disk mode so that
all my attachments are stored in file system instead of db.
Below is the change i did for that:-
xwiki.store.attachment.versioning=0
# disable document recycling
storage.attachment.recyclebin=0
xwiki.store.attachment.hint = file
xwiki.store.attachment.versioning.hint = file
xwiki.store.attachment.recyclebin.hint = file
*I am not sure what i am missing here? Is running wiki under disk mode the
cause for it ?, If yes what is the right way to proceed?*