html content with files
Permalink
I want to put html content into a page. I can do that.
BUT many programs export an html file and then a folder with many files. How do I put the index file AND the files into a page?
Or is there an easy way to combine all the pages into one html file? And then I can insert the code.
BUT many programs export an html file and then a folder with many files. How do I put the index file AND the files into a page?
Or is there an easy way to combine all the pages into one html file? And then I can insert the code.
Thanks for the note. I do not know to link the associated files for the webpage in iframe.
I have one html file and then a folder with all the other files such as images and css info.
Thanks again.
I have one html file and then a folder with all the other files such as images and css info.
Thanks again.
Just link to the index.html file
What program are you using to create the HTML that gives you "a folder with many files"?
I ask because it sounds like you are saving an HTML page and it's associated images and style sheets. If this is the case, what you need to do is create a theme. The link below will walk you through how to do this.
http://www.concrete5.org/documentation/how-tos/designers/make-a-the...
Here is another one:
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
I ask because it sounds like you are saving an HTML page and it's associated images and style sheets. If this is the case, what you need to do is create a theme. The link below will walk you through how to do this.
http://www.concrete5.org/documentation/how-tos/designers/make-a-the...
Here is another one:
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
Thanks for the reply. You are right. I am exporting from a program into HTML and it creates one html file with associated files all in a folder. This can get quite large.
Specifically I am exporting from BasketNotes under Ubuntu. I want to export them to HTML and then make them available on my website.
Maybe the theme is the best way to do that.
Specifically I am exporting from BasketNotes under Ubuntu. I want to export them to HTML and then make them available on my website.
Maybe the theme is the best way to do that.
I would investigate creating a 'Single Page' for this. I'm not sure how much experience you have with this but I would create a file in your 'root/single_pages' folder and name it basketnotes.php (or whatever name you want it to be called in your nav)
C5 wraps 'single pages' in your theme so it automatically adds the header and footer elements from your theme and the 'header-required' and 'footer-required' stuff that C5 needs so all you need in this file is just the core content. Start with just a single div such as:
To add this page to your site, go to 'Dashboard->Themes->Single Pages' and type in 'basketnotes' in the top box (leave off the .php extension) and click 'Add'. It will immediately show up on your nav so you'll want to either move it somewhere private or add the 'Exclude from Nav' attribute so it doesn't appear.
Now you can edit your 'basketnotes.php' file in 'root/single_pages' to contain all the html from basketnotes output and put the 'additional files' you speak of in a folder off 'root/single_pages/' such as 'root/single_pages/basketnotes_files'
Give it a go.
C5 wraps 'single pages' in your theme so it automatically adds the header and footer elements from your theme and the 'header-required' and 'footer-required' stuff that C5 needs so all you need in this file is just the core content. Start with just a single div such as:
<div class="basketnotes"> <h2>BasketNotes</h2> <hr> <?php $bn = new Area('basketnotes'); $bn->display($c); ?> </div>
To add this page to your site, go to 'Dashboard->Themes->Single Pages' and type in 'basketnotes' in the top box (leave off the .php extension) and click 'Add'. It will immediately show up on your nav so you'll want to either move it somewhere private or add the 'Exclude from Nav' attribute so it doesn't appear.
Now you can edit your 'basketnotes.php' file in 'root/single_pages' to contain all the html from basketnotes output and put the 'additional files' you speak of in a folder off 'root/single_pages/' such as 'root/single_pages/basketnotes_files'
Give it a go.
Are you referring to BasKet Note Pads (basket.kde.org)? If so, then you are likely exporting a lot of structure data and images that you don't need. Ideally, you would just use a core theme (at least for now) and then use content blocks to store the data. How many pages are you trying to move into Concrete5?
Of course, you could always just upload all the exported files into a sub-domain. They should just work once they are uploaded. Then all you need to do is add a link to your Concrete5 site to this sub-domain.
Thanks for your great suggestions. I will work on this soon.
http://www.concrete5.org/marketplace/addons/iframe/...