Joss Posted November 24, 2012 Posted November 24, 2012 Hi This is probably me being idiotic! I have created a template that has one area where I want to import the content from another page - in this case a Bootstrap Carousel. I have added a "page" field to select the carousel and that works - I have called the field "import_page" In my template, I have put <?php echo $page->import_page; ?> That, I have discovered, displays the ID of the page, 1018. It looks a very nice number and quite pretty on the page, but I would rather have the actual carousel! So, how do I now render the actual contents of that page in full? All the best Joss 1
Joss Posted November 24, 2012 Author Posted November 24, 2012 Ta-da!!!! This one worked spot on:: $page->import_page->render Mucho Gracias! I now have a bootstrap carousel working inside my bootstrap template and I will run off and watch the finale of CSI Miami much happier Joss
onjegolders Posted November 25, 2012 Posted November 25, 2012 Love the Pebbles the Puppy website Joss!
Joss Posted November 25, 2012 Author Posted November 25, 2012 haha - Thanks onjegolders! I am about to put up some photos of our local flooding - we didn't get it as bad as others, so these are quite peaceful shots. And as usual, Pebbles has plenty to say about them... Joss
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now