Ideal Method for Adding Content?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
ortem

Ideal Method for Adding Content?

Post 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!
Last edited by ortem on Sat Feb 10, 2007 7:16 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Ideal Method for Adding Content?

Post 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
ortem

How you Handle Multiple Columns of Content?

Post 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!
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Ideal Method for Adding Content?

Post 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
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
ortem

Re: Ideal Method for Adding Content?

Post by ortem »

Ho-Ho! Thanks Elijah!

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

:)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Ideal Method for Adding Content?

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
ortem

Re: Ideal Method for Adding Content?

Post 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!
Locked

Return to “Layout and Design (CSS & HTML)”