Displaying article content in other sites

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
imaginarynumber
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Tue Dec 30, 2008 4:57 pm

Displaying article content in other sites

Post by imaginarynumber » Fri May 22, 2015 7:40 pm

Hi there

How can I take the content in an article and use it in an iframe (or similar) elsewhere (without embedding the whole site)?

I appreciate that I may need to replicate the CSS to maintain the article layout.

Why do I want to do it?

I have a Joomla site that I set up for a friend but it isn't "mobile friendly" yet. Until I have the time to optimise a mobile version he is paying for one of those on the fly mobile sites. His review page on the primary site scrolls reviews but the makers of the on-the-fly version only allow you to add limited custom code.

Any pointers would be greatly appreciated.

In short I want to embed the scrolling (article) reviews in the mobile version

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44074
Joined: Sat Apr 05, 2008 9:58 pm

Re: Displaying article content in other sites

Post by Webdongle » Sat May 23, 2015 1:00 am

Target for the iframe

site.com/page.html/?tmpl=component

or if ? already exists in the url then

/&tmpl=component
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

imaginarynumber
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Tue Dec 30, 2008 4:57 pm

Re: Displaying article content in other sites

Post by imaginarynumber » Sat May 23, 2015 8:39 pm

Thanks Webdongle

That is exactly what i was looking for.

You are a star, cheers


Locked

Return to “General Questions/New to Joomla! 2.5”