Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
Style (CSS) and Eloquence (Languages)
(section)
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Changing the template=== Our theme can also contain a template. The template is the frame in which pages are displayed. I suggest copying your template file from the lib directory <code>lib/templates/default.xml</code>. The template can go in either cfg/themes/abstract_flash/templates/default.xml or cfg/themes/abstract_flash/lang/[langid]/templates/default.xml (if you want a language specific template) In this example I have moved the key tools bar so that it is a menu on the right of the screen. To do this you must edit your template and move the "login_status" pin from inside the search bar to below it. This exert shows what I have done: <pre> <table class="ep_tm_searchbar"> <tr> <td> <!-- login_status pin was here--> </td> <td align="right" style="white-space: nowrap"> <epc:pin ref="languages" /> <form method="get" accept-charset="utf-8" action="{$config{http_cgiurl}}/search" style="display:inline"> <input class="ep_tm_searchbarbox" size="20" type="text" name="q"/> <input class="ep_tm_searchbarbutton" value="Search" type="submit" name="_action_search"/> <input type="hidden" name="_action_search" value="Search"/> <input type="hidden" name="_order" value="bytitle"/> <input type="hidden" name="basic_srchtype" value="ALL"/> <input type="hidden" name="_satisfyall" value="ALL"/> </form> </td> </tr> </table> </div> <epc:pin ref="login_status"/> </pre> You must reload your configuration for this change to take affect. You should now find that login information is outside of the search search bar area. Now we apply some style rules to position it on the right and make it look slightly more attractive. The style rules i chose are below. <pre> .ep_tm_key_tools { width: 200px; float: right; background: none repeat scroll 0 0 #D4FAE7; margin:0; border-left: 1px solid #525252; border-bottom: 1px solid #525252; } .ep_tm_key_tools li, .ep_tm_key_tools li:first-child { border:none; font-size: 110%; display: block; padding: 10px; } </pre>
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)