Hey again Florian, I decided to go ahead and put up an example of what (I think) you are attempting to achieve. Here is a link to a page that shows the output of the code I wrote:
http://ispheretechnologies.com/eetests/
And here is the code:
{exp:channel:entries channel="test_channel" disable="categories|member_data|pagination" dynamic="no"}
{if sticky == 'y'}
{if count == 1}
<h2>Sticky Title</h2>
<ul>
{exp:stash:set name="close_sticky_list"}</ul>{/exp:stash:set}
{/if}
<li>{title}</li>
{/if}
{/exp:channel:entries}
{exp:query sql="SELECT title FROM exp_channel_titles WHERE channel_id='8' AND sticky='n' ORDER BY entry_date DESC"}
{if count == 1}
{exp:stash:get name="close_sticky_list"}
<h2>Normal Title</h2>
<ul>
{/if}
<li>{title}</li>
{if count == total_results}</ul>{/if}
{if no_results}
{exp:stash:get name="close_sticky_list"}
{/if}
{/exp:query}
Note that this is just a temporary link I put up on my site to show you the output of the EE2 code. I’ll remove the page once you get this thread resolved (since this is page is on a live site
).
Anyhow to explain the code, I created a test channel (whose ID is ‘8’ in the database) and added 6 test entries in there, 3 sticky, 3 not sticky. First I used an {exp:channel:entries} tag to output the sticky items. Note the use of the Stash module to store and retrieve data throughout the template. Then, instead of using a second {exp:channel:entries} tag to output the non-sticky items I used the Query module instead so that I could easily just pull in non-sticky items and filter out the sticky items for my ‘Normal Posts’ list.
I really hope this helps you out. Let me know if it does.