Page 1 of 1

{content} titles[solved]

Posted: Tue Jan 09, 2007 2:25 pm
by pumuklee
hi

what i want:
{content} with title

this is the code:

Code: Select all

<div class="record"> 
        <div id="title">{title block="wellcometext"}</div>
        <div id="text">{content block="wellcometext"}</div>
      </div>
question:
how can i handle this {title block="wellcometext"}
my ideea is a new {content block="wellcometext title"} but is a little bit complicated

mention: i have a multilingual site

any other ideea

thanks

Re: {content} titles

Posted: Tue Jan 09, 2007 9:28 pm
by fredt
Pumuklee,

I've read your post many times and i'm still not sure to understand what you want to do.

A block has no title - so how can you ask to display it ??

If you want to use the title of the page, use {title}.
If you want to define two blocks (and to fill them using the Page Editor), create 2 different blocks, and give them expressive names:
        {content block="wellcometitle"}
        {content block="wellcometext"}

This will open two boxes to fill content.

If you want to do something else, please explain it better.

About multilanguage : I'm sorry, I didn't play with this so far.

hth,

Fred

Re: {content} titles

Posted: Tue Jan 09, 2007 9:33 pm
by Dee
Also, take a look at the help for the {content} tag, the oneline and assign parameters might by usefull for you.

Regards,
D

Re: {content} titles

Posted: Tue Jan 09, 2007 10:43 pm
by Dr.CSS

  {content block='contentTitle' oneline='true'} This gives you a one line edit box for adding a title called ContentTilte:
  {content}

Re: {content} titles

Posted: Wed Jan 10, 2007 7:12 am
by pumuklee
hi
yes mark this is the right answer
one line content block

thanks