Concerto Template HTML files?

1,428 views
Skip to first unread message

Paul Dufresne

unread,
Feb 13, 2015, 2:46:08 PM2/13/15
to concerto-dig...@googlegroups.com

I'm still getting acquainted with Concerto. When you create a custom template in Concerto, does it generate an HTML template based on the template you build in Concerto, or does it generate that HTML code in-stream? If there is an HTML template file somewhere, then perhaps it would be possible to modify that template manually to add some static content to the template, and control how the elements overlap.

Can anyone answer how, this is generated, and where these template files are stored? I rooted around the file system for a while, but I couldn't find anything.

ThanX!

August

unread,
Feb 13, 2015, 2:47:42 PM2/13/15
to concerto-dig...@googlegroups.com
If you’re looking to create a custom template, I would begin by examining the template zip files (linked on http://www.concerto-signage.org/help_pages/38) and working from those. The only thing Concerto itself does is store field positions and such for the template.

-- 
August
--
You received this message because you are subscribed to the Google Groups "Concerto Digital Signage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concerto-digital-s...@googlegroups.com.
To post to this group, send email to concerto-dig...@googlegroups.com.
Visit this group at http://groups.google.com/group/concerto-digital-signage.
For more options, visit https://groups.google.com/d/optout.

Paul Dufresne

unread,
Feb 13, 2015, 2:57:43 PM2/13/15
to concerto-dig...@googlegroups.com

That actually looks like it will solve one of my problems, as it looks like I can define custom fields, but it doesn't look like the template gives me the ability to add any custom non-field content to the template, such as a static image or static text. I know it would be possible to add that to the background image, but then they would always be behind the field content, which is not what I'm looking for.

Thank you.

August

unread,
Feb 13, 2015, 3:00:51 PM2/13/15
to concerto-dig...@googlegroups.com
Yeah-the styling and architecture of the templates/frontend is geared towards displaying content over some background template. We’re not aware of any use case for letting the template background take precedence over the content coming in from Concerto itself.

-- 
August
--

Paul Dufresne

unread,
Feb 13, 2015, 5:09:12 PM2/13/15
to concerto-dig...@googlegroups.com
Yeah, I was just hoping the template was stored as an HTML file that could be modified to add static elements. 


Paul Dufresne
Sent from my TELUS Samsung Galaxy.
You received this message because you are subscribed to a topic in the Google Groups "Concerto Digital Signage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/concerto-digital-signage/ACrbTetyVNo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to concerto-digital-s...@googlegroups.com.

Paul Dufresne

unread,
Feb 17, 2015, 10:56:21 PM2/17/15
to concerto-dig...@googlegroups.com

After playing with the templates, it seems importing a template will still limit you to only one field of any given type. This is an unfortunate limitation of the software.

I hope this is an adjustment that will come in future releases.

August

unread,
Feb 17, 2015, 10:58:40 PM2/17/15
to concerto-dig...@googlegroups.com
In my past experiences, this has not been the case (dual-graphic layouts have been common), but I’ll post an issue to our bug tracker asking someone with more current knowledge of the fronted to look into it.

-- 
August

Paul Dufresne

unread,
Feb 18, 2015, 9:06:25 AM2/18/15
to concerto-dig...@googlegroups.com
I appreciate that. I found the documentation on templates to be a little thin, so perhaps I just did something wrong.

Paul Dufresne
Sent from my iPad
You received this message because you are subscribed to a topic in the Google Groups "Concerto Digital Signage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/concerto-digital-signage/ACrbTetyVNo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to concerto-digital-s...@googlegroups.com.

Marvin Frederickson

unread,
Feb 18, 2015, 12:47:32 PM2/18/15
to concerto-dig...@googlegroups.com
I believe it will still work if you give your fields different names.  This might help: https://github.com/concerto/concerto/wiki/Templates

Paul Dufresne

unread,
Feb 18, 2015, 1:25:08 PM2/18/15
to concerto-dig...@googlegroups.com

I tried that, but when I imported the template, it didn't work, or at least the fields didn't show up in the template editor. Perhaps that was my mistake? I hadn't included a CSS file, or spent much time on the style, I was just looking for confirmation that it could be done.

<template>

 
<name>LDHSS Screen</name>

 
<width>1920</width>
 
<height>1080</height>

 
<field>

   
<name>Sponsors</name>
   
<type>Graphics</type>

   
<style>border: solid 2px #ccc;</style>

   
<left>0.72</left>
   
<top>0.85</top>
   
<width>0.25</width>
   
<height>0.106</height>

 
</field>

 
<field>

   
<name>Text</name>
   
<type>Text</type>

   
<style>border: solid 2px #ccc;</style>

   
<left>0.03</left>
   
<top>0.36</top>
   
<width>0.25</width>
   
<height>0.596</height>

 
</field>

 
<field>

   
<name>Graphics</name>
   
<type>Graphics</type>

   
<style>border: solid 2px #ccc;</style>

   
<left>0.3</left>
   
<top>0.044</top>
   
<width>0.67</width>
   
<height>0.776</height>

 
</field>

 
<field>

   
<name>Ticker</name>
   
<type>Ticker</type>

   
<style>border: solid 2px #ccc;</style>

   
<left>0.3</left>
   
<top>0.85</top>
   
<width>0.40</width>
   
<height>0.106</height>

 
</field>

</template>

Marvin Frederickson

unread,
Feb 18, 2015, 7:01:08 PM2/18/15
to concerto-dig...@googlegroups.com
Oh, yeah.  I think the import might skip fields that have names that don't match to types.  In the database, you'd probably have to manually add the field (make sure you set the kind_id to 1 (Graphics) and then add a position via the GUI that referenced that new field.  Then set up your subscriptions.

August

unread,
Feb 23, 2015, 12:05:32 AM2/23/15
to concerto-dig...@googlegroups.com
This turns out to be something of an oversight on our part. While a “template maker” was initially intended, the process has remained rather manual. Manual, in fact, to the point that there’s no user interface exposed for creating new fields. It can be a bit confusing, but there is a “kind” called Graphic and a “field” called Graphic - which is essentially an instance of that. In our next build, you’ll find a link to create new fields on the template#edit page.

-- 
August

On February 17, 2015 at 10:56:29 PM, Paul Dufresne (prduf...@gmail.com) wrote:

Paul Dufresne

unread,
Feb 23, 2015, 12:22:51 AM2/23/15
to concerto-dig...@googlegroups.com

Good to know. I think where it falls apart, for me, is that I haven't been able to verify that my custom fields actually exist anywhere, and I haven't figured out how to add feeds to those fields. I haven't really gone much deeper that the web interface at this point.

Thank you for the feedback.


Paul Dufresne
Sent from my iPad
You received this message because you are subscribed to a topic in the Google Groups "Concerto Digital Signage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/concerto-digital-signage/ACrbTetyVNo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to concerto-digital-s...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages