[ckan-dev] Creating 4 featured groups on the index page instead of 2.

Ralf Krüdewagen user66 at arcor.de
Thu Jun 13 17:10:13 UTC 2013


Hi Toby,

I will have soon a closer look into writing an extension for adding static pages.
My first view on the docs was a bit demotivating (so complex), but I guess I can manage it.

If I find issues I will post them to Github. Just need some more time ...

Thanks
Ral f
 
----------------ursprüngliche Nachricht-----------------
Von: "Toby Dacre" toby.okfn at gmail.com 
An: "CKAN Development Discussions" ckan-dev at lists.okfn.org 
Datum: Thu, 13 Jun 2013 17:02:40 +0100
-------------------------------------------------
 
 
> If you want the featured groups to be a bit more flexible eg 4 groups
> then creating an issue on github would be the way forward. This would
> be fairly trivial and we are reworking that a little anyhow so that
> could be done at the same time.
> 
> As far as the custom pages goes maybe again a github issue with some
> sort of spec might help. My major concern would be about the
> translation but maybe that can be addressed via the multilingual
> plugin.; Adding a page via an extension should be fairly trivial
> though so I'm not sure exactly what your issue is. Is it the desire
> to edit the content on the fly?
> 
> 
> 
> 
> On 13 June 2013 16:30, Ralf Krüdewagen user66 at arcor.de wrote:
>> Hi Randy,
>>
>> yeah, I also have heard about a CKAN installation integrated into Drupal. 
>> Maybe this is the way forward.
>> However, a full-featured CMS like Drupal might be a bit overambitious for 
>> adding two or three pages into the CKAN start page ;-) Maybe there is a smaller 
>> solution ...
>>
>> Cheers
>> Ralf
>>
>> ----------------ursprüngliche Nachricht-----------------
>> Von: "Randy Rosso" rossonova at gmail.com 
>> An: "CKAN Development Discussions" ckan-dev at lists.okfn.org 
>> Datum: Thu, 13 Jun 2013 09:14:58 -0400
>> -------------------------------------------------
>>
>>
>>> Ralf,
>>> There is a Drupal fork of CKAN, called DKAN:
>>> https://drupal.org/project/dkan
>>> I've been experimenting with that alongside CKAN, primarily because of 
>>> the
>>> configuration challenges posed by CKAN. The Drupal version seems a 
>>> little
>>> buggy so far though.
>>> Randy
>>>
>>>
>>> On Thu, Jun 13, 2013 at 2:06 AM, Ralf Krüdewagen user66 at arcor.de wrote:
>>>
>>>> Hi Mireille,
>>>>
>>>> that's a good question.
>>>>
>>>> Some days ago I tried to figure out how to change these featured groups 
>>>> on
>>>> the home page with following result:
>>>>
>>>> - The amount of groups is hardcoded in the python sources (
>>>>
>>>> 
>>>> https://github.com/okfn/ckan/blob/master/ckan/controllers/home
>>>> .py)
>>>> .
>>>> The
>>>> code has already been marked as "horrible hack" ;-)
>>>>
>>>> - The "ckan.featured_groups" setting does not have any effect. 
>>>> Whatever I
>>>> configure there the groups shown on start page are always the same.
>>>>
>>>> - It's unclear how the groups to be shown are selected (need to 
>>>> understand
>>>> the source code).
>>>>
>>>> - It's also unclear how the datasets are selected shown in the groups 
>>>> (by
>>>> time or number of resources, ... ??)
>>>>
>>>> So, from a user perspective there is much room for improvement setting 
>>>> up
>>>> static pages in CKAN in order to slightly change the look&feel.
>>>>
>>>> There is quite much documentation about how to template and write
>>>> extensions in order to customize CKAN. But to be honest: This is by far 
>>>> too
>>>> complicated for non-developers. For example, I tried to figure out 
>>>> how to
>>>> simply add a static page like "Feedback" or "Contact". Or to change 
>>>> CSS
>>>> styles, change a page, etc. CKAN seems to be very flexible here by 
>>>> using
>>>> some CKAN config parameters, some parameters in the admin GUI, 
>>>> templates,
>>>> extensions and "resource" tools, but as I said that's too 
>>>> complicated. I
>>>> still does not know how to customize CKAN without writing python code. 
>>>> Even
>>>> the template engine is not really obvious and is just described for
>>>> changing a page, not to add a new page.
>>>>
>>>> I wish to have a basic CMS systems on top of the core CKAN (as data
>>>> storage) in order to build the static pages. Maybe something like a 
>>>> mini
>>>> wordpress.
>>>>
>>>> Cheers
>>>> Ralf
>>>>
>>>> ----------------ursprüngliche Nachricht-----------------
>>>> Von: "Mireille Raad" mir.mir at gmail.com 
>>>> An: ckan-dev at lists.okfn.org 
>>>> Datum: Wed, 12 Jun 2013 17:03:54 -0400
>>>> -------------------------------------------------
>>>>
>>>>
>>>> > Hey,
>>>> >
>>>> > I want to place 4 featured groups in the ckan index page - any idea on
>>>> how
>>>> > to implement the count.
>>>> >
>>>> > in my ckan config files, I added the following line for example:
>>>> > ckan.featured_groups = group1 group2 group3 group3
>>>> >
>>>> > but only group1 and group2 show.
>>>> >
>>>> > any .count feature available? Many thanks!
>>>> >
>>>> > Mireille
>>>> >
>>>>
>>>> __________________________________________________
>>>> > _______________________________________________
>>>> > ckan-dev mailing list
>>>> > ckan-dev at lists.okfn.org 
>>>> > http://lists.okfn.org/mailman/listinfo/ckan-dev
>>>> > Unsubscribe: 
>>>> http://lists.okfn.org/mailman/options/ckan-dev
>>>> >
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> ckan-dev mailing list
>>>> ckan-dev at lists.okfn.org 
>>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>>>
>>>
>>
>> __________________________________________________
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org 
>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>>
>>
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org 
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> 
> 
> 
> -- 
> Toby Dacre
> 
> The Open Knowledge Foundation
> 
> Empowering through Open Knowledge
> http://okfn.org/ | @okfn
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org 
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> 






More information about the ckan-dev mailing list