Page 1 of 1

Ideal Method for Adding Content?

Posted: Sat Feb 10, 2007 7:11 pm
by ortem
Hello...

I am new to the program and I am testing it to see if it is something that I would like to use with my design clients. I just downloaded/installed the program today.

If I understand correctly, content is placed on a page by adding the {content} tag correct?

If so, if one has a template that has 2 columns with content on the page, then an ideal method for places different content in each column would be to create content tags such as {left_content} and {right_content} or something of that nature?

Any input, thoughts would be appreciated. Thanks!

Re: Ideal Method for Adding Content?

Posted: Sat Feb 10, 2007 7:38 pm
by RonnyK
Ortem,

I'm not sure if it is possible to add content and have it displayed in two different columns, but I now some of the modules (news, comments) have the possibility to create diffferent categories, which can be called specifically, so if you use one of these you can make a categorie "left" and a categorie "right", you can call these on the different places. Others might tell you if it is possible with the {content} as well, but as far as I know, all content is related and builds the menu in total.

Ronny

How you Handle Multiple Columns of Content?

Posted: Sat Feb 10, 2007 8:00 pm
by ortem
Hello again! Thanks for your assistance Ronny!

I guess you can see what I was trying to do in regards to the user defined tag which gave me the error. So the software is made to support one column of content (copy images etc.) basically. The majority of the sites I create have multiple columns so I would need the software to support this.

I would like to hear from others on how they work around this issue.

Thanks!

Re: Ideal Method for Adding Content?

Posted: Sat Feb 10, 2007 8:45 pm
by Elijah Lofgren
ortem wrote: Hello...

I am new to the program and I am testing it to see if it is something that I would like to use with my design clients. I just downloaded/installed the program today.

If I understand correctly, content is placed on a page by adding the {content} tag correct?

If so, if one has a template that has 2 columns with content on the page, then an ideal method for places different content in each column would be to create content tags such as {left_content} and {right_content} or something of that nature?

Any input, thoughts would be appreciated. Thanks!
What parameters does it take?

    * (optional)block - Allows you to have more than one content block per page. When multiple content tags are put on a template, that number of edit boxes will be displayed when the page is edited.

      Example:

      {content block="Second Content Block"}
For more help see the Content tag under "Extensions » Tags" in the admin panel ( /admin/listtags.php?action=showpluginhelp&plugin=content )

So you can just use the regular:

Code: Select all

{content}
tag for your left content block.

Then for your right content block just put this in your template:

Code: Select all

      {content block="Right Content"}
Now, when you edit a page with that template, there will be another textarea named "Right Content". :)

Hope this helps,

Elijah

Re: Ideal Method for Adding Content?

Posted: Sun Feb 11, 2007 6:45 pm
by ortem
Ho-Ho! Thanks Elijah!

I will be sure to look into this as soon as I have the chance.

:)

Re: Ideal Method for Adding Content?

Posted: Sun Feb 11, 2007 6:50 pm
by calguy1000
ortem wrote: Hello...

I am new to the program and I am testing it to see if it is something that I would like to use with my design clients. I just downloaded/installed the program today.

If I understand correctly, content is placed on a page by adding the {content} tag correct?

If so, if one has a template that has 2 columns with content on the page, then an ideal method for places different content in each column would be to create content tags such as {left_content} and {right_content} or something of that nature?

Any input, thoughts would be appreciated. Thanks!
Yes, exactly.  I have a template with four content blocks....  {content} // located in the middle {content block=top}, {content block=left} and {content block=right} for a three column layout with a separate area on top for more content.

When I create a page, and assign that template to the page, I get four edit areas to work with, allowing me to specify different content in each of the four areas on all of the pages that use that template.

You can also use global content blocks (think of them as html snippets that allow you to re-use the same html code in multiple different locations) in templates, and/or in pages.

Re: Ideal Method for Adding Content?

Posted: Sun Feb 11, 2007 6:56 pm
by ortem
Thats good to hear. I was thinking that I might have to incorporate demon tables to make it work. I am so relieved that I don't!