It looks like we might be doing a little work together on a project so I was checking out your site. My solution to this particular problem was creating a function in a custom module, and then calling that function to grab the file from the files/pages directory and output it. That way, it's only one line of code in the node body field, like:
<?php custom_get_node('about-us.php'); ?>
The downside to this (and the advantage to your solution) is that you have to have a custom module available for the function call. I've been feeling like this is kind of a hack-ish solution for a while now, but it's serving it's purpose. Ideally, it would be nice to have a little toggle below the text area that will import the content of the file to the text area, and another to export it to a file, so non-technical users can just pull the content in when they need to use it, and we (as admins) can output it back when we want to use an editor.
Hi Caleb!
Hi Caleb,
It looks like we might be doing a little work together on a project so I was checking out your site. My solution to this particular problem was creating a function in a custom module, and then calling that function to grab the file from the files/pages directory and output it. That way, it's only one line of code in the node body field, like:
<?phpcustom_get_node('about-us.php');
?>
The downside to this (and the advantage to your solution) is that you have to have a custom module available for the function call. I've been feeling like this is kind of a hack-ish solution for a while now, but it's serving it's purpose. Ideally, it would be nice to have a little toggle below the text area that will import the content of the file to the text area, and another to export it to a file, so non-technical users can just pull the content in when they need to use it, and we (as admins) can output it back when we want to use an editor.
I look forward to talking with you!
Later,
Chris