By herbivorous on
If I want to customize the display of how taxonomy/page pages display, is the best route to hack the taxonomy module? I'd want a conditional display based on the relevant vocabulary. If it is a staff member, I'd want their bio to show up whole, followed by essentially the summary versions of their latest articles, perhaps followed then by a list, or a link to a list, of the titles of older articles. Not so very hard to write, but I'd need to know the best way to go about it.
I also want to customize the display of my front page, though there would be more rules there that would need to be followed. How would I take that on?
Comments
maybe a good approach to front pages
Maybe the best solution to frontpage display based on taxonomies is Dries' approach on http://drupal.org/node/view/6029:
We working on it along this lines and build a homepage module. It is not fully customizable yet but I think it is ready to use. You see an example at http://inesc.intertexto.info:8080. Each block is identified by a tid and display of nodes is controlled by a xtemplate_homepage_node function build on xtemplate theme. Menu is css controlled. Remember we are working on it!
Orzenil
See your code?
Is is possible that you could post or email me (scott at ips-dc.org) your code-in-progress for this? I'd appreciate the opportunity to see what you're doing and to work on customizing it for my use. Thanks!
I'll send code
ok. I'll send the code for your appreciation and suggestions. Feel free to change it and make it better for your needs. Remember it works on drupal-4-4 installations. I'll send homepage.module and a litle modified xtemplate theme.
Yours,
Orzenil
Your module
Hi Orzenil
Could you send the code to me as well. My email is info@hostlibrary.com. Id really appreciate.
Thank you
Why not post the code
I'd like to see it too, when you think it's ready for others to explore. In the meantime, would you consider making your own permission set? That way, it could serve as a home page for those of us who would like to have limited access to site content without registration.
homepage
homepage module That looks like something I was looking for
posting the code
I'm very sorry about let some of you waiting a reply. I am in a very busy week converting older websites to drupal and it makes me break a little :)
I will put homepage module for download as briefly I can but until now I will share it sending email to interested people. Today I applied for a cvs account and maybe we could develop it in a better collaborative way. Furthermore homepage is not a drupal module yet but only a very crude piece of code based on Dries' tips as I said before. It is very theme dependant and breaks a lot xtemplate logic. It is still html code within php via _link and _page hooks.
We can make it better and I'll be in touch. Now we could accomplish Open discussions on drupal themeing and integrate our concerns about frontpage in this discussion.
Thanks for your interest.
Orzenil
was this ever resolved?
was this ever resolved? Is there a way to load custom homepages for seperate taxonomies?