Jump to content


Mollio Template Confusion


  • You cannot reply to this topic
4 replies to this topic

#1 Deb

    Likes Etomite Forums!

  • Member
  • PipPip
  • 253 posts

Posted 05 May 2006 - 11:21 AM

Hi,

I'm very confused on the use of the Mallio template. I've managed to pretty much get it customized but using it is another story. They *seem* very different in usage from any other Eto template I've used before.

1) There are 2 files (it seems) for each template. One that gets "decoratated" to look like I want it to and the other is what I call "bare code." Previously, I've always created an html template and pasted it into the Eto admin and dropped in my snippets and voila! Web site in motion. Well, from what I can tell, the Mollio temps don't work like this. I pretty up one, but if I paste it into the Admin things go kafluey. If I paste in the one that is "bare code" then things seem to work again and I upload via ftp the customized one that has the design to it. Am I doing something wrong? It seems like I have to make identical adjustments in both templates in order for things to work. This doesn't seem right .. and I'm afraid what I've managed to do is double my own workload, LOL! I just tested this again to make sure and my site went down the tubes pasting in the typeC.html into the Admin. Seems I have to paste in the mollio_TypeC.htm instead.

2) Regarding the Feature Box ... this is very strange. I have changed the one feature box content which uses a background image - which I did use. Then I removed the text and added my own plus added my own image w/in the box. Well, at first I couldn't get the new Feature Box to show up (which actually replaced one Feature Box in the typeC.html. I now just added the featurbox div to the mollio_TypeC.htm and pasted that into the Admin and my own Feature Box now shows but so do the other two original ones! There is only one featurebox div tag in the mollio_TypeC.htm and two in the typeC.html - yet I now have 3 Feature Boxes on my page! This makes no sense to me, please tell me how this is supposed to work.

Ok - that's all for the moment ... back to work for me!

Thanks!

#2 lloyd_borrett

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 605 posts
  • Gender:Male

Posted 05 May 2006 - 01:35 PM

G'day Deb,

I'm not sure I fully get what your problem is, but I'll try and talk you through it.

By the way, have you read the detailed instructions about the Mollio templates in the Completed Templates forum at http://www.etomite.com/index.php?showtopic=4779. I wrote this AFTER the templates shipped with Etomite 0.6.1 Prelude. The readme file will hopefully give you some more understanding. Some of the other posts to that topic might help you as well.

I think you problem is that you're getting a few things confused.

The file templates/mollio/mollio_typeC.htm is just a copy of the actual template. It's what has been used to create the Mollio_typeC template that comes with Etomite 0.6.1 Prelude, or is what you paste in to your database in an older version of Etomite to create your new template. So if you leave that file alone, make your changes to the template in your database, or in a copy of that file, you'll always have the original version of the template to go back to.

The file templates/mollio/mollio-type-c.htm is not a template. It's the content for an example page that if created and told to use the Mollio type C template, will give you an example page. In other words, it's the content used to create the mollio-type-c.htm page in the Etomite 0.6.1 Prelude install.

The file templates/mollio/css/main.css is the CSS style shett used by the template file. Change this file on your server and you change the tempalte's CSS settings.

Change the Mollio_typeC template stored in your database, and you change the actual template.

The only other files are the script and image files that are used bt the template and/or the CSS file.

Best Regards, Lloyd Borrett.

#3 lloyd_borrett

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 605 posts
  • Gender:Male

Posted 05 May 2006 - 02:38 PM

Okay Deb, now I'll try and tackle the feature box thing.

The feature boxes are created by putting your content in a div, e.g.
<div class="featurebox">
<h3>A h3 level heading inside a "featurebox" div</h3>
<p>A normal paragraph of text within a div with a class="featurebox", A normal paragraph of text within a div with a class="featurebox", <a href="devtodo" class="morelink" title="A h3 level heading inside a featurebox div">More <span>about: A h3 level heading inside a featurebox div</span></a></p></div>

As I recall, there is only the class "featurebox" in the CSS file. But there are actually two featurebox background image files.

The CSS file uses the background image featurebox_bg.gif (that's the grey image) as the background for the "featurebox" class, and also as the background for the unselected section in the main navigation drop down menu.

The file featurebox2_bg.gif (that's the red one) is used as the background for the selected section in the main navigation drop down menu.

To have a feature box in the sidebar and/or the main content, or I guess anywhere else, all you have to do is put what you want in the featurebox within that class="featurebox" div.

In the Mollio template that shipped with Etomite 0.6.1 Prelude, I think I put in an example of the RelatedInfo snippet that I use to populate sidebars.

The RelatedInfo info snippet is invoked in the sidebar part of the Mollio_typeC template.

The RelatedInfo snippet then looks for a RelatedInfo-<page-alias> chunk for the current page. If it finds one it displays it. If it doesn't find one it looks for a deafult one and uses that, or simply does nothing.

What I then do is create chunks and/or snippets that will return what I want in class="featurebox" divs. Then I create RelatedInfo-<page-alias> chunks for each page where I want to have something come up.

I find users can manage this concept easily.

Hope this helps,

Best Regards, Lloyd Borrett.

#4 Deb

    Likes Etomite Forums!

  • Member
  • PipPip
  • 253 posts

Posted 05 May 2006 - 02:39 PM

lloyd_borrett, on May 5 2006, 08:35 AM, said:

G'day Deb,

By the way, have you read the detailed instructions about the Mollio templates in the Completed Templates forum at http://www.etomite.com/index.php?showtopic=4779. I wrote this AFTER the templates shipped with Etomite 0.6.1 Prelude. The readme file will hopefully give you some more understanding. Some of the other posts to that topic might help you as well.

No, because I didn't know it was available until now, but now that I know I shall read it.

Quote

I think you problem is that you're getting a few things confused.
You got that right!

Quote

The file templates/mollio/mollio_typeC.htm is just a copy of the actual template. It's what has been used to create the Mollio_typeC template that comes with Etomite 0.6.1 Prelude, or is what you paste in to your database in an older version of Etomite to create your new template. So if you leave that file alone, make your changes to the template in your database, or in a copy of that file, you'll always have the original version of the template to go back to.

The file templates/mollio/mollio-type-c.htm is not a template. It's the content for an example page that if created and told to use the Mollio type C template, will give you an example page. In other words, it's the content used to create the mollio-type-c.htm page in the Etomite 0.6.1 Prelude install.

The file templates/mollio/css/main.css is the CSS style shett used by the template file. Change this file on your server and you change the tempalte's CSS settings.

Change the Mollio_typeC template stored in your database, and you change the actual template.

Well, I'm still confused but working on it. Seems I keep screwing up the feature boxes and I haven't figured out why yet. I understand the use of the css file so that's not an issue - other than understanding the css itself <g>. As a basic css user this one's overwhelming for me - but I'm getting there. I understand that I paste in the mollio_typeC.htm to the admin. And I can work on the typeC.html to see what it looks like before uploading since I can't see what it looks like by viewing the mollio_typeC.htm.

I don't suppose there's a way to combine the two so that I can work on the template (and see what I'm doing in that same template) that gets pasted in? All one unit, ya know? That would cure alot of my ailments <gr>!

#5 Deb

    Likes Etomite Forums!

  • Member
  • PipPip
  • 253 posts

Posted 05 May 2006 - 03:02 PM

Hi Lloyd,

Thanks for the explanation, Lloyd. You're a real sweetheart to help me out like this. I do get the basic concept of it, my problem is that I'm having trouble getting them to work but it's coming! I did finally get one where I wanted it!!! http://www.digitalmousedesigns.com/index.html

I'm sure one of my biggest problems is being a basic css user and tackling something like this. I need someone in the know to hold my hand or something. LOL! What can I say, I love the template so I'm giving it my best shot, although I did seriously consider converting it to tables, LOL! About that bucket of water you want to dump on my head ....





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users