We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15152
    • 360 Posts
    I’d like to output ditto with this sort of look (see image).

    I want the month listed by itself and the output for that month underneath. Has anyone done this and do you have any tips?
      There are no boring projects. Only boring executions. ~ Etzkorn
      www.impress-design.com
      • 19889
      • 616 Posts
      something like this maybe: http://www.vsbtu.ch/pnews-archiv.htm
        • 15152
        • 360 Posts
        Yes. Or this

        http://www.darrenhoyt.com/blog/

        Whicj I know was done in Wordpress

        Know ho it can be accomplished?
          There are no boring projects. Only boring executions. ~ Etzkorn
          www.impress-design.com
          • 19889
          • 616 Posts
          this is the config file I’m using for Reflect
          // set locale	
          	//setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
          	setlocale(LC_TIME, 'de_DE.UTF8', 'de.UTF8', 'de_DE.UTF-8', 'de.UTF-8');
          	
          	// parameters
          	$id						= 'news';
          	$targetId				= 2478;
          	$parents 				= 8;
          	$getDocuments			= 1;
          	$monthSortDir			= 'desc';
          	$dittoSnippetParameters	= 'parents:8|summarize:all|hideFolders:1';
          	//$dateFormat 			= '%d. %b. %Y'; // '%d. %B %Y, %H:%M:%S'
          	$dateFormat 			= '%d. %m. %Y'; // '%d. %B %Y, %H:%M:%S'
          	//$language				= 'german';
          	
          	// templates
          	// container
          	$tplContainer	= '@CODE:
          		<div class="reflect_archive_list">
          			<ul class="reflect_archive">
          				[+wrapper+]
          			</ul>
          		</div>';
          
          	// year
          	$tplYear		= '@CODE:
          		<li class="reflect_year">
          			<h3 title="[+year+]">[+year+]</h3>
          				[+wrapper+]
          		</li>';
          		
          	// month	
          	$tplMonth		= '@CODE:
          		<li class="reflect_month">
          			<h4 title="[+month+] [+year+]">[+month+]</h4>
          			[+wrapper+]
          		</li>';
          		
          	// item						
          	$tplItem		= '@CODE:
          		<li class="reflect_item">
          			<span class="reflect_date">[+date+]</span> - <a href="[~[+id+]~]" title="[+pagetitle+]" class="reflect_item_link">[+pagetitle+]</a>
          		</li>';
          		
          
            • 36527
            • 120 Posts
            Thanks for posting that - really appreciated.

            What is the actual ditto and reflect call may I ask?
              • 19889
              • 616 Posts
              Quote from: Moondawgy at Nov 13, 2009, 03:36 PM

              Thanks for posting that - really appreciated.

              What is the actual ditto and reflect call may I ask?

              just a plain reflect call setting the config file as well as the language - all the parameters are set in the config file
                • 36527
                • 120 Posts
                Cool - thanks so much smiley
                  • 32862
                  • 10 Posts
                  How do I set the config file and all it with reflect?