You are not logged in.
Pages: 1
Is it possible to right justify or right float a callout? If so, how does one go about doing this?
Offline
By default in BigTree callouts are just chunks of data. On the front end you can draw them however you like.
In the past when we've used the callout system to draw multiple types of callouts (left, right, and content blocks) we add an alignment field to the callout's resources. Then we loop through the available callouts in 3 places checking the alignment and drawing them in the proper spot.
Offline
I guess I'm missing something.
How or where would you handle the following: "Then we loop through the available callouts in 3 places checking the alignment and drawing them in the proper spot."
Offline
BigTree provides the $bigtree["page"]["callouts"] array to your page's template when rendering. You use that array to loop / draw your callouts.
In the example site you can see how we do that in /templates/layouts/default.php beginning on line 21.
Offline
Pages: 1