[joomla] Including an external HTML file in an Article
Helvécio da Silva
helvecio.rj at gmail.com
Wed Sep 26 01:52:46 EDT 2012
If this HTML is a menu item, you can use an iframe wrapper menu type.
It will appear as an article, keeping the original HTML formatting.
2012/9/25 Geoffrey Schaller <gjschaller at psi-13.com>
> I have an HTML file that is regularly updated from an external source (A
> Word document that is saved out to HTML whenever the author updates it) -
> for practical reasons, it's easier to keep the file in Word rather than as
> a Joomla Content Article.
>
> I'd like to include / "insert" the HTML file into a Joomla Article, so
> that the file appears as an article within Joomla - also, as the HTML file
> is updated, the Joomla Article automatically includes the latest version by
> pulling directly from the HTML file on the server.
>
> I tried Sourcerer and the php function "require($DOCUMENT_ROOT . "path to
> file/include-file.html");", but this doesn't seem to be working - it comes
> up blank. I'm not sure if HTML Server Side Includes will work within
> Joomla - does anyone have any ideas on how to pull / nest an external HTML
> file into a Joomla article?
>
> Thank you!
>
> --
> Geoffrey Schaller
> gjschaller at psi-13.com
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
--
Helvecio "Elvis" da Silva
Rio de Janeiro - Brasil - helvecio.rj at gmail.com
http://www.helvecio.com - http://blog.helvecio.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20120926/6577a373/attachment.html>
More information about the Joomla
mailing list