Page 1 of 1

auto refresh certain content

Posted: Wed Nov 05, 2008 6:54 pm
by jbelanger
I'm using ja purity template and would like to know how to auto refresh a certain page on joomla. Currently I have the meta tag in the <head> tag but it refreshes the whole website and would like a certain page or content.

Thanks

Re: auto refresh certain content

Posted: Thu Nov 13, 2008 7:52 pm
by jbelanger
Really? Are you going to tell me that no one has any answer for this?

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 12:02 am
by onlinecooking
Not that this will help, I'm only speculating and wondering the same thing. Couldn't one write a custom mod using HTML. That part is easy... Then assign it to the sections. I might have to try that.

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 12:24 am
by jbelanger
I am working with a coder for this project. It's not that hard but, the problem with some Joomla people is they keep there info on the down low and don't try to help Joomla newbies more informed.

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 12:24 am
by onlinecooking
Cool, it worked.

Here's what I did:

1. Go to "Extensions" and click on "Module Manager"

2. Click on the "New" Icon

3. Select "Custom" and then "Next"

4. I named my module "Refresh" Down at the bottom in the editor I inserted a meta refresh tag e.g.: <meta http-equiv="refresh" content="300">

5. Make sure you do this without using a wysiwyg editor. You can always change back, but for some reason inserting code into the HTML source editor on TinyMCE doesn't like it.

6. Select "NO" for show title, and then down by the "Menu Selection" box, select "Select Menu Item(s)" Click on the sections you want to refresh.

I hope this helps.

And I hear you on the not so helpful experienced people. I'm a newbe and I've had to comb through I don't know how many sites just to get a few answers.

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 12:45 am
by jbelanger
Thanks, That helps
do you think there is a way to do it with a certain module that is already made opening the file and inserting the meta refresh. Such as the latest news module where it can refresh to pull new articles?

You're awesome by the way

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 12:52 am
by onlinecooking
I have been looking for a ready made module/plugin and haven't found anything. I actually thought of this after reading your post. I was curious to see if it would work, and it did. Wow, my first module and I have you to thank for it.

There has to be something. I just haven't found it yet.

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 1:01 am
by jbelanger
Cool, I have been looking for something like I talked about and searched everywhere and nothing.
What kind of project are you working on?

Few more and I think you become a professional PHP writer :)

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 1:13 am
by onlinecooking
My background is in food, but I was a web developer for about 10 years. I've gone back into food now, I run a catering company and a few food related websites. OnlineCooking.net is my one and only Joomla experience.

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 6:31 am
by jbelanger
Nice looking site how long did it take? what are you using the refresh module for?

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 12:50 pm
by onlinecooking
It took about a week and a half to put the whole site together. I was and still am moving over from another content management system. I was probably working on it a good 16 hours a day just trying to figure stuff out.

As far as the refresh goes, I have it set to 5 minutes for most of the sections with the exception of the Cooking Shows. It is mainly to refresh the content and what not.

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 3:02 pm
by jbelanger
Looks nice. I am working on a option trading site that needs the refresh for updates i post so they are in real time. It took me a while to learn Joomla as well

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 3:17 pm
by onlinecooking
It's a ton better than drupal, I hate drupal

Re: auto refresh certain content

Posted: Fri Dec 12, 2008 3:27 pm
by jbelanger
I also heard of Expression Engine that I read is not open source and people prefer to use then Joomla and Durpal. I never built a site before and learned joomla to do and like it. The problem I come across is that when you need help on specif things people kind of hold there information, our there is not much documentation on it.

Re: auto refresh certain content

Posted: Wed Feb 18, 2009 12:07 am
by jbelanger
RegBerkeley very true. Getting started with Joomla can take time to learn. OnlineCooking helped me with a situation. I am trying to get more active on the boards but if you ever came across something you need help let me know and ill try to see if I can help. I have gained a lot of knowledge using the Joomla Forums.

Re: auto refresh certain content

Posted: Mon Feb 23, 2009 7:56 pm
by simplesi
@onlinecooking
Great tip - its got me going with a webcam setup that my school is going to use to watch eggs hatching.

I could do with something a bit more sophisticated (so just my image gets updated and not the whole webpage) but your solution does work :)

Thanks again

Simon

Re: auto refresh certain content

Posted: Wed Feb 25, 2009 12:26 pm
by guruananthe
Thanks for this . this information help us to implement on our client joomla website

Re: auto refresh certain content

Posted: Fri Apr 10, 2009 9:30 pm
by kilos1
simplesi wrote:@onlinecooking
Great tip - its got me going with a webcam setup that my school is going to use to watch eggs hatching.

I could do with something a bit more sophisticated (so just my image gets updated and not the whole webpage) but your solution does work :)
Thanks again

Simon
Create a standard webpage with the following
<META http-equiv="refresh" content="30"> and use a module called the
wrapper which calls up the above created web page.
I tried it on my midafricam.co.za -> Dubai Webcam.
Webcam updates the site every 30 sec and the meta tag refreshes the
wrappered page every 30 seconds
Maybe you question has been answered.

Cheers
Justin

Re: auto refresh certain content

Posted: Sat May 02, 2009 11:50 am
by lombok_OC
Thanks Onlinecooking for the idea, however is there any other ways to make it happen for the content item only ?? not for whole page ???

thanks

Re: auto refresh certain content

Posted: Sun Aug 30, 2009 7:25 am
by concepts
Any idea on how to just refresh an image in an article?

Re: auto refresh certain content

Posted: Sat Nov 07, 2009 2:32 pm
by sedafl
Wow, this work great. Fast, simple and easy. Thanks guys!!!

Re: auto refresh certain content

Posted: Sat Mar 19, 2011 8:48 pm
by quazi_ahasan
sedafl wrote:Wow, this work great. Fast, simple and easy. Thanks guys!!!
Hi
I am newbe in joomla, Can you tell me how it worked on your case?

Thank you

Re: auto refresh certain content

Posted: Sat Mar 19, 2011 8:53 pm
by quazi_ahasan
onlinecooking wrote:Cool, it worked.

Here's what I did:

1. Go to "Extensions" and click on "Module Manager"

2. Click on the "New" Icon

3. Select "Custom" and then "Next"

4. I named my module "Refresh" Down at the bottom in the editor I inserted a meta refresh tag e.g.: <meta http-equiv="refresh" content="300">

5. Make sure you do this without using a wysiwyg editor. You can always change back, but for some reason inserting code into the HTML source editor on TinyMCE doesn't like it.

6. Select "NO" for show title, and then down by the "Menu Selection" box, select "Select Menu Item(s)" Click on the sections you want to refresh.

I hope this helps.

And I hear you on the not so helpful experienced people. I'm a newbe and I've had to comb through I don't know how many sites just to get a few answers.
Hello,
I don't know whther you will have time to reply, but i tried the things you said but not working , can you help by explaining considering me a total dumb.
I am using 1.5, beez template,

Waitng for your reply,,,,,,,,,,,

Re: auto refresh certain content

Posted: Sun Mar 27, 2011 5:28 pm
by ningnongkup
Cool, it worked.

Re: auto refresh certain content

Posted: Sat Sep 10, 2011 3:33 pm
by Partybond
Hello,

im using joomla 1.6 but it doesn't work :-(

I did :

- create a new module with "own content" (name of modul "refresh" and position "bottom")
- than i write in the HTML text : <META http-equiv="refresh" content="5">
- but it dosn't work :-(

Can you help me please?

Re: auto refresh certain content

Posted: Thu Apr 27, 2017 5:33 pm
by m soweidan
onlinecooking wrote:Cool, it worked.

Here's what I did:

1. Go to "Extensions" and click on "Module Manager"

2. Click on the "New" Icon

3. Select "Custom" and then "Next"

4. I named my module "Refresh" Down at the bottom in the editor I inserted a meta refresh tag e.g.: <meta http-equiv="refresh" content="300">

5. Make sure you do this without using a wysiwyg editor. You can always change back, but for some reason inserting code into the HTML source editor on TinyMCE doesn't like it.

6. Select "NO" for show title, and then down by the "Menu Selection" box, select "Select Menu Item(s)" Click on the sections you want to refresh.

I hope this helps.

And I hear you on the not so helpful experienced people. I'm a newbe and I've had to comb through I don't know how many sites just to get a few answers.
Thank you for this idea. it worked on Joomla 3.7

Re: auto refresh certain content

Posted: Thu Apr 27, 2017 5:35 pm
by m soweidan
Partybond wrote:Hello,

im using joomla 1.6 but it doesn't work :-(

I did :

- create a new module with "own content" (name of modul "refresh" and position "bottom")
- than i write in the HTML text : <META http-equiv="refresh" content="5">
- but it dosn't work :-(

Can you help me please?
hi.
Don't use any editor, change your editor to: no editor,
then follow the steps that are mentioned by our friend above. make the refresh content greater than 5 seconds.

Re: auto refresh certain content

Posted: Sun Dec 24, 2017 9:52 am
by OzWizard
I realize this thread is old, but with all the changes Joomla has had, I thought I'd add my latest solution for the meta refresh tag.

I use the extension "Custom HTML advanced" which lets you put in PHP. This lets you assign a module to only the pages you want (or even insert the module into an article).

Set the module to Position "none" if you insert the module into the article, or add the module to a discreet location in your template. "Hide" Title. On the Advanced tab, set Module Style to None since there is no output.

In the PHP section of the module:

Code: Select all

$doc = JFactory::getDocument();
$doc->setMetaData('refresh', 600, 'http-equiv');
You are then using proper Joomla API to insert the refresh META tag into the html HEAD (where it should be).