[xwiki-users] Having a blog on the wiki front page
Hi List, I would like the front page of my wiki to show /amongst others/ the last articles of the global blog. I tried to add a "blog" object to the Main.WebHome page, but that causes it's entire content to be replaced... Is there a way to "include" a blog object in such a way that the rest of the page (mostly just text) remains visible? Thanks in advance for your time, Frits
On 05/04/2012 08:40 AM, Frits Jalvingh wrote:
Hi List,
I would like the front page of my wiki to show /amongst others/ the last articles of the global blog. I tried to add a "blog" object to the Main.WebHome page, but that causes it's entire content to be replaced... Is there a way to "include" a blog object in such a way that the rest of the page (mostly just text) remains visible?
Thanks in advance for your time,
You shouldn't add a new blog object, since you're actually creating a new blog that way. The proper solution would be to have a {{blog}} macro, but that's not available yet. Meanwhile you can edit the dashboard and add an Include macro, with "Context" set to "New", and "Document" to "Blog.WebHome". Don't forget to set a proper "Gadget Title". Take notice, editing the dashboard means editing the "Dashboard.WebHome" document, not the main page. where the dashboard is merely referenced. -- Sergiu Dumitriu http://purl.org/net/sergiu/
On a side note (using XWiki 3.5) XWiki uses a lot of "drag and drop" features, but the layout of components in the DashBoard is by setting row and column numbers! That's just brutal :-) Are there any changes in the newer XWiki's? -- View this message in context: http://xwiki.475771.n2.nabble.com/Having-a-blog-on-the-wiki-front-page-tp752... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Sergiu, Thanks, after your tip I ended up adding an "include" to the Main.WebHome page itself instead of adding it to the dashboard. That seems to work just fine too ;-) Again thanks for your help! Frits On Fri, May 4, 2012 at 5:19 PM, Sergiu Dumitriu <[email protected]> wrote:
On 05/04/2012 08:40 AM, Frits Jalvingh wrote:
Hi List,
I would like the front page of my wiki to show /amongst others/ the last articles of the global blog. I tried to add a "blog" object to the Main.WebHome page, but that causes it's entire content to be replaced... Is there a way to "include" a blog object in such a way that the rest of the page (mostly just text) remains visible?
Thanks in advance for your time,
You shouldn't add a new blog object, since you're actually creating a new blog that way. The proper solution would be to have a {{blog}} macro, but that's not available yet. Meanwhile you can edit the dashboard and add an Include macro, with "Context" set to "New", and "Document" to "Blog.WebHome". Don't forget to set a proper "Gadget Title".
Take notice, editing the dashboard means editing the "Dashboard.WebHome" document, not the main page. where the dashboard is merely referenced. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On 05/07/2012 07:59 AM, Hamster wrote:
On a side note (using XWiki 3.5)
XWiki uses a lot of "drag and drop" features, but the layout of components in the DashBoard is by setting row and column numbers! That's just brutal :-)
Hi Hamster, I fail to understand what "brutal" means in this context, and I don't see how are the 2 opposed: using drag and drop and storing positioning as row and column. Can you develop the subject, mentioning what are the disadvantages of this approach and/or what are you trying to do and it doesn't work? (since it seems to have a negative meaning, though).
Are there any changes in the newer XWiki's?
No. Thanks, Anca
-- View this message in context: http://xwiki.475771.n2.nabble.com/Having-a-blog-on-the-wiki-front-page-tp752... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Anca, If you want to modify the main page, you can use "Edit" --> "Objects" to change the layout/contents, right? You will be taken to the "Editing objects of Wiki Home" page, which displays the objects. You need to digdown the object to find the property "position". That's where you will have to enter 1,0 or 1,1 or 2,0 or 2,1 to set the position of that object. Looking at the more sophisticated drag-drop features that XWiki can use, setting the position with digitals for row and column position just seems "brutal" to me. Maybe "brutal" is not the correct word...mayby "outworn" or "out-of-date" is more appropiate :-) I would like to see the ability to drag and drop the objects at the position. More WYSIWYG. -- View this message in context: http://xwiki.475771.n2.nabble.com/Having-a-blog-on-the-wiki-front-page-tp752... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Hamster, On Mon, May 7, 2012 at 2:13 PM, Hamster <[email protected]> wrote:
Hi Anca,
If you want to modify the main page, you can use "Edit" --> "Objects" to change the layout/contents, right?
You will be taken to the "Editing objects of Wiki Home" page, which displays the objects. You need to digdown the object to find the property "position". That's where you will have to enter 1,0 or 1,1 or 2,0 or 2,1 to set the position of that object.
Looking at the more sophisticated drag-drop features that XWiki can use, setting the position with digitals for row and column position just seems "brutal" to me. Maybe "brutal" is not the correct word...mayby "outworn" or "out-of-date" is more appropiate :-)
You can do exactly that already if you edit the page in inline mode. Guillaume
I would like to see the ability to drag and drop the objects at the position. More WYSIWYG.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Having-a-blog-on-the-wiki-front-page-tp752... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On 05/07/2012 03:03 PM, Guillaume Lerouge wrote:
Hi Hamster,
On Mon, May 7, 2012 at 2:13 PM, Hamster<[email protected]> wrote:
Hi Anca,
If you want to modify the main page, you can use "Edit" --> "Objects" to change the layout/contents, right?
Editing is documented at http://extensions.xwiki.org/xwiki/bin/view/Extension/Dashboard+Application and http://extensions.xwiki.org/xwiki/bin/view/Extension/Dashboard+Macro (linked from the first one). As you can see, editing objects is under the advanced editing :) . I didn't understand that you hadn't found the drag and drop editing of dashboard from the first mail, I thought you did and there was still something wrong with it ;) . Now, depending on which version of xwiki you're using, editing inline (the one that Guillaume mentioned above) is the default edit mode either for the Main.WebHome page or for the Dashboard.WebHome page, which means simply clicking edit (without choosing an option from the menu) should take you to the sublime drag and drop editing of the dashboard. If it's still not dragging and dropping for you, it might be a bug, let us know xwiki version + browser type & version (not before you made a cache clean and retried). Have fun, Anca
You will be taken to the "Editing objects of Wiki Home" page, which displays the objects. You need to digdown the object to find the property "position". That's where you will have to enter 1,0 or 1,1 or 2,0 or 2,1 to set the position of that object.
Looking at the more sophisticated drag-drop features that XWiki can use, setting the position with digitals for row and column position just seems "brutal" to me. Maybe "brutal" is not the correct word...mayby "outworn" or "out-of-date" is more appropiate :-)
You can do exactly that already if you edit the page in inline mode.
Guillaume
I would like to see the ability to drag and drop the objects at the position. More WYSIWYG.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Having-a-blog-on-the-wiki-front-page-tp752... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (5)
-
Anca Luca -
Frits Jalvingh -
Guillaume Lerouge -
Hamster -
Sergiu Dumitriu