Thibaut Fernagut wrote :
| I totaly don't know how to add that or even make the sidebar visible. It
| is been generated when I do honbix regen h0m3  but some reason it does
| not show. My css is correct as I have tried the default css from cvs
| which also does not show the sidebar.
| 
| Coul you paste te sidebar entry's you have here so I can look at the
| syntax ?

In fact, in hobix.yaml, I redefine sections of Quick templates that must
be (wtach out a little bit long ;):

requires: 
  - section_map
  - tags_map
  - hobix/out/quick: 
      sidebar_list: 
        - sidebar_archive
        - sidebar_syndicate
        - sidebar_section_map
        - sidebar_tags_map
        - sidebar_links
        - sidebar_hobix
      sidebar_links: |
        <div class="sidebarBox">
          <h2 class="sidebarTitle">Links</h2>
          <div class="BoxLine"><%= weblog.linklist.content.to_html %></div>
        </div>
      sidebar_archive: |
        <div class="sidebarBox">
          <h2 class="sidebarTitle">Archives</h2>
          <% current_year = Time.now.year %>
          <% years = [] %>
          <% months = weblog.storage.get_months( weblog.storage.find ) %>
          <% months.reverse.each do |month_start, month_end, month_id| %>
             <% if month_end.year == current_year %>
               <div class="BoxLine"> <a href="<%=weblog.link%>/<%= month_id 
%>index.html">[<%=month_start.strftime( "%Y/%m" ) %>]</a></div>
             <% elsif !years[current_year] %>
               <% years[current_year] = true %>
               <div class="BoxLine"> <a href="<%=weblog.link%>/<%= 
month_end.year %>/index.html">[<%=month_start.strftime( "%Y/" ) %>]</a></div>
             <% end %>
          <% end %>
        </div>

      sidebar_syndicate: |
        <div class="sidebarBox">
          <h2 class="sidebarTitle">Syndication</h2>
           <div class="BoxLine">
           <ul>
           <li><a href="<%=weblog.link%>/index-fr.xml"> Français (rss 2.0)</a> 
</li>
           <li><a href="<%=weblog.link%>/index-en.xml"> English (rss 2.0) </a> 
</li>
           </ul>
           </div>
        </div>

      sidebar_hobix: |
        <div class="sidebarBox">
           <div class="BoxLine">
           <p>Built upon <a href="http://hobix.com";>Hobix <%= Hobix::VERSION 
%></a></p>
           </div>
           <div class="BoxLine">
           <script type="text/javascript" 
src="http://technorati.com/embed/cx9dtpnesf.js";> </script>
           </div>
        </div>

| PS: I think you have put a lot of work in your site. It looks awsome.
| I've bookmarked it so I can readup on it. Would you mind if I link to
| you ?

Strictly no problem. I'll have at least one reader ;)

-- 
Frederick Ros aka Sleeper -- [EMAIL PROTECTED]

Don't compare floating point numbers just for equality.
            - The Elements of Programming Style (Kernighan & Plaugher)

Attachment: pgpEWh8VZCsWE.pgp
Description: PGP signature

_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to