I created a custom panel layout with Panels 3 (following this excellent link) and my layout is ready. Now I have my static markup ready for a node (I can use it on the article or a custom content type) and I want to find out how to create a custom panel pane programmatically. I don't won't to do it through the UI as I want to totally control the dynamic markup of a node. to make things specific (but keeping a certain level of generality), imagine
<div class="post"> <h3 class="title"> <span class="date"> <span class="day"> !!php dynamic day of the date!! </span> <span class="month"> !!php dynamic month of the date!! </span> </span> <a href="#"> !!php dynamic title of the node!! </a> </h3> <div class="content"> <p> !!php dynamic content(body) of the node!! </p> <div class="read-more" > <a href="#"> !!php dynamic read more text!! </a> </div> </div> <!-- end: content --> </div> <!-- end: post1 -->
How can I achieve to manage the above dynamic node (and let's suppose I want to achieve an exact, specific markup)?