Some help understanding the profile wall

Antonio Terceiro terceiro at colivre.coop.br
Fri Aug 30 13:30:13 BRT 2013


On Fri, Aug 30, 2013 at 09:26:01AM -0600, Daniel Tygel wrote:
> bump...
> 
> at least a short help? for example by skype or jabber or gtalk?

please try IRC because it's group chat by default and you don't depend
on specific people: #noosfero (or #noosfero-br for portuguese) on
irc.freenode.net

but try to have more specific questions (see below)

> Em 28-08-2013 13:44, Daniel Tygel escreveu:
> >Hi all,
> >
> >   Could someone help me explaining what way I should take to:
> >
> >1. Add a wall for enterprises (today there is only a profile tab
> >for them)
> >
> >2. Add the notification of products changed in the enterprise
> >profile wall. It means: to generate a notification in the
> >enterprise wall whenever of his/her products is created or updated
> >
> >3. Add the notification in a personal profile wall (or his/her
> >network wall) when one of his/her "favorite enterprises" changes
> >something, like adding or updating content or adding or updating
> >products/services.

Unfortunately it is not possible to explain how the entire thing works
without an unreasonable amount of effort. You can start by looking at:

  - Person#activities
  - Community#activities
  - app/views/profile/index.rhtml
  - app/views/profile/_profile_wall.rhtml
  - app/views/profile/_profile_activities_list.rhtml

A more productive way of asking this type of thing is first going over
the code to have an initial understanding of how it works, then trying
to do what you want, then ask specific questions, as in "I tried X, here
is the patch, and expected Y to happen but Z happened instead. How can I
make it work?"

NB a lot of things there could be a lot better, and we know it. ;-)

-- 
Antonio Terceiro <terceiro at colivre.coop.br>
Colivre - Cooperativa de Tecnologias Livres
http://www.colivre.coop.br/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20130830/df34485c/attachment.pgp>


More information about the Noosfero-dev mailing list