Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7034307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:10:11+00:00 2026-05-28T01:10:11+00:00

I’m using Plone v4.1.2, and I’d like to know if there a way to

  • 0

I’m using Plone v4.1.2, and I’d like to know if there a way to include more than one author in the by line of a page? I have two authors listed in ownership, but only one author is listed in the byline.

I’d like the byline to look something like this:

by First Author and Second Author — last modified Jan 11, 2012 01:53 PM — History

UPDATE – Thanks everyone for your replies. I managed to bungle my way through this (I’ve never used tal before). I edited plone.belowcontenttitle.documentbyline as suggested by Giaccamo, and managed to learn a bit about tal along the way. Here is the code that does what I needed (this replaces the existing tal:creator construct):

    <span>
         by
       <span class="documentCreators"
           tal:condition="context/Creators"
           tal:repeat="creator context/Creators"
           i18n:translate="text_creators">
          <span tal:define="cond1 repeat/creator/start; cond2 repeat/creator/end"
              tal:condition="python: not cond1 and not cond2" >, </span>
          <span tal:define="cond1 repeat/creator/start; cond2 repeat/creator/end"
               tal:condition="python: not cond1 and cond2" > and </span>
          <tal:i18n i18n:translate="label_by_author">
          <a href="#"
             tal:attributes="href string:${context/@@plone_portal_state/navigation_root_url}/author/${creator}"
             tal:content="creator"
             tal:omit-tag="python:view.author() is None"
             i18n:name="author">Roland Barthes</a>
          </tal:i18n>
      </span>
    </span>

This puts the userid on the byline instead of the full name. I tried to get the full name, but after some time without success I decided I could live with userid.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:10:12+00:00Added an answer on May 28, 2026 at 1:10 am

    In order to browse more than one author you’ll need a little bit of coding:

    That piece of page is called viewlets.

    That specific viewlet is called plone.belowcontenttitle.documentbyline.

    You can use z3c.jbot to override the viewlet template. Take a look at this howto for usage. Another option is to customize the template through-the-web following this tutorial.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm making a simple page using Google Maps API 3. My first. One marker
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am reading a book about Javascript and jQuery and using one of the
I know there's a lot of other questions out there that deal with this
I have thousands of HTML files to process using Groovy/Java and I need to
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.