Hi there,
1st of all. I truely love this CMS and I like to give a BIG shoutout to the creators of it!!
I only have 1 major problem:
When creating multiple content blocks in a template (eg: {content}{content block='date'}{content block='time'}{content block='activity'}) and after that I put text in the 4 fields, after applying all the 4 fields with text appears vertically. In other words, beneath each other.
in theory:
22 october 10.00 Let's have a date New York
23 october 12.00 Lunch Chicago
but the truth:
22 october
10.00
Let's have a date
New York
23 october
12.00
Lunch
Chicago
I'd like to make an agenda with 4 different fields, but you understand my problem. Can anybody please help me> It would be very appreciated!
Sincerly
Rika
Text multiple blocks not horizontal, but vertical
Re: Text multiple blocks not horizontal, but vertical
Did you put those content blocks in 4 colums of a table, maybe that works..
I did a quick try and with me it worked alright.
Hans
I did a quick try and with me it worked alright.
Hans
-
Rika
Re: Text multiple blocks not horizontal, but vertical
Do you mean the I have to put in the CONTENT field (within the EDIT TEMPLATE) not only the {content) tags, but that I have to insert a whole tag?
-
Rika
Re: Text multiple blocks not horizontal, but vertical
Can you please show me what and where i have to put it then? I really hope you can help me with this.
Re: Text multiple blocks not horizontal, but vertical
Ok okay Rita, now I read more carefuly I realize that it not so easy as that for the agenda you want. Sorry, I overlooked you wanted a agenda. I'll try to come up with a sloution nevertheless, but I think that will take some time. Hope that somebody else will find a solution in the meantime.
Hans
Hans
-
Rika
Re: Text multiple blocks not horizontal, but vertical?
ok
Thanks!!
the problem actually is that when writing in the 4 different content fields, after saving the document, the page looks like all those 4 fields are beneath each other, not horitonzal to each other. That's the only problem.
May be you or someone can provide me with a basic script for creating a new template with just 4 fields?
Thanks in advance.
Rika
the problem actually is that when writing in the 4 different content fields, after saving the document, the page looks like all those 4 fields are beneath each other, not horitonzal to each other. That's the only problem.
May be you or someone can provide me with a basic script for creating a new template with just 4 fields?
Thanks in advance.
Rika
-
westis
Re: Text multiple blocks not horizontal, but vertical
If you want to use tables (which is the easiest with fixed widths of the columns) you could put this in the template:
But if you will use this only for events I guess you could use one of the calendar modules instead.
Code: Select all
<table>
<tr>
<td>{content}</td>
<td>{content block='date'}</td>
<td>{content block='time'}</td>
<td>{content block='activity'}</td>
</tr>
</table>-
Rika
Re: Text multiple blocks not horizontal, but vertical
Thanks! it works! Hans en Westis
Many many thanks!!
Many many thanks!!

