We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1343 ☆ A M B ☆
    • 2,213 Posts
    Despite the fact I don’t overly understand the help being given so far you have all been very helpful.

    Now its up to me to take what help you have givent and make things work correctly. Once I learn how to get things working and all I only hope I can return the help by converting more templates for use on modx or something.

    Thanks again
    AMDbuilder
      Patrick | Server Wrangler
      About Me: Website | Tweets |  MODX Hosting
      • 25663 MODX Staff
      • 12,272 Posts
      I suspect you’re making it more complex in your mind than it needs to be. Build a static template with placeholder content. Then strip out the main content and replace it with [*content*]. Do the same thing with your sidebar(s), replacing them with TVs called [*sidebar*] for instance.

      For parts that are static and might repeat across multiple templates, put them in chunks. Like your {{footer}}.

      For your navigation, you’ll want to probably use [[Dropmenu]] with a bunch of parameters tossed in: [[Dropmenu? &parameter=`value`]], for example. Or you might want to use a static menu if your site structure won’t change frequently. Put those in a chunk as well: {{navbar}} (I’m doing this more and more and I released the DropMenu snippet!)

      That’s pretty much it. Copy and paste it into a template and you’re pretty much done.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 1343 ☆ A M B ☆
        • 2,213 Posts
        My problem appears to be strictly in the menu.. if you compare the theme demo and my demo site you will see the menu is different and im not sure how to fix it yet.

        http://www.oswd.org/design/preview/id/2725

        http://control.vbtechservices.com/amdbuilder/

        Other than the menu being messed up all seams to be working quite well. The chunks are lovely (becuse I havent taken time to learn TVs or any of that) They are also very very simple.

        Heck I am runing a form processor that im sure could be totaly intergrated into modx, but im not willing to try to figure out what everything needs to be as some of it is php some text files etc..

        My goal for the time being is just to solve the menu problem or learn how to solve it.. If someone fixes it and just posts the code that should be enough for me to figure it all out.

        Or am I just going totaly insane and FF dosnt want to show me the modx menu correctly?

        Thanks again
        AMDbuilder
          Patrick | Server Wrangler
          About Me: Website | Tweets |  MODX Hosting
          • 25663 MODX Staff
          • 12,272 Posts
          Speaking of form processors, the eform snippet is really nice when combined with the eform parser enhancement. I’m 95% certain it will replace all form implementations and the distribution with the next release.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 26799
            • 177 Posts
            The menu problem is real not that complex, it’s simply a CSS issue, it can all be fixed in your CSS...

            this is the original menu’s markup: I’ve only copied what’s important
              <div id="menu">
            	<div id="menutop"><a title="home"href="index.html"><img alt="home" src="menu-top.gif" width="200" height="200" /></a></div>
            	<div class="navcontainer">
            		<ul class="navlist">
            			<li><a title="link one" href="index.html">home</a></li>
            			<li><a title="link two" href="index.html">link two</a></li>
            			<li><a title="link three" href="index.html">link three</a></li>
            			<li><a title="link four" href="index.html">link four</a></li>
            			<li><a title="link five" href="index.html">link five</a></li>
            			<li><a title="link six" href="index.html">link six</a></li>
            		</ul>
            	</div>
            	<br />
            	<div class="navcontainer">
            		<ul class="navlist">
            			<li><a id="topmenu" title="valid xhtml strict" href="index.html">valid xhtml strict</a></li>
            			<li><a title="valid css" href="index.html">valid css</a></li>
            			<li><a title="derby web design" href="http://www.tristarwebdesign.co.uk">webdesign by tri-star</a></li>
            		</ul>
            	</div>
            </div>
            
            


            here is the converted version’s Markup: I’ve only copied what’s important

            	
            <div id="menu">
              <div id="menutop"><a title="home"href="index.html"><img alt="home" src="/amdbuilder/assets/templates/progress/menu-top.gif"/></a>
              </div>
              <div class="navcontainer">
                <ul class="topnav">
                  <li class="here">Home</li>
                  <li><a href="index.php?id=2" title="">Progress</a></li>
                  <li class="last"><a href="index.php?id=3" title="">Andreas</a></li>
                </ul>
              </div>
            </div>
            


            If you’ll compare the two version you’ll notice they differ minutely. The original has a selector of the name of navlist, the converted version has a .Selector by the name of topnav... I’ll explain why this is important.

            .navcontainer a:link, .navlist a:visited
            {
            color: #EEE;
            text-decoration: none;
            }
            


            above your telling the navlist class to handle a:visited link with no underline. the problem is... In your converted version there is no class called navlist in your Markup it’s been changed to topnav. there is a simple solution to this, change your .Selector from navlist to topnav...

            The next problem your facing is the here class which is how [[dropMenu]] shows the current page... what happens is the text within the current page’s navigation entry is left without a wrapping <a>, which means none of your .Selectors within menu.css will effect it. In order for you to use the Here option in [[dropMenu]] you’ll need to add a Class .Selector of .here and modify your css to match or accent your menu entries.

            if you’d rather not use the [[dropMenu]]’s Here option, simply set it to false in your template I believe it’s like the following

            
            [[dropMenu?&here=false]]
            
            


            I really hope this helps, I’ve tried to make it as clear as possible, if there is any part of this you don’t understand, or that I’ve less than adequately explained, let me know, but please be specific and I’ll try to clear it up.
              • 1343 ☆ A M B ☆
              • 2,213 Posts
              Seventhapex thanks for the breakdown of the problem. Im sure I will have some questions I just don’t know them yet.. CSS is rather new to me granted im learning it. Give me a few days to go over it all. Hopefully I can fix it all with the help you have provided. smiley

              rthrash does eform allow you to select the sender in the form? the one im using right now is spidermail (http://www.fromthedesk.com/work.php) It allows me to use a drop down form box for users to select who they would like to email. All in all its the simplest form processor I have dealt with so far with very very little thinking involved (and little for me to mess up) it also hides email addresses in an address book you just put a keyword like Coder and it finds the address related to that keyword.

              My problem is there normaly isnt any good documentation on what I need to do to get things to work. So a KISS processor like this is next to gold for me. I did look into eform and all, but got overloaded and couldnt figure it out.. Kinda the same with the menu.. its a bit overwelming for me.. tons of settings that could be useful.. just don’t know enough to pick the right stuff. Also why I combined the 2 menus into 1 dropdown thing in conversion.. I knew 2 would be buku problems for me..

              Again thanks for all the help everyone! I will do some more learning over the weekend and hopefully figure this all out.
              AMDbuilder

              Thanks for bearing with me on this! smiley
                Patrick | Server Wrangler
                About Me: Website | Tweets |  MODX Hosting
                • 26799
                • 177 Posts
                no problem, I hope my help was... well, helpfull... God bless