Reconsidering the solution of AI896

Leandro Nunes leandronunes at gmail.com
Wed Jan 22 15:47:02 BRST 2014


Hi guys,

It's not a good option remove a merge that was applied.
Just make another merge-request changing what you want.

Thanks




On Wed, Jan 22, 2014 at 2:31 PM, Bráulio Bhavamitra <braulio at eita.org.br>wrote:

> Here is the merge request for this reconsideration:
> https://gitlab.com/noosfero/noosfero/merge_requests/93
>
>
> On Wed, Jan 22, 2014 at 6:54 AM, daniel tygel <dtygel at eita.org.br> wrote:
>
>>  Hi all,
>>
>>     Yesterday Bráulio and I reviewed the merge-request of AI896 (which is
>> to allow sideblocks in catalog), because we desperately need it in Cirandas.
>>
>>     While the proposed solution by Aurium was interesting, we noticed a
>> problem, and thus would like to propose an alternative (and simpler)
>> merge-request. But today, when looking at the AI, I saw that Rodrigo
>> changed the status to "done".
>>
>>     Could we put the status to "working" again and propose an alternative
>> merge request for your consideration?
>>
>>     The problem in Aurium's (good) solution is the following: it forces
>> the enterprises to have a new sideblock on all the enterprise's pages (the
>> category block). This is annoying, since there might already be too much
>> information in the enterprise's pages, and this block is not so useful as
>> the other block (products block). This new block is very nice in the
>> catalog, but less important outside it.
>>
>>     So we think that Aurium's solution would be ok if noosfero allowed
>> users to define in what pages they want a specific block to show up. Since
>> we don't have this feature in Noosfero, Bráulio and I thought of a simpler
>> solution for AI896, which is the following one:
>>
>>     Create a "custom_design" method which allows Noosfero to override the
>> enterprise template and add blocks. It's a very small peace of code, and in
>> this way we can force the catalog page to be a "single left-column"
>> template, and add the product's category block (if the enterprise admin
>> didn't add it already for the whole enterprise). In this way we accomplish
>> to maintain the existing blocks (of the main area and of the left column)
>> and add the categories block in the catalog. And the enterprise's owner
>> can, if she wants, also activate the categories block for all pages using
>> the normal "add block feature".
>>
>>      We would thus have 2 AIs: The first one (created by us today)
>> creates a new block (the product categories block). It's registered in #2965:
>> Add "product categories" sideblock — Noosfero<http://noosfero.org/Development/ActionItem2965>.
>> And the second AI is the AI896, which will only create the custom_design
>> method and apply it for the catalog page of the enterprise.
>>
>>      Thanks,
>>
>>              daniel
>>
>> --
>> (_.-~*´¨¯¨`*·~-.,-( •_•)-,.-~*´¨¯¨`*·~-._)
>>           .
>>     ,-. . |- ,-.          Educação,
>>     |-' | |  ,-|          Informação e
>>     `-' ' `' `-^          Tecnologia para
>>  http://eita.org.br       Autogestão
>>
>> (_.-~*´¨¯¨`*·~-.,-( •_•)-,.-~*´¨¯¨`*·~-._)
>>
>>
>> _______________________________________________
>> Noosfero-dev mailing list
>> Noosfero-dev at listas.softwarelivre.org
>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/noosfero-dev
>>
>>
>
>
> --
> "Lute pela sua ideologia. Seja um com sua ideologia. Viva pela sua
> ideologia. Morra por sua ideologia" P.R. Sarkar
>
> EITA - Educação, Informação e Tecnologias para Autogestão
> http://cirandas.net/brauliobo
> http://eita.org.br
>
> "Paramapurusha é meu pai e Parama Prakriti é minha mãe. O universo é meu
> lar e todos nós somos cidadãos deste cosmo. Este universo é a imaginação da
> Mente Macrocósmica, e todas as entidades estão sendo criadas, preservadas e
> destruídas nas fases de extroversão e introversão do fluxo imaginativo
> cósmico. No âmbito pessoal, quando uma pessoa imagina algo em sua mente,
> naquele momento, essa pessoa é a única proprietária daquilo que ela
> imagina, e ninguém mais. Quando um ser humano criado mentalmente caminha
> por um milharal também imaginado, a pessoa imaginada não é a propriedade
> desse milharal, pois ele pertence ao indivíduo que o está imaginando. Este
> universo foi criado na imaginação de Brahma, a Entidade Suprema, por isso
> a propriedade deste universo é de Brahma, e não dos microcosmos que também
> foram criados pela imaginação de Brahma. Nenhuma propriedade deste mundo,
> mutável ou imutável, pertence a um indivíduo em particular; tudo é o
> patrimônio comum de todos."
> Restante do texto em
> http://cirandas.net/brauliobo/blog/a-problematica-de-hoje-em-dia
>
> _______________________________________________
> Noosfero-dev mailing list
> Noosfero-dev at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/noosfero-dev
>
>


-- 
Dois Axé!!!

-----
"Comece fazendo o que é necessário, depois o que é possível e de repente
você estará fazendo o impossível."
                                   São Francisco de Assis
Leandro Nunes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20140122/1bac803c/attachment.html>


More information about the Noosfero-dev mailing list