<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><font size="4">Hi Yuri,</font></p>
    <p><font size="4">Good to hear you have got this sorted.&nbsp; I have
        quickly whipped together some documentation for this new
        functionality in EPrints 3.4.3 onwards, otherwise I am sure I
        would forget again:</font></p>
    <p><font size="4"><a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FUsing_Page_ID_in_Templates&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ecb7bd5575d4f07dbc008da5e711549%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637926137019777554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=q7VqhFmqMESegqdaBhPqSpz8R4wr9aFZyFFVidUtkbA%3D&amp;reserved=0" originalSrc="https://wiki.eprints.org/w/Using_Page_ID_in_Templates" shash="uc63O0MgtelEBx3sYFpFpug5hC9SDy3XD05VeSfRIp1z2rNsPNFPcqsWVWxU4W+aW5iXZu8JqMkcSSSoGhaDNyNh5q01CIGRB3lv3EDpVVpRIE5Syp7kS5G/3Jfp5snqq45fDk7fbcMDcyWTHveH80B/KkcXZ48pj0ZRKVmDWUE=">https://wiki.eprints.org/w/Using_Page_ID_in_Templates</a></font></p>
    <p><font size="4">This may be useful to other EPrints repository
        managers already on 3.4.<br>
      </font></p>
    <p><font size="4">Regards</font></p>
    <p><font size="4">David Newman</font><br>
    </p>
    <div class="moz-cite-prefix">On 05/07/2022 10:11 am, Yuri via
      Eprints-tech wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:0ae4a63f-fe6c-2b11-d889-28672cbb00e0@alfa.it">
      
      <div style="padding-bottom: 10px; padding-top: 5px;">
        <div style="padding:12px; border:1px solid #8D3970;
          background-color:#F7F9FA; color:#8D3970; font-size:14px;
          line-height:22px; font-family: Calibri, Arial, Helvetica,
          sans-serif;">
          <strong>CAUTION:</strong> This e-mail originated outside the
          University of Southampton.
        </div>
      </div>
      <div>
        <p><font size="5">It worked like a charm (3.3 with frontpage
            template)! Thanks!</font></p>
        <p><font size="5">It is documented here: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FAPI%3Aperl_lib%2FEPrints%2FApache%2FTemplate.pm&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ecb7bd5575d4f07dbc008da5e711549%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637926137019777554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=ySrUezf%2B76UDeEy8enbM1EMpHS17Ux7ukmSCHc3%2FvRM%3D&amp;reserved=0" originalSrc="https://wiki.eprints.org/w/API:perl_lib/EPrints/Apache/Template.pm" shash="StaHjhUEsVOtHFqQNZteOpcyKcYXRVLNZmg42T9x4z270P6rtuz6vwl/aQU04pG4jwh2vB7URJOJW6pW2SWdT+kbrjzRH/bfLzDYEXoztNfe2vX1J0QpYi+gAjqYX/zFaUYgoz6hSSM9dBVynGfSNAzbwqQzM1sTe44BxFWaPQw=" originalsrc="https://wiki.eprints.org/w/API:perl_lib/EPrints/Apache/Template.pm" shash="mf0GO50oPC7CYaBZSzUfXK+1MZOSmXJqNspVTf6kO6WGY7kYq2COIzBElJEOgzgasCI8nVMcWoN0iKnfLoxw0ygvWC88ztZDq3hZFXYudUrzo73Fwud1s5tcQz1U6GKw1CjqfTHPCtVbHrB7fsmYyuL+gkpX5NxmjzvNxNcFqaQ=" moz-do-not-send="true">
https://wiki.eprints.org/w/API:perl_lib/EPrints/Apache/Template.pm</a></font></p>
        <p><br>
        </p>
        <div class="moz-cite-prefix">Il 05/07/22 10:49, David R Newman
          via Eprints-tech ha scritto:<br>
        </div>
        <blockquote type="cite" cite="mid:EMEW3|8f856f4d68a5d5526c9011e8092f0f2ey649n603drn|ecs.soton.ac.uk|c92f8687-929c-fcec-a808-f967c4ee2a32@ecs.soton.ac.uk">
          <p><font size="4">Hi Yuri,</font></p>
          <p><font size="4">For EPrints 3.4.3 I implemented a solution
              that may address your question:</font></p>
          <p><font size="4"><a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fissues%2F111&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ecb7bd5575d4f07dbc008da5e711549%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637926137019777554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=e2Flxh88ZmWYNJ0gTegl3E7Egdk6re0QxDCOWEydtOc%3D&amp;reserved=0" originalSrc="https://github.com/eprints/eprints3.4/issues/111" shash="DkqVhv5jpGcsg0jrQo1KIGCl6ZaIIUOAxmMfgmtxQOFM850dZYB9ocZf03ZLwfdPJh7JYcjGg3ChqPfzEn/yJFGsblPPEWOY5HXNrv5zHDMlWG3t/NfH473lPJTNGtFqMx5KyNRNw/iEg7sTv1VotxLPdwU70d+M8naumB73Hik=" originalsrc="https://github.com/eprints/eprints3.4/issues/111" shash="smYpB0ARJfATyVjIenX918gbBAooCXVp69bf2QQFRW7H3R1TJfTwVf2JCnyAJCTsaNoEEPmvtISrNRlXPpg1GhTv7H5jo6Dk6mmha0Ij7jktQGtqCNVI3nzhRivmSEdZL82x3WAPPdELVCWJzx1QDoYbzp11Z5V2xqgsXDHmvQQ=" moz-do-not-send="true">https://github.com/eprints/eprints3.4/issues/111</a></font></p>
          <p><font size="4">This can be implemented by adding converting
              a simple </font><font face="monospace">&lt;body&gt;</font><font size="4"> tag in your template to something like:</font></p>
          <p><font face="monospace">&lt;body id=&quot;page_{pin:page_id}&quot;&gt;</font></p>
          <p><font size="4">This can then be used in CSS by starting the
              entry with:</font></p>
          <p><font face="monospace">#page_</font></p>
          <p><font size="4">An example might be that you want to change
              the summary box on abstract pages only:</font></p>
          <p><font face="monospace">#page_static_abstract
              .ep_summary_box </font><font size="4"><br>
            </font></p>
          <p><font size="4">Or you may want to change the report title
              heading on the IRStats2 report pages:</font></p>
          <p><font face="monospace">#page_IRStats2_Report .report_title</font></p>
          <p><font size="4">I had been meaning to document this properly
              on the wiki but had not got round to it.&nbsp; As I did it
              sometime before the release of 3.4.3, I did not want to
              document it for people to then find they could to use it
              until 3.4.3 was out.&nbsp; Then when 3.4.3 was released, I
              forgot about writing the documentation.</font></p>
          <p><font size="4">I guess this functionality could be used to
              solve your problem in the following way.&nbsp; As the homepage
              has no path using the markup for the
            </font><font face="monospace">&lt;body&gt;</font><font size="4"> tag I described above would use:</font></p>
          <p><font face="monospace">#page_static</font></p>
          <p><font size="4">So say you wanted the hide the main heading
              on the homepage you could add the following to the CSS:</font></p>
          <font face="monospace">#page_static h1#page-title {</font><br>
          <font face="monospace">&nbsp;&nbsp;&nbsp; display: none;</font><br>
          <font face="monospace">}</font><font size="4"><br>
          </font>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix"><font size="4">If you are not
              currently using 3.4.3, it is not straightforward to
              backport this code for earlier versions of EPrints,
              especially pre-3.4.&nbsp; You could always just create a
              separate template for your homepage.&nbsp; This is quite common
              across EPrints repositories.&nbsp; This would allow you to have
              complete control over your
            </font><font face="monospace">&lt;title&gt;</font><font size="4"> and </font><font face="monospace">&lt;h1&gt;</font><font size="4"> tags, as any changes would only affect your
              homepage.&nbsp; To make the static page for your homepage use
              this alternative template, you just need to add it to the
              XML markup for the static page.&nbsp; Lets say the template is
              called frontpage.xml you would add (somewhere before the
            </font><font face="monospace">xpage:body</font><font size="4"> tag):<br>
            </font></div>
          <div class="moz-cite-prefix"><font face="monospace"><br>
            </font></div>
          <div class="moz-cite-prefix"><font face="monospace">&lt;xpage:template&gt;frontpage&lt;/xpage:template&gt;</font><font size="4"><br>
            </font></div>
          <div class="moz-cite-prefix"><font size="4"><br>
            </font></div>
          <div class="moz-cite-prefix"><font size="4">Obviously, having
              a separate template for your homepage will add to your
              workload if/when you choose to rebrand your repository.</font></div>
          <div class="moz-cite-prefix"><font size="4"><br>
            </font></div>
          <div class="moz-cite-prefix"><font size="4">Regards</font></div>
          <div class="moz-cite-prefix"><font size="4"><br>
            </font></div>
          <div class="moz-cite-prefix"><font size="4">David Newman</font><br>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">On 05/07/2022 8:32 am, Yuri via
            Eprints-tech wrote:<br>
          </div>
          <blockquote type="cite" cite="mid:7aeaa8cc-443a-1712-0f8a-fc366a87499d@alfa.it">
            <div style="padding-bottom: 10px; padding-top: 5px;">
              <div style="padding:12px; border:1px solid #8D3970;
                background-color:#F7F9FA; color:#8D3970; font-size:14px;
                line-height:22px; font-family: Calibri, Arial,
                Helvetica, sans-serif;">
                <strong>CAUTION:</strong> This e-mail originated outside
                the University of Southampton.
              </div>
            </div>
            <div>
              <p><font size="5">Hi!</font></p>
              <p><font size="5">&nbsp;I would like to display any title in
                  the eprints homepage (xpage) but still have a page
                  title (&lt;title&gt; tag). Is this possible? Also a
                  css solution is ok. Could be the h1 title in the page
                  be marked by a class (for example the filename of the
                  xpage)?</font><br>
              </p>
            </div>
            <br>
            <fieldset class="moz-mime-attachment-header"></fieldset>
            <pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" moz-do-not-send="true">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ecb7bd5575d4f07dbc008da5e711549%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637926137019777554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=upZvOahTEgx9X4otcweJbeguMQis3BSyTRkj7QpmUz4%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="Q/6aMJ5Q8Fj7Ux4U17Sp4AVn0iE0u/7jy2BfhK2l17ark827sheGlSUxC7tCMDScoOskkBvOL3H0sJkdf5IQtSvJyJ40CVFEZn0dtU/9xzmal9g1lhTsaEdJ3O2EaBVFikHUNtohKyXOS8PL77j4o4oZau4k8fIeiww7SD91lxE=" originalsrc="http://www.eprints.org/tech.php/" shash="I020TqsgZ61Yvt72LIZNIsHn4MzrrzX/LaaOvTD9NVqjzu7U9pnotpZDCSNcbEPi7t9M2P8XRez+ApQlW26GSYQ4xfSxF8N+umJ52V28fMG/vNNYYWdFMPY8j68uDEJAN9IBxY7KPBKUA1cPbfVkCP5ywp0S4NsLz4Ewd12nHC0=" moz-do-not-send="true">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ecb7bd5575d4f07dbc008da5e711549%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637926137019777554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=7XEIxJFzkVZVZE5oacVxMEr3HciPSEX710iOkizLNLg%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="H/ttyhGyqV8tatyPPxxNYz3W9hgw4zuziGBxSHlCY8hTJxjFz2vW7JF+JPipavzCqJqjtnVL2badrUFN4oimmie57jKVfzTNsGqhSKgTDMuDYufhwPKW4z4R8pzEiGTbf3WySk5Ra0JP193ektdfeVKQOlw86YPitNranJI4L7E=" originalsrc="http://wiki.eprints.org/" shash="HxC2fg2anUUpJRlt4NYMJEYJGnNO+kCREjAwltLRBAYoTv41Dw5g5mTXln2W+a2RKWFrBtPPNbge2F6dAYBxhZKmXV4j6lhWTatWQsqY5aCoAnxBjnjnfhhJRMu+e+QTjlzX+9Ac8G6pRRXIWKnxh7YHalX5YmAwETOu/YvlAIw=" moz-do-not-send="true">http://wiki.eprints.org/</a></pre>
          </blockquote>
          <br>
          <fieldset class="moz-mime-attachment-header"></fieldset>
          <pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" moz-do-not-send="true">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ecb7bd5575d4f07dbc008da5e711549%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637926137019777554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=upZvOahTEgx9X4otcweJbeguMQis3BSyTRkj7QpmUz4%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="Q/6aMJ5Q8Fj7Ux4U17Sp4AVn0iE0u/7jy2BfhK2l17ark827sheGlSUxC7tCMDScoOskkBvOL3H0sJkdf5IQtSvJyJ40CVFEZn0dtU/9xzmal9g1lhTsaEdJ3O2EaBVFikHUNtohKyXOS8PL77j4o4oZau4k8fIeiww7SD91lxE=" originalsrc="http://www.eprints.org/tech.php/" shash="I020TqsgZ61Yvt72LIZNIsHn4MzrrzX/LaaOvTD9NVqjzu7U9pnotpZDCSNcbEPi7t9M2P8XRez+ApQlW26GSYQ4xfSxF8N+umJ52V28fMG/vNNYYWdFMPY8j68uDEJAN9IBxY7KPBKUA1cPbfVkCP5ywp0S4NsLz4Ewd12nHC0=" moz-do-not-send="true">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ecb7bd5575d4f07dbc008da5e711549%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637926137019777554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=7XEIxJFzkVZVZE5oacVxMEr3HciPSEX710iOkizLNLg%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="H/ttyhGyqV8tatyPPxxNYz3W9hgw4zuziGBxSHlCY8hTJxjFz2vW7JF+JPipavzCqJqjtnVL2badrUFN4oimmie57jKVfzTNsGqhSKgTDMuDYufhwPKW4z4R8pzEiGTbf3WySk5Ra0JP193ektdfeVKQOlw86YPitNranJI4L7E=" originalsrc="http://wiki.eprints.org/" shash="HxC2fg2anUUpJRlt4NYMJEYJGnNO+kCREjAwltLRBAYoTv41Dw5g5mTXln2W+a2RKWFrBtPPNbge2F6dAYBxhZKmXV4j6lhWTatWQsqY5aCoAnxBjnjnfhhJRMu+e+QTjlzX+9Ac8G6pRRXIWKnxh7YHalX5YmAwETOu/YvlAIw=" moz-do-not-send="true">http://wiki.eprints.org/</a></pre>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ecb7bd5575d4f07dbc008da5e711549%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637926137019777554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=upZvOahTEgx9X4otcweJbeguMQis3BSyTRkj7QpmUz4%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="Q/6aMJ5Q8Fj7Ux4U17Sp4AVn0iE0u/7jy2BfhK2l17ark827sheGlSUxC7tCMDScoOskkBvOL3H0sJkdf5IQtSvJyJ40CVFEZn0dtU/9xzmal9g1lhTsaEdJ3O2EaBVFikHUNtohKyXOS8PL77j4o4oZau4k8fIeiww7SD91lxE=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0ecb7bd5575d4f07dbc008da5e711549%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637926137019777554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=7XEIxJFzkVZVZE5oacVxMEr3HciPSEX710iOkizLNLg%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="H/ttyhGyqV8tatyPPxxNYz3W9hgw4zuziGBxSHlCY8hTJxjFz2vW7JF+JPipavzCqJqjtnVL2badrUFN4oimmie57jKVfzTNsGqhSKgTDMuDYufhwPKW4z4R8pzEiGTbf3WySk5Ra0JP193ektdfeVKQOlw86YPitNranJI4L7E=">http://wiki.eprints.org/</a></pre>
    </blockquote>
  </body>
</html>