the top 10 is : cat1 then followed by cat 2 etc. I would like it on these pages (general pages 'not general cat, which is 1') to combine all the catergories top 10s. so it should be a list of top 10 from all catergories combined, don't seperated then by catergory here.
--
TOP 10
1. from cat1
2. from cat3
3. from cat 1
4. from cat 2
5. from cat2
--
Mmmmhhh... so the previous one was not the final spec .
Please, use the generateTopTen() function below:
Thanks for the new snippet. It does the job perfect.
I even managed to ammend it so that it will work on the 'sitemap' and 'show all' pages.
The only problem left to fix is the rss problem but I think that will be easier. It's just that at the mo i have a problem with my PHP include_path on my remote server. but once that is sorted I think i should be able to fix it.
Thanks for the link expalining URI
I'll keep you posted on my progress, so that when I've fixed this remaining bug you can stand back & admire your work
natmanu wrote:I'll keep you posted on my progress, so that when I've fixed this remaining bug you can stand back & admire your work
Thanks!
natmanu wrote:Do you also have a wish list?
Currently nothing, AFAIK in Italy there is no wish list services at all: I was thinking to create a list with the Amazon UK service but nothing has been done yet...
just a small hitch
1. There are two funny error at the top of the page that i don't quite know what they are. http://uvolunteer.org/faqs/index.php
2. the last bit to do on the top10 is to fix the headers. The headers for the comined top10 used to be in the template but know it's being generated by the gen...top10() function for the catergory top 10s. If i add it back in I get this: http://uvolunteer.org/faqs/index.php?action=show&cat=1
which is not ideal. so if seems like we should generate the combined top10 header also from the original function....
Hi,
it' quite difficult to understand what is the issue for two reasons:
this is not the standard PMF code so line 807 reference doesn't help me;
Maybe you have inserted the function in a different order or manner
So the only idea is that you've reset the generateTopTenData() function to the original, missing the 3rd new parameter, $categoryId.
Just to summarize, you must use:
tag) the [i]generatetoptendata()[/i] you're running: perhaps the [url=http://forum.phpmyfaq.de/viewtopic.php?p=12929#12929]changes you've done (behaviour changed also for [i]sitemap[/i] and [i]show[/i][/url]) are breaking something.
Hello,
I've made that amendment and all is fine now.
The only thing left to do is to tackle the header problem on the combined top 10 pages. if you notice the header disappears on: http://www.uvolunteer.org/faqs/index.php
As i mentioned before, i think it is because initially the header was in the template but now the header is being generated by the function.
I noticed the amendment ($PMF_LANG["msgTopTen"]) you made but still don't understand what exactly is happening in the function! But I know all is working great. So at last we have it working as imagined
You can probably tell by now that I'm not a programmer but a designer who likes to get his hands dirty in code. So if there is any design work that you need in conjunction with this projects please feel free to ask me.
natmanu wrote:You can probably tell by now that I'm not a programmer but a designer who likes to get his hands dirty in code. So if there is any design work that you need in conjunction with this projects please feel free to ask me.
IMHO working on a project means a bit of overlapping between skills, to better understand constraints and find alternative solutions for reaching the goals. So, your "dirty hands" are welcome .
Thanks for your offer: if I'll need it I'll contact U!
Ciao,
Matteo
It would be nice if you could suggest improvements for its design, especially the backend. Currently the code is not ready to be safely used but if you're interested we could keep you aligned when the code will be stable enough for a design study e.g.: in PMF 2.0.x we've more admin features and some of them already work.
We could keep in touch through the email: