We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23299
    • 1,161 Posts
    Quote from: jqdesigner at Mar 10, 2010, 01:04 PM

    I figured out a way to do it with a custom tpl and wayfinder and it will be super easy for the customer to edit it as well.

    Thank you all for all the help.

    Good! Can you show us what you did? That way others who follow this thread will have a "conclusion to the story..."
      • 14864
      • 24 Posts
      Here is my page Template it is a container.
      {{head}}
      {{main_navigation}}
      <div id="empty_main_container">
          <div id="links_graphic_container"></div>
          <div class="box_news black">
            <div class="corner TL"></div>
            <div class="corner TR"></div>
            <div class="corner BL"></div>
            <div class="corner BR"></div>
            <div class="inner">
              <ul class="linkboxes">
                [*content*]
              </ul>
            </div>
          </div>
        </div>
        {{footer}}


      Here is my wayfinder call in the container. The &startId is the id of the container and &rowTpl is my custom wayfinder template
      [!Wayfinder? &startId=`24`&rowTpl=`wayfinder_tpl`!]


      Here is my wayfinder template
      <li><a href="[+wf.link+]" target="_blank">
                  <h1>[+wf.title+]</h1>
                  <span> </span>[+wf.introtext+]</a></li>


      Each of the links is a weblink inside of the container, so that they are easily added, edited and deleted.

      Here is the css used for the list
      /* LINKS */
       
      ul.linkboxes {
      	display: block;
      	width: 670px;
      	position: relative;
      	list-style-type: none;
      	overflow: hidden;
      	text-align: left;
      }
      ul.linkboxes li {
      	display: block;
      	position: relative;
      }
      ul.linkboxes li a {
      	display: block;
      	text-decoration: none;
      	padding: 10px;
      	color: #EFEAD6;
      	font-size: 13px;
      	line-height: 18px;
      	border-bottom-width: 1px;
      	border-bottom-style: dotted;
      	border-bottom-color: #EFEAD6;
      }
      ul.linkboxes li a:hover {
      	background-color: transparent;
      	background-image: url(../images/div_hover_bkg.png);
      }
      ul.linkboxes  li  a  h1 {
      	display: block;
      	color: #00CCCC;
      	margin-bottom: 2px;
      	font-size: 20px;
      }
      ul.linkboxes span { display: none; }
      
      
      /* LINKS END */


      Hope this helps.


        • 23299
        • 1,161 Posts
        That should work - although its hard to visualize without seeing the active site.

        It does seem like you have a lot of divs to present the container boxes though. Once you refine this you might be able to assign those classes to the actual content with CSS which would reduce the markup somewhat...
          • 14864
          • 24 Posts
          Here is a link to the active page.

          http://svr8.acornhost.com/~infinity/links.html
            • 20413
            • 2,877 Posts
            I did this for front-end users (as a proof of concept)
            http://modxcms.com/forums/index.php?topic=30540.0
              @hawproductions | http://mrhaw.com/

              Infograph: MODX Advanced Install in 7 steps:
              http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

              Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
              http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower