Page 1 of 1

paging / browser history

Posted: Mon Oct 27, 2008 5:26 pm
by Kaine
hi,

this is a rather simple suggestion but i think it can be helpfull to a lot of people.

Add browser history when you change the filter or when you change on what page you are.

that way you can always click the back button of the browser and expect to goto the previous page
instead of the previous website ...

Hope this is kinda clear ???
it should be rather easy to implement with the javascript history object.

Greetz

Re: paging / browser history

Posted: Mon Oct 27, 2008 7:59 pm
by omssx
I know what you mean but it wont be that easy to impliment. I could be wrong but it looks as though the system uses javascript, more precisely AJAX (i could be wrong but the entire page doesnt reload, it is only the list, and to do that you would need to ue AJAX methinks)

(Im using the webtease list as an example by the way!)

Because of that the only full page your browser loads is the main webteases page. When you click on the numbers at the bottom to change pages your browser doesnt load that page as it does with an ordinary page. It requires the javascript to load the data from the PHP page and then format it and feed it into the space there for the list. So your browser hasnt actually loaded anything, henve when you press the back button the last page you visited is the one before you clicked the "webteases" link.

I hope that makes sense. Youll have to get into the habit of clicking the numbers to go back and not refreshing/going back in history.

Re: paging / browser history

Posted: Fri Oct 31, 2008 9:35 am
by seraph0x
omssx is correct: The browser is using AJAX, however it is indeed possible to implement what Kaine requests and I have simply been too lazy to do it so far.

Very good suggestion, I should have done this a long time ago, so I'll implement this as soon as possible! :-)

Thanks!

Re: paging / browser history

Posted: Mon Nov 03, 2008 5:30 pm
by Kaine
seraph0x wrote:omssx is correct: The browser is using AJAX, however it is indeed possible to implement what Kaine requests and I have simply been too lazy to do it so far.

Very good suggestion, I should have done this a long time ago, so I'll implement this as soon as possible! :-)

Thanks!
No problem,
Glad to have been of some service :-)
Especially to this site (on which i spend way too much time :-D )

Are you maintaining this site completely by yourself ?

Greetings

Re: paging / browser history

Posted: Mon Nov 03, 2008 5:39 pm
by seraph0x
Kaine wrote:Are you maintaining this site completely by yourself ?
I'm just the janitor, i.e. I take care of the technical stuff and try to stay out of people's way. ;-)

Re: paging / browser history

Posted: Tue Nov 04, 2008 8:39 pm
by Kaine
wow,
great job !!!

anyways, gonna give you some more to ponder upon :) (or should i create a new thread for this one)

Another thing i've been wondering about (in the improvement section), if i may :unsure:
is the search.
i never seem to get any results...
if your having trouble implementing this, i would like to lead you into the direction of PHPLinq. You can find it on www.codeplex.com/phplinq

If you can't seem to find time to do something, i would gladly assist you.

another improvement, could be you keeping the data for the users ... for instance favorite teases, or even better (data management wise) keeping search filters... but then were back at the first improvement.

Something else i really like are tag surfing. Is there no way to generate a bigger cloud that gives more tags... even if the occur less on a new page via a link ??? they have one on channel9.msdn.com as an example.

As the subforum says. These are only suggestions...

I love this site and you are all (Seraph, Community, ... ) doing great jobs.

Re: paging / browser history

Posted: Sat Nov 15, 2008 10:29 am
by seraph0x
Now implemented, see announcement.

Improved search is also on my Todo list.