PDA

View Full Version : Where is my auto-refresh?


DBowsky
06-09-2008, 10:31 PM
Title says it all.

Where is the option to auto-refresh a list view? Silly to have to refresh the list or the whole page in order to see if new tickets have arrived.

dsugita
06-09-2008, 10:45 PM
Hi there,
Some of the dev guys talked about the auto-refresh here: http://www.cerb4.com/forums/showthread.php?t=777&highlight=refresh

DBowsky
06-09-2008, 10:48 PM
Thanks, reviewed the thread.

I have to say, while getting info through an RSS feed is cool and all, it's an added layer that we don't need (and I'm not willing to ask people to perform).

Will comment on the CHD though...

dsugita
06-09-2008, 10:52 PM
Will comment on the CHD though...


Alright thanks. I'm not sure where that issue stands as of right now as there are a couple of major short term items that is at the top of the priority list (3.x -> 4 comments import, translations, time tracking).

Hildy
06-10-2008, 08:11 PM
A tweak was also posted in this thread here: http://www.cerb4.com/forums/showthread.php?t=466 (though he references the compiled template, and you should really make the change in the code template).

DBowsky
06-10-2008, 09:46 PM
A tweak was also posted in this thread here: http://www.cerb4.com/forums/showthread.php?t=466 (though he references the compiled template, and you should really make the change in the code template).

Seems like having this as an option has pretty overwhelming support.

I'll settle for the path to where I need to insert the code in this post:

For everyone who can't wait, add this code to file '%%4D^4D1^4D1D5384%%index.tpl.php.php' in folder 'cerb4/libs/devblocks/tmp/templates_c'.

Add this code:
<! -- Refresh -->
<meta http-equiv="Refresh" content="60" />
<! -- End of refresh code -->

After line:
<td width="1%" nowrap="nowrap" valign="top" style="padding-right:5px;">

Before adding the code looks like:
<td width="1%" nowrap="nowrap" valign="top" style="padding-right:5px;">
<h1>Overview</h1>

After adding the new code looks like:
<td width="1%" nowrap="nowrap" valign="top" style="padding-right:5px;">
<! -- Refresh -->
<meta http-equiv="Refresh" content="60" />
<! -- End of refresh code -->
<h1>Overview</h1>

But looking at the comments of others, seems perhaps this should just be inserted officially.

Hildy
06-11-2008, 12:25 AM
That specific index.tpl.php appears to be the Overview one, in plugins/cerberusweb.core/templates/tickets/overview/index.tpl.php. The My Workspaces one would be in tickets/lists/index.tpl.php.