the issue's layout is the same as the taxonomy/terms layout

dsanchez - December 13, 2007 - 17:41
Project:E-Journal
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Issue tags:Newbie
Description

In the OJS, articles within an issue are displayed grouped by terms, and with the links to "resume" and "pdf" on the right. However, when I go to one issue by ejournal, the layout is exactly the same as the common "taxonomy/term" page. How can I do so that the issue's layout looks like in OJS?

#1

romca - December 14, 2007 - 08:38

when you create a journal, you can assign vocabulary(ies) that govern the sorting - which is probably your case. Either
a) change term weights in the categories
b) or for individual issue, change weight of the article - thus you can move articles independetly of their parent section.

If you want to have listings like OJS, create your own themeing function.
a) you can override the template function via templating engine (but that is for whole site and even more difficult than the next option)
b) create your own themeing function, eg. theme_dsanchez.inc (look inside the theme_standard.inc for examples)
- take theme_ejournal_archive($journal, $issues = NULL) from the standard theme
- copy that function to your custom themeing file
- change the name of the function to "theme_ejournal_archive_dsanchez"
- make your own adjustments to way how listings looks like

does it make sense?

#2

romca - December 14, 2007 - 08:39

i forgot: to change weights of articles, go to ejournal >> click on issue (edit) >> below on the page, you should see list of articles (column weight)

#3

romca - July 4, 2008 - 13:09
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.