I'm quite new in wordpress usage.
I'm trying to create for my template a left sidebar showing 2 posts of a different category with images called trough custom fields. I do it using query_posts command, and works fine in homepage. But in the categories archive pages, it gives a "not found", probably bacause i thinks to be still in the category of the sidebar. If i use query_posts again to call a category everything works again but, as i have many categories, i'd like to call the current category dinamically.
This is driving me crazy!!!
Thanks in advance.