{content} titles[solved]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
pumuklee

{content} titles[solved]

Post 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
Last edited by pumuklee on Wed Jan 10, 2007 7:12 am, edited 1 time in total.
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am
Location: Southern France

Re: {content} titles

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: {content} titles

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: {content} titles

Post by Dr.CSS »


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

Re: {content} titles

Post by pumuklee »

hi
yes mark this is the right answer
one line content block

thanks
Locked

Return to “Modules/Add-Ons”