Developer forum

Forum » Templates » New design structure trouble

New design structure trouble


Reply
 Im working on the solution www.legeplaneten.dk and have been working with styling the solution accourdingly to requirements. However I have hit a snag. One of my paragraphs have disappeared and I cant figure out why. I suspect that it could be the "forside" template however everything seems in order. 

Replies

 
Reply
Hi there,

Can you be a bit more specific? Where is the template missing? At the front end? In the File Manager? Or maybe when assigning it to a paragraph?

Imar
 
Reply
Hi Imar.
Sorry, Ill try to be more specific.
The trouble Im having is that the paragraph is present both in my template, and on the page it is associated with when I left-click it, in the menu-tree on the left. There I can see the paragraph, but when I view the page frontend I cannot see the template anywhere. 
summed up: I can see the template in the html code and in my page tree back-end, but not frontend.
 
Reply
I am still not with you as to what you see and don't see, and where.

Could it be that you're overriding a template with the same name in your Designs folder? E.g. when you have paragraphs under the Paragraph subfolder they take precedence over normal templates.

Otherwise, please explain what your problem is in even more detail. I may be thick but I just don't understand "I can see the template in the html code and in my page tree back-end, but not frontend." Are you referring to paragraph template tags in the HTML?

And can we see a live example?

Imar
 
Nicolai Høeg Pedersen
Reply
Hi

It is because of an error in you markup - you are missing a </div> in your template, marked as yellow below is what you are missing:

<div id="middlecolumn" class="dwcontent" title="Middle Content Area">
                    <div class="paragraph">
                     maincontent
                    </div>
                    <div class="paragraph">
                     maincontent
                    </div>
                    <div class="paragraph">     
                     maincontent
                    </div>
                    <div class="paragraph">
                     maincontent
                    </div>
</div>
                <div id="rightcolumn" class="dwcontent" title="Right Content Area" style="width:130px;">
                    <div class="paragraph">
                     maincontent
                    </div>
                    <div class="paragraph">
                     maincontent
                    </div>
                </div>
 
Reply
hi nl.
Thanks for your help! 

@ Imar.
sorry for not explaining myself better. Ill try to be as specific as possible the next time I create a thread. And thanks for you trying to help me.
again. Thanks for your help!

 

You must be logged in to post in the forum