cancel
Showing results for 
Search instead for 
Did you mean: 

What is the best approach to achieve 'news page dashlet' ..

wkabala
Champ in-the-making
Champ in-the-making
What is the best approach to achieve "news page dashlet" on user dashboard?

Hello everyone.
I am in the process of implementing Share (version 3.2.0 (2039) schema 2019) as a main solution for the Intranet for approx 300 users company. I need to have a situation that on the main page (visible directly just after user logs in)  there would be a news list for the company.
I was wondering how to achieve this.
The first idea is to have a public site (let's say called 'Intranet') that everyone would be joined to. Then blog for this site could be displayed in a dashlet on every user dashboard.
Apart from the fact that I do not know how to do this (create blog dashlet and force its visibility on every user dashboard) maybe there are some more simple ways to do this.
Can you please share your ideas?

p.s.
If you know how to implement my idea please share as well Smiley Happy

Kind Regards,
WK
9 REPLIES 9

wkabala
Champ in-the-making
Champ in-the-making
I will stick with "My Site Activities" dashlet functionality for the time being Smiley Happy

Regards,
WK

zaizi
Champ in-the-making
Champ in-the-making
You don't need a blog dashlet. Just use the RSS Dashlet and point at the Blog RSS feed.

Easier than ensuring no one removes the News dashlet, just redirect users on login to the Intranet site. They can get to their dashboard using the navigation.

wkabala
Champ in-the-making
Champ in-the-making
Thanks for the answer.
2 more questions.

1) When I try to go to rss feed of the blog for any of created sites I got asked for user/pass with window. If the supply bad credentials I get 404 error.
If credential are ok I get rss displayed. It's weird that although I am already logged in I am asked for credentials. This probably will lead to many complains from users.

Anyway if I place the rss feed url info RSS Dashlet then I do not get blog entries - it stays empty with Configure button visible.

2) How to redirect all users to some site after they login assuming that they do not enter a full url to this particular site but use global address http://intranet.company.com?

Kind Regards,
WK

gotfredsen
Champ in-the-making
Champ in-the-making
I had the same problem and solved the problem with a Feed Parser. I updated the Alfresco wiki http://wiki.alfresco.com/wiki/Rss with the solution. Let me know how it works for you - that is if you are trying it out.

zaizi
Champ in-the-making
Champ in-the-making
1) Oops. Forgot about this issue; https://issues.alfresco.com/jira/browse/ETHREEOH-2804. You'll need to change the RSS feed URL to use the webscript in /alfresco rather than try and proxy it via Share to get this to work.

2) Modify login.jsp and change the URL, which is hardcoded to the user dashboard.

wkabala
Champ in-the-making
Champ in-the-making
1) Oops. Forgot about this issue; https://issues.alfresco.com/jira/browse/ETHREEOH-2804. You'll need to change the RSS feed URL to use the webscript in /alfresco rather than try and proxy it via Share to get this to work.

I plan to use Share only. My users are not supposed to log into Explorer (/alfresco). Is it going to be a problem with this workaround?

2) Modify login.jsp and change the URL, which is hardcoded to the user dashboard.

Thanks for the tip. I assume that you were referring to this part of tomcat/webapps/share/login.jsp:

… <input type="hidden" id="returl" name="returl" value="<%=request.getParameter("returl")%>" /> …

gronfelt
Champ in-the-making
Champ in-the-making
That is actually the wrong file, the URL is hardcoded in site-index.jsp.

wkabala
Champ in-the-making
Champ in-the-making
That is actually the wrong file, the URL is hardcoded in site-index.jsp.

response.sendRedirect(request.getContextPath() + "/page/user/" + URLEncoder.encode(userid) + "/dashboard");
Thanks!

bdpnupe
Champ in-the-making
Champ in-the-making
Here are my questions related to the Blog ( I am loading it to Windows Server 2008 R2) :

1.I don’t see the file 'simplelie.inc' after unzipping the file to 'C:\var\www\html\sp'
2. How do you 'do a chmod 777 – R'? I tied it from the dot prompt and got an error:
'chmod is not recognized as an internal or external command.

I attempted to take the other steps and ended up with the following but I still am getting the same RSS Feed is not available message.
FYI here is my RSS FEED URL:http://sharename/sp?http://user:userpassword@sharename:8080/share/page/site/sitename/blog-postlist

Of course, if there is another work around, please let me know. I also y need to be able to produce the Blog Headers as an RSS Feed that will be displayed on the site.