Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 13 13:58
    tvdeyen synchronize #119
  • Jan 13 13:56
    tvdeyen closed #122
  • Jan 13 13:23
    tvdeyen review_requested #122
  • Jan 13 13:23
    tvdeyen synchronize #122
  • Jan 13 13:15
    tvdeyen synchronize #122
  • Jan 13 13:00
    tvdeyen synchronize #122
  • Jan 13 12:48
    tvdeyen synchronize #122
  • Jan 13 12:40
    tvdeyen opened #122
  • Jan 13 12:39
    tvdeyen closed #121
  • Jan 13 12:36
    tvdeyen opened #121
  • Jan 13 12:20
    tvdeyen closed #120
  • Jan 13 12:20
    tvdeyen commented #120
  • Jan 12 23:23
    Gawyn opened #120
  • Jan 06 12:08
    tvdeyen converted_to_draft #101
  • Jan 06 12:08
    tvdeyen review_requested #119
  • Jan 06 12:08
    tvdeyen opened #119
  • Nov 24 2020 09:33
    tvdeyen closed #116
  • Nov 24 2020 09:32
    tvdeyen closed #117
  • Nov 24 2020 09:31
    tvdeyen synchronize #101
  • Nov 24 2020 09:29
    tvdeyen synchronize #116
Ignacio Palacios
@NachoPal
`
  • cache(element) do
    = element_view_for(element) do |el|
    .title
    = el.render :title
    .text
    = el.render :text
    .thumbnail
    = el.render :thumbnail
    `
Thomas von Deyen
@tvdeyen
Ah, ok. Is a picture assigned? Is the assigned picture large enough? > 100x100
Ignacio Palacios
@NachoPal
ooooh
no
Thomas von Deyen
@tvdeyen
three tildes ~~~ is easier then three backticks
to format a codeblock in markdown
Ignacio Palacios
@NachoPal
preprocess_image_resize: 50x50
it's why....
Thomas von Deyen
@tvdeyen
Yep
Ignacio Palacios
@NachoPal
thanks a lot @tvdeyen
:)
Dennis van der Vliet
@dennisvdvliet
Hi all, currently researching a number options for a cms I need to build for project. Any thoughts on how difficult it would be to build a custom Essence that gets images from an API? So instead of having the file upload window you would get a search field that allows you to search the api and after that select one of the results
Thomas von Deyen
@tvdeyen
It's doable in a couple of days
A custom essence is just a plain Active Record Model. Building the UI will be the most time consuming part.
Dennis van der Vliet
@dennisvdvliet
Ok so the image picker on the PictureEssence is just javascript that fills the form?
Thomas von Deyen
@tvdeyen
Yes
It uses the Admin::EssencePicturesController#assign endpoint. That connects the picture with the content.
Dennis van der Vliet
@dennisvdvliet
Great will give it a go over the next couple of days.
Dennis van der Vliet
@dennisvdvliet
An other question; is there any support for creating something like a table of contents? So Given a certain page all child pages are listed and linked to? If not would that be a useful contribution?
Thomas von Deyen
@tvdeyen
A sitemap?
We always custom code this, because it's so easy
Jan Rieger
@jrieger
could be done using render_navigation and the from_pageoption
Joris van Rooij
@jorrizza
Thomas von Deyen
@tvdeyen
Alchemy does not ship with any basic elements. It's complete empty. That's intended ;)
Joris van Rooij
@jorrizza
It's the template render_navigation uses, by the way.
Dennis van der Vliet
@dennisvdvliet
@tvdeyen I like that. So additional features are either custom coded into a project or made available as a gem?
Thomas von Deyen
@tvdeyen
It depends. If it's an admin feature, let's talk. If that's in the kind of: "Fancy JS Slider XY", then not ;)
The frontend is yours, have ever, will ever, 100%. Alchemy will never ever tell you, what to use and how to use. That means you have to build everything from scratch, everytime. Some basic stuff, like navigation renderer get's shipped, though. But even that views are overwritable in your app.
That's core, though. We can (and maybe should) provide some gems, with useful basic stuff. And even themes, but not in the core installation.
Dennis van der Vliet
@dennisvdvliet
That makes perfect sense to me. 99 out of a 100 times if you need a CMS you want a custom frontend for branding etc.
Maybe a boilerplate theme, that just shows how to build one.
Thomas von Deyen
@tvdeyen
Yes, that's the Demo Kit
Dennis van der Vliet
@dennisvdvliet
Great, very usefull!
Thomas von Deyen
@tvdeyen
Called them kit, like chemestry kit (hence the name ^_^)
Maybe we could add more of them in the future.
Bootstrap based ones, for instance
Dennis van der Vliet
@dennisvdvliet

Just to put my questions in some perspective. I'm currently working on a project for Europeana (http://europeana.eu/portal/). The goal of the project is to rebuild their "Exhibitions" product (http://exhibitions.europeana.eu/).

Since Europeana is paid for by the European Commission there is a strong wish to use as much opensource as possible and to contribute where possible. So currently I'm doing some research on different CMSes en their community.

Thomas von Deyen
@tvdeyen
We love contributions.
Dennis van der Vliet
@dennisvdvliet
I already found a lot of really good parts in alchemy. What is the worst part of it? Or the part that could use the most love?
Thomas von Deyen
@tvdeyen
Publishing changes
Dennis van der Vliet
@dennisvdvliet
You mean like revisions?
Thomas von Deyen
@tvdeyen
Currently we use the Rails caching mechanisms to "store" the current published version of a page. That's aweful for pages with lots of moving stuff
Yes, revisions/versions would be great. Personally I'm currently working on that, so will have this soonish. But contributions are welcome. We are a small team, so things move slow.
Dennis van der Vliet
@dennisvdvliet
No problem, is there already a branch for revisions. Or any thoughts on where I can help?
Thomas von Deyen
@tvdeyen
No, only some private prototyping stuff. Will publish, if I made my mind on how this could be best done. But would love to hear some thoughts from others.
Dennis van der Vliet
@dennisvdvliet
Happy to pitch in, so keep me posted
Thomas von Deyen
@tvdeyen
I will
Dennis van der Vliet
@dennisvdvliet

Hi all, been playing around with alchemy for a couple of days right now and I'm impressed how easy it is to customise. Adding a new essence is quite easy.

What I'm not 1005 sure about is how to implement an essence that is almost the same as an existing one. In this case I want to do create EssenceFulltext which is like EssenceRichText but with the tinymce editor. Best to create a new Essence for this from scratch or inherit from the EssenceFullText?

Thomas von Deyen
@tvdeyen
You mean without the TinyMce Editor, right? Because EssenceRichtext has a tinymce editor