Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Daren Sefcik
New Wiki questions and problems
June 5, 2008 4:29 PM
Answer

Daren Sefcik

Rank: Junior Member

Posts: 62

Join Date: May 18, 2007

Recent Posts

Hi, first, thanks for all of the improvements in the new wiki, they are great. I am having some problems though that I cannot seem to figure out. I have a community that can create a new wiki and create new links on the FrontPage. When they click on the link to the new page the editor opens, they create the content, save and it seems fine. The link text is now green instead of red and under the All Pages the new page shows up. But when you actually click on the link it refreshes the page and stays on the FrontPage. It will never actually go to the new page.

I have tested the new wiki on other communities and it seems to work as expected just not on this one community. I have gone in to the database and deleted out all nodes,pages and resources that belong to this community but the problem still persists.


The other question I have is how do you delete pages from the wiki? Say I make some test ones but don't want them anymore..

tia,
Daren
Jorge Ferrer
RE: New Wiki questions and problems
June 6, 2008 1:25 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2726

Join Date: August 31, 2006

Recent Posts

Hi Daren,

Thanks, I'm glad that you are finding the new features useful. Even more will be coming soon emoticon

Daren Sefcik:
Hi, first, thanks for all of the improvements in the new wiki, they are great. I am having some problems though that I cannot seem to figure out. I have a community that can create a new wiki and create new links on the FrontPage. When they click on the link to the new page the editor opens, they create the content, save and it seems fine. The link text is now green instead of red and under the All Pages the new page shows up. But when you actually click on the link it refreshes the page and stays on the FrontPage. It will never actually go to the new page.

I have tested the new wiki on other communities and it seems to work as expected just not on this one community. I have gone in to the database and deleted out all nodes,pages and resources that belong to this community but the problem still persists.


It's a weird problem. I would like to try to reproduce it just in case it's a bug. Do you think you could send me some steps to reproduce? I would also recommend taking a look at the URLs for non existing pages and existing pages, just in case there is something weird in them.

Daren Sefcik:

The other question I have is how do you delete pages from the wiki? Say I make some test ones but don't want them anymore..


To delete a wiki page just enter the properties of the page itself and click the delete link within "Advanced actions". By default regular users can't delete and it's not a usual operation so I thought it was better to put it there than make it always visible.
Daren Sefcik
RE: New Wiki questions and problems
June 6, 2008 6:59 AM
Answer

Daren Sefcik

Rank: Junior Member

Posts: 62

Join Date: May 18, 2007

Recent Posts

thank you for your quick response..it seems like it works fine for a person's personal "My Community" space wiki but when it is a wiki created by a user/member of a created Community it is broken. The communities I tested that worked were all in a person's My Community page and the ones that did not work were when I logged into a created Community as a member and then tried to add a wiki. The link url's for the ones that worked were the same as the ones that did not work so I don't think that is the problem. I do see that for the links that are broken I can add a Wiki Display portlet and configure it to display the page that is created by the broken link, so the page does exist and it did get created, it's just the link won't take you to it.

Here is a screen cast showing me creating a wiki and broken test link in a create Community space:

http://screencast.com/t/6KDWccFp8TO

Here is another showing the URL of the link (in the browser footer) and also how adding a Wiki Display will show how to get to the created page:

http://screencast.com/t/p5sKswemoticonmgk

This screen cast shows the Wiki working fine in personal My Community space:

http://screencast.com/t/RXWvxvV0CY

I attached a text file to this message with the screen cast url's because it seems like the editor was messing them up.

I hope this is enough information for you, if not just let me know what else you need..thank you!

Daren
Attachments: wiki_urls.txt (0.3k)
Jorge Ferrer
RE: New Wiki questions and problems
June 6, 2008 9:43 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2726

Join Date: August 31, 2006

Recent Posts

Hi Daren,

I've been trying to reproduce the problem with no luck. I've followed the exact steps of the first video with both the Guest community and a new community and it worked in both cases. I was using the latest code from trunk with Tomcat 5.5 and MySQL.

Also what I found weird in the video is that the page is completely blank. Is that the case? If so it seems a typical JSP compilation problem. Do you see any problem in the logs?
Daren Sefcik
RE: New Wiki questions and problems
June 6, 2008 11:57 AM
Answer

Daren Sefcik

Rank: Junior Member

Posts: 62

Join Date: May 18, 2007

Recent Posts

I've been trying to reproduce the problem with no luck. I've followed the exact steps of the first video with both the Guest community and a new community and it worked in both cases. I was using the latest code from trunk with Tomcat 5.5 and MySQL.


I am running the 5.0.1RC with Tomcat 5.5 bundle and MySQL on Solaris 10

Also what I found weird in the video is that the page is completely blank. Is that the case? If so it seems a typical JSP compilation problem.


I am not sure what you mean, what page is blank?

Do you see any problem in the logs?


No, it does not record any problems during the entire process.

What else can I do to help troubleshoot this problem?

thanks for your help..
Jorge Ferrer
RE: New Wiki questions and problems
June 8, 2008 9:11 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2726

Join Date: August 31, 2006

Recent Posts

Hi Daren,

By a "blank page" I mean that when the link to the new page is clicked the browser just shows an empty white page, right?

Can you download the latest version from trunk and try it there?
Daren Sefcik
RE: New Wiki questions and problems
June 8, 2008 9:25 AM
Answer

Daren Sefcik

Rank: Junior Member

Posts: 62

Join Date: May 18, 2007

Recent Posts

No, actually what happens is I create the link on the FrontPage and then when I click on the red link it will open up a new editor page to create the non existing page, I will add text and save it and then I get get redirected back to the FrontPage and the link is now blue. Everything good so far, but when I click on the link it just dose like a long refresh and puts me back on the FrontPage again, it never goes blank.

I am not sure I understand how to download from trunk, I always use the released version bundles. Is it the same thing ut just getting the most current version?

thanks..
Leandro Del Sole da Silva
RE: New Wiki questions and problems
June 9, 2008 5:56 AM
Answer

Leandro Del Sole da Silva

Rank: Junior Member

Posts: 98

Join Date: April 7, 2008

Recent Posts

Hey,

I've some wiki questions too, should I do it here or need to create a new topic?
If yes, I delete that and create.

For now, I will do the questions.

I was thinking about using Wiki and Wiki Display to publish content on my site, it is easy and fast to manage and edit that, so I think the customers will like.
But for that I need to know somethings, like, there is a way (without needing replace code) to make properties icon, print icon and Comments tab invisible for all users, just Administrator would see these options? (the other users cannot post comments, but can see, I don't want them to see the coments and the comments tab!).

I tried using permissions for the wiki page but I have no success, if is this the way and I made something wrong, please tell me =D

I tried using that button add tag and select tag, I didn't understand good how it works, I created a tag, but how to define what do it does? if I create it using an html tag, like
1<font size=4 color="red"
it just appears the formatted according the html tag, but when I click on select tag does nothing, I don't know how to use that, someone can explain to me ?
And I'm wondering if there is a way to make a custom tag for wiki's, like I put all titles using ==, in the future I need all titles tagged == be red, so I change in one place for all tags ( == is just an example).


Hum, I would like to know if there is some editor that doesn't need to use to go to journal portlet to edit the content, it just a click and the content would be editable, or something like this, like the wiki ( because if there is a better editor, I use that isntead of wiki).

Thanks,
Leandro.
Jorge Ferrer
RE: New Wiki questions and problems
June 11, 2008 7:51 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2726

Join Date: August 31, 2006

Recent Posts

Ok, I thought it was just showing a blank page. In any case I wasn't able to reproduce it.

By using trunk I mean downloading the sources from Subversion and building them yourself, or else wait until 5.0.2 is released (there is no date for it as of now)
Jorge Ferrer
RE: New Wiki questions and problems
June 11, 2008 7:57 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2726

Join Date: August 31, 2006

Recent Posts

Hi Leandro,

It's always better to create a new thread for new questions, but for this time I'll go ahead and answer here.

Unfortunately there is no way to hide those icons only from some users without modifying the source code. If you are ok with modifying JSPs it should be quite easy though.

Regarding the tags, they are just a way to categorize the pages and group them together. Each page will show the tags which it has assigned under the title and each of those tags can be clicked to get a list of all pages with that same tag.

Regarding the Journal, you can already publish an article with the Journal Content portlet and edit it with one click. Isn't that what you are looking for?
Leandro Del Sole da Silva
RE: New Wiki questions and problems
June 11, 2008 11:39 AM
Answer

Leandro Del Sole da Silva

Rank: Junior Member

Posts: 98

Join Date: April 7, 2008

Recent Posts

Thanks Jorge, it won't happen anymore =D

Anyways, yes I already modified the JSP, but I always think about if I should create another portlet, or it's ok beucase changing JSP is a little change.

Ok the tags aren't what I was thinking, it's a kind of prefix, and works like in CVS.

Yes, I forgot I can do that, because on my portal I put the page as article and linked with it's ID, by this way don't have the edit icon. So I must go to Journal portlet, find and edit that.
Just one more question, about performance, is it better to use a page typed as article, a page typed as protlet with a journal content without borders (it would look like a page typed as article) or a Wiki display customized (without comments, edit and properties icon and borders)?

Thanks Jorge.

Leandro
Jorge Ferrer
RE: New Wiki questions and problems
June 13, 2008 1:29 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2726

Join Date: August 31, 2006

Recent Posts

Hi Leandro,

I've never compared those three performance wise, but if you do I'd be interested in knowing about the results emoticon
Daren Sefcik
RE: New Wiki questions and problems
June 13, 2008 6:26 AM
Answer

Daren Sefcik

Rank: Junior Member

Posts: 62

Join Date: May 18, 2007

Recent Posts

I tried the trunk stuff once before and it was not a good experience..I will wait for 5.0.2..thanks..