Sep 06, 2008, 01:49 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [Template] CMS Made Simple template set  (Read 9649 times)
0 Members and 1 Guest are viewing this topic.
dernier_recours
Member
**
Posts: 83



« on: Apr 23, 2006, 12:21 PM »

This is a MODx adaptation of the default CMS Made Simple template set. It provides standard vertical bullet menus, css dropdown horizontal and vertical menus and split menus for one or two columns. Of course, acknowledgements to the CMS Made Simple designers.

For all templates, you need the PrevNext snippet:
   http://modxcms.com/forums/index.php/topic,2028.msg14244.html#msg14244

For bullet menus, you need to add the activeTreeOnly option in DropMenu and Susan's hack:
   http://modxcms.com/forums/index.php/topic,3996.0.html
   and
   http://modxcms.com/forums/index.php/topic,2609.msg17880.html#msg17880

For split menus, you need to add the startFromParent option in DropMenu:
   http://modxcms.com/forums/index.php/topic,4095.0.html


* templates.tar.gz (9.93 KB - downloaded 900 times.)

* cmsms_template_split_menu.png (40.43 KB, 300x240 - viewed 6551 times.)
« Last Edit: May 10, 2006, 11:53 AM by dernier_recours » Logged

at the edge of dawn,
you ask yourself if your shadow did follow you down
all night long
Wikimig
Jr. Member
*
Posts: 4


« Reply #1 on: May 10, 2006, 09:57 AM »

Hi!

This template is awesome !!! Thank you!

I am trying to modify it a bit and I would like to get the menu item that is active to be into a different color.
It works for menu items that have nested childs but not for lonely ones!

For example :
MenuItem_A -> SubMenuItem_A1
MenuItem_B (no submenu)

If the user selects "SubMenuItem_A1", the "MenuItem_A" items has the different color.
But If he selects "MenuItem_B", the "MenuItem_B" item keeps his old one (I am using the cssmenu-horiz_1-col template)!

It seems that "MenuItem_B" has to get the class="menuactive" in his LI tag :
<li class="menuactive"><a href="index.php?id=15" title="">MenuItem_B</a></li>

I did the 4 modifications you mentionned but didn't used the startFromParent variable.

Any idea of how I could do this?
Logged
zi
MODx Special Forces /
Administrator
*
Posts: 2,914


May Peace Be On You


WWW
« Reply #2 on: May 10, 2006, 10:42 AM »

Thanks for sharing a nice template! Smiley

best regards,

zi
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
dernier_recours
Member
**
Posts: 83



« Reply #3 on: May 11, 2006, 11:45 AM »

Any idea of how I could do this?

DropMenu should set the hereClass to every root. I guess it is a css thing.
Code:
.here ul li {;} /*for MenuItem*/
.here ul li ul li {;} /*for SubMenuItem*/

Does it help?
Logged

at the edge of dawn,
you ask yourself if your shadow did follow you down
all night long
Wikimig
Jr. Member
*
Posts: 4


« Reply #4 on: May 12, 2006, 08:53 AM »

Hi dernier_recours!

Tanks for your fast reply!

Quote
Does it help?

Actually no, I am not really good at using css!  Grin

I checked on a fresh intallation of the template but it doesn't work neither! Or at least not on my configuration (I am using FireFox and/or Konqueror).

It really seems that the
Code:
class="menuactive"
isn't given to the
Code:
<li><a href="index.php?id=15" title="">My Page</a></li>
to finally make the
Code:
<li class="menuactive"><a href="index.php?id=15" title="">My Page</a></li>
that would work...

As I am more a programmer than a designer, if this is something that can be fixed on the css, could you show me where please?

Thank you!
Logged
Chris Fancy
Jr. Member
*
Posts: 8



WWW
« Reply #5 on: May 14, 2006, 03:14 PM »

Hi,
Great looking template, i have a question...

How do you install this template...? I've used Etomite, but just starting out with Modx, I've downloaded the links above but where do I upload my files too... to replace the standard stock template..?

Any help would be great.. Grin

Chris.
Logged

Regards,
Chris Fancy
www.pendlebusinesssolutions.co.uk
Technology, marketing, internet and web-hosting services.
kickass
Full Member
***
Posts: 159



WWW
« Reply #6 on: May 14, 2006, 08:52 PM »

You upload the folder with the css and images into assets/templates/

Then you have to, in admin, create the template and paste in the html part of it.

Hope that helps!
Logged

"I'd love to change the world but I can't find the source code . . ."

Custom ModX Templates
Chris Fancy
Jr. Member
*
Posts: 8



WWW
« Reply #7 on: May 15, 2006, 03:50 AM »

Thanks for the tip...

Another question..

Where do i put the tpl fils...? and there was no html file to paste into a new template...!

see attached screen shot of the tpl file in the archive i downloaded from this string...



* Where_do_I_put_these_tpl_files.JPG (28.99 KB, 394x270 - viewed 388 times.)
Logged

Regards,
Chris Fancy
www.pendlebusinesssolutions.co.uk
Technology, marketing, internet and web-hosting services.
Wikimig
Jr. Member
*
Posts: 4


« Reply #8 on: May 15, 2006, 04:17 AM »

Hi!

Actually the content of the *.tpl files is what you have to put on the new model you create!

Each .tpl file is the content of a HTML model. For example, you can create a model named "bulletmenu-vert_1-col" (or whatever you want) and copy/past the content of bulletmenu-vert_1-col.tpl in it.

This new model then uses the files you uploaded before.

Create one model for each .tpl file you want to use.

Then just specify the one you want to use through the Administration/System Configuration/Default Template

Wikimig.
Logged
Chris Fancy
Jr. Member
*
Posts: 8



WWW
« Reply #9 on: May 15, 2006, 05:52 AM »

Thanks I'll try it...
Logged

Regards,
Chris Fancy
www.pendlebusinesssolutions.co.uk
Technology, marketing, internet and web-hosting services.
Wikimig
Jr. Member
*
Posts: 4


« Reply #10 on: May 17, 2006, 02:01 AM »

BTW, do you managed to get all menu items assigned the specific color to show the current page selected?

This is what I explained lately :

Quote
I am trying to modify it a bit and I would like to get the menu item that is active to be into a different color.
It works for menu items that have nested childs but not for lonely ones!

For example :
MenuItem_A -> SubMenuItem_A1
MenuItem_B (no submenu)

If the user selects "SubMenuItem_A1", the "MenuItem_A" items has the different color.
But If he selects "MenuItem_B", the "MenuItem_B" item keeps his old one (I am using the cssmenu-horiz_1-col template)!

It seems that "MenuItem_B" has to get the class="menuactive" in his LI tag :
<li class="menuactive"><a href="index.php?id=15" title="">MenuItem_B</a></li>

Thanks!

Wikimig.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!