<![CDATA[ Trouble creating a template. - MODX Community Forums]]> https://forums.modx.com/thread/?thread=15520 <![CDATA[Re: Trouble creating a template.]]> https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83656 Quote from: Gravesent at Feb 07, 2007, 12:36 PM

This happened because I replaced the <p> tags with
tags in the source code of the content, I did this because IE and firefox have a different vision of <p> tags, simply put IE doesn’t leave space above one if it’s the first one and FF does..

i suggest you to use basic-css element for your <p> tags, force your desired space or value to the browser! wink]]>
motsmart Feb 22, 2007, 07:47 PM https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83656
<![CDATA[Re: Trouble creating a template.]]> https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83655 Cheers,
Hal D]]>
hald Feb 22, 2007, 07:01 PM https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83655
<![CDATA[Re: Trouble creating a template.]]> https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83654 http://wiki.modxcms.com/index.php/Ditto]]> sottwell Feb 10, 2007, 04:39 AM https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83654 <![CDATA[Re: Trouble creating a template.]]> https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83653 Gravesent Feb 07, 2007, 08:40 AM https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83653 <![CDATA[Re: Trouble creating a template.]]> https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83652
I think you are trying to make the MODx template system more difficult than it is. Basically, you put the entire HTML code for a page in a template, replace content such as text and menus with the various MODx tags, then set each document to use the desired template.

Take a look at the tutorial I have on http://www.loripsum.co.uk/design-aqueouslightx.html for making a template.

Once you have a new template, you need to edit existing documents and set the template to the new one. Select your template from the drop-down, wait for it to refresh (to enable any TVs the new template has) then save the document. Or you can go to Tools->Configuration and set the default template to be your new one, and choose which of the radio buttons you like to convert existing documents to use the new template.]]>
sottwell Feb 07, 2007, 06:44 AM https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83652
<![CDATA[Re: Trouble creating a template.]]> https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83651
Problem fixed, theme applyes, if you need to have files for your theme put them in the root directory of the site, now I have some content problems, internet explorer is a bit special smiley I put the content div in a table cell with a fixed width, long lines of text stretch out of my table, any way to prevent this?

This happened because I replaced the <p> tags with
tags in the source code of the content, I did this because IE and firefox have a different vision of <p> tags, simply put IE doesn’t leave space above one if it’s the first one and FF does..]]>
Gravesent Feb 07, 2007, 06:36 AM https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83651
<![CDATA[Re: Trouble creating a template.]]> https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83650 sottwell Feb 07, 2007, 06:23 AM https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83650 <![CDATA[Trouble creating a template.]]> https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83649
<div id="content">
<h1>[*longtitle*]</h1>
[*content*]
</div>
And put it in the table cell where I want my content... thing is I have no idea what I have to do from here on, where do I put my page? And how do I make it identifieble by modx as a theme?

If needed I can provide the source code to the index.html file I made and the css and javascript files I linked to it.

All I need is a working example.. at least I hope I can figure it out from one, I used joomla in the past but it seems to be a completly different theme system smiley]]>
Gravesent Feb 07, 2007, 04:51 AM https://forums.modx.com/thread/15520/trouble-creating-a-template#dis-post-83649