Adding a left sidebar

Permalink Browser Info Environment
I am currently trying to add a left sidebar to the real_estate_listings.php page type. However, it looks as if the code in this .php file is placing itself within the main #content div and not calling in the different theme elements (such as the header and footer) and giving me the opportunity to add in the left sidebar code.

Could you direct me as to where I would add in the left sidebar code?

Type: Discussion
Status: New
clocktower
View Replies:
Tony replied on at Permalink Reply
Tony
hey, does this mean you got your installation issue resolved?
if so can I close that ticket?
http://www.concrete5.org/marketplace/addons/real-estate/support-and...

back to your question here... correct, the code in that php file doesn't have the header and footer, but that's by design. It's suppose to be loaded into your theme's view.php, and it's that file that should link to your header and footer. One approach you could take here is to add the left nav to that view.php within your theme. That would then add the left sidebar to every page that uses that view.php, but you could add some logic to make it switch on or off depending on the url or page type. Or you could add the left nav to the page type itself, but that may be a bit trickier depending on how your markup is structured.
clocktower replied on at Permalink Reply
clocktower
We are still having the issue but plan on installing it on a different domain to see if it's still having the issue.

As for the left sidebar, can you point us to where you are choosing to use view.php so we can choose for it to use another page type?
Tony replied on at Permalink Reply
Tony
it doesn't need to specify to choose view.php, that's just the way that concrete5 works with those page types that are defined within packages, they'll automatically be loaded within that view.php. does that make sense?
clocktower replied on at Permalink Reply
clocktower
Thanks for the replies! We went ahead and added the sidebar in the page type and it worked perfectly.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.