Hi!
Hm, that's too strange. Just to be sure: If you deactivate the startpage category plugin, the problem goes away, right?
Because this code should really bypass any author view application...
Regards,
Garvin
Properties/Templates of categories with >1 categories
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Properties/Templates of categories with >1 categories
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Properties/Templates of categories with >1 categories
Hi Garvin,
You're right; when I disable the "startcat" plugin, you can view the other author posts again.
Do I have to delete any plugin cache files, perhaps?
You're right; when I disable the "startcat" plugin, you can view the other author posts again.
Do I have to delete any plugin cache files, perhaps?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Properties/Templates of categories with >1 categories
Hi!
Okay, I've replicated this on my blog and committed version 1.8 of the plugin:
http://php-blog.cvs.sourceforge.net/vie ... ision=1.12
Regards,
Garvin
Okay, I've replicated this on my blog and committed version 1.8 of the plugin:
http://php-blog.cvs.sourceforge.net/vie ... ision=1.12
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Properties/Templates of categories with >1 categories
Thanks Garvin! Works great, I can now see the author posts for secondary categories!
---
Now I'm going to need judebert's expertise for the "categorytemplates" plugin.
I can now see the author posts, but S9Y is using the "startcat" template, instead of the assigned category template.
---
Now I'm going to need judebert's expertise for the "categorytemplates" plugin.
I can now see the author posts, but S9Y is using the "startcat" template, instead of the assigned category template.
Re: Properties/Templates of categories with >1 categories
This is because the authors are not associated with categories anywhere. The categorytemplates plugin checks the URL. It's not a category page, so it check for a single-entry / detailed view page. It's a summary page, so the plugin gives up and uses the default template.
It could be modified to look through all the entries and see if they share a category; that'd be a bit of a performance hit, though. As long as we're modifying it, we may as well add the capability to assign templates to authors.
While I'm thinking about that, you might want to take a look at Pierre Charlebois's author page. It claims there are no entries to print! Additionally, his author name is not linked on entries in "FX Weekly Report"; this leads me to believe that the author doesn't actually exist (or you haven't re-enabled author links (but then why does Samuel Arakis have author links?)).
Just something for you to work on while I'm at it.
It could be modified to look through all the entries and see if they share a category; that'd be a bit of a performance hit, though. As long as we're modifying it, we may as well add the capability to assign templates to authors.
While I'm thinking about that, you might want to take a look at Pierre Charlebois's author page. It claims there are no entries to print! Additionally, his author name is not linked on entries in "FX Weekly Report"; this leads me to believe that the author doesn't actually exist (or you haven't re-enabled author links (but then why does Samuel Arakis have author links?)).
Just something for you to work on while I'm at it.
Re: Properties/Templates of categories with >1 categories
Hi judebert,
We haven't enabled the change on production yet, it works on our dev environment
Samuel Araki has a link because I've enabled it in the startcat TPL template, but not in the secondary category templates.
Thanks for enhancing the plugin. Much appreciated!
We haven't enabled the change on production yet, it works on our dev environment
Samuel Araki has a link because I've enabled it in the startcat TPL template, but not in the secondary category templates.
Thanks for enhancing the plugin. Much appreciated!