Questions tagged [zotonic]

Zotonic is both a content management system and a web framework, written in Erlang/OTP and depends on several open source products like JQuery, PostGreSQL DB, e.t.c. It is meant for creating and managing dynamic web sites and is built up with rich internet applications and web publishing. It's considered generally faster than other existing CMS frameworks.

Zotonic is both a content management system and a web framework, written in Erlang/OTP and depends on several open source products like JQuery, PostGreSQL DB, e.t.c. It is meant for creating and managing dynamic web sites and is built up with rich internet applications and web publishing. It's considered generally faster than other existing CMS frameworks.

Links

22 questions
6
votes
1 answer

Zotonic- where can a quickstart be found

I have been to the zotonic docs, but well, they have not really been helpful because everything is in bits and pieces over there. I am an averagely good erlang programmer and i guess what i need is a full example of a web site or web app, however…
Muzaaya Joshua
  • 7,736
  • 3
  • 47
  • 86
5
votes
3 answers

Is there a way to kill the erlang vm when it is running with -heart?

The title pretty much sums it up. I have a zotonic site running with -heart, it uses lots of cpu time and I can't get an erlang shell. So, is there a way to kill the vm? killall heart and killall beam.smp are not working. I found this question: Stop…
Simon Lindgren
  • 500
  • 1
  • 6
  • 14
3
votes
1 answer

How to embed and display Google Calendar in Zotonic the Erlang CMS

I'd like to be able to save an iframe of a Google Calendar as a media item and then attach it to a resource. I haven't been able to get this working. I saved the iframe code as a media item, selecting embedded code and choosing 'Other' I created a…
Jeff
  • 71
  • 5
3
votes
1 answer

How do you support per-page sidebar content in Zotonic?

I would like to have per-page sidebar content in Zotonic: Links White papers Webinars What is a good way to do this and what kind of template snippets would I need to make it work?
Alain O'Dea
  • 21,033
  • 1
  • 58
  • 84
1
vote
1 answer

jquery selector on ajax loaded content failing

I have a dialog that's loaded via ajax. The paylaod of that ajax contains both html and javascript. The dialog displays just fine and the JS included in that payload executes. However, I am unable to select any elements (whether its by id, class or…
JAT
  • 23
  • 3
1
vote
1 answer

Using GeShi with Zotonic CMS

Is it possible to use the GeShi syntax highlighter (written with PHP) with Zotonic CMS (written with erlang) ? Does a specific module exist or is it necessary to make some modification with erlang ?
JeanJouX
  • 2,555
  • 1
  • 25
  • 37
0
votes
1 answer

How to implement user registration with the Zotonic mod_signup module?

I would like users to be able to sign up a website made with Zotonic. According to the release notes of version 0.5.0, I should use the mod_signup module. What is the correct way to use this module in a website? I've tried to create a "signup" page…
ChorData
  • 523
  • 3
  • 4
0
votes
1 answer

How do you link to a media item by ID outside Zotonic?

The creative team wants to be able to use Zotonic to manage images used outside of the main website. In order to do this they are currently linking to images as follows: This has a…
Alain O'Dea
  • 21,033
  • 1
  • 58
  • 84
0
votes
1 answer

How do you loop through past items in a search in a Zotonic template?

I would like to able to loop through past events in a template: {% for page in m.search[{past cat='event'}] %} {% if forloop.first %}
    {% endif %}

    {{ m.rsc[page].date_start|date:"M j, Y" }} {{ m.rsc[page].title }}

Alain O'Dea
  • 21,033
  • 1
  • 58
  • 84
0
votes
1 answer

How do you provide download links for attached PDFs in Zotonic?

I would like to let my content authors upload PDFs and provide download links. Unfortunately, they get a page with a preview of the first page of the PDF instead of the PDF itself when they link to it. How do you provide download links for attached…
Alain O'Dea
  • 21,033
  • 1
  • 58
  • 84
0
votes
1 answer

How do you get third-level menu items in Zotonic?

I would like to display third-level menu items in Zotonic. For example if I have pages in a hierarchy like the following: About Us Careers Why work here? I want the Why work here? to be accessible in the drop-down menus. How do you get…
Alain O'Dea
  • 21,033
  • 1
  • 58
  • 84
0
votes
1 answer

How do you control CSS styles from within the CMS interface in Zotonic?

I would like to give my creative colleagues access to the CSS through the Zotonic CMS user interface. How do you control CSS styles from within the CMS interface in Zotonic?
Alain O'Dea
  • 21,033
  • 1
  • 58
  • 84
0
votes
2 answers

How do you choose a media item at random from a Page Connection in a Zotonic template?

I would like to render a random connected media item in Zotonic as follows: {% with m.rsc[id].banner as media %} {% if media %} {% with media.random as m %} {% media m %} {% endwith %} {% endif %} {% endwith %} How do…
Alain O'Dea
  • 21,033
  • 1
  • 58
  • 84
0
votes
1 answer

How do you refer to Config values from the admin interface in Zotonic validators?

I would like to be able to refer to a System Configuration value set in the Zotonic admin interface within a template. In particular I would like to create a configurable password complexity regex so I can write a validate statement like the…
Alain O'Dea
  • 21,033
  • 1
  • 58
  • 84
0
votes
2 answers

How do you enforce password complexity rules in Zotonic?

I would like to enforce a password policy in Zotonic. My first impression would be to do this as a validator on the new_password field in the Identity editor. Here is an example policy: Have be at least 8 characters in length Have at least one…
Alain O'Dea
  • 21,033
  • 1
  • 58
  • 84
1
2