Coded something up in Couch in an interesting way? Have a snippet or shortcode to share? Post it here for the community to benefit.
14 posts Page 2 of 2
@KK, for some reason <cms:admin_add_css> doesn't work in sidebar.html and works fine in other theme snippets. What am I missing?
@trendoman, I think that has to do with how the 'main.html' snippet calls <cms:render 'sidebar' /> - if you take a look at it you'll see that <cms:admin_css /> has already executed way before the sidebar is rendered in the body. The way things stand, It appears only the snippets contributing to the 'k_main_content' (the central part) will be able to use <cms:admin_add_css> etc.
@trendoman

Your solution works perfectly, thank you! Now I must avoid the temptation to play around with modifying the default theme too much! :lol:

Here is a quick screenshot of how this worked out for me:

sidebar.PNG
screengrab of sidebar
sidebar.PNG (37.47 KiB) Viewed 2096 times
AnthonyW90 wrote: @trendoman

Your solution works perfectly, thank you!

All the best to the best people!
14 posts Page 2 of 2