Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-05-09 14:20:49

seumenezes
New Member
From: Salvador, Brazil
Registered: 2012-05-09
Posts: 5

Scholar / academic journal

Hello, folks!

I am currently starting to develop/design an online scholarly journal for our local University.
I like TXP too much and it would be a royal PITA if I had to use another CMS, but in this case I don’t even know where to start from.

An academic journal has several specific demands that I don’t know how to implement using TXP, such as:

  • Posts grouped into issues (two per year, in this case);
    • That is, main site navigation is about issues, and each issue has its own navigation between articles;
  • Front page should display only the current issue; previous ones should be available through history navigation.

Other details also exist concerning specific article and issue layouts, but these are not urgent and I can figure them out, provided that I overcome those initial obstacles.

All I need is some insight on how to make up the journal structure, since it is more complex and deep than that provided within a standard blog/cms site.

Best regards, long live TXP!

Thanks in advance!


<txp:best_regards />

Offline

#2 2012-05-09 14:42:15

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: Scholar / academic journal

Hi Jean and welcome to txp.

That is, main site navigation is about issues, and each issue has its own navigation between articles;

the easiest way would be to use categories,. Something like 2012a, 2012b, 2013a, 2013b, etc

Front page should display only the current issue; previous ones should be available through history navigation.

Something like <txp:article_custom category='<txp:php>echo date('Y');</txp:php>' /> should work but I’m not certain re the issues here. Maybe someone here will be able to advise you as I’m sure that it can be done.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2012-05-09 14:49:06

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,795
Website GitHub

Re: Scholar / academic journal

It can definitely be done :-)

Although you can’t see it right now, because there’s only one issue been published, when the next issue hits the streets in a couple of weeks you’ll see how it’s done.

As colak says, categories can work to your favour here and if you install smd_horizon you can set the navigation to stop at the the end of a category.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2012-05-10 10:12:56

etc
Developer
Registered: 2010-11-11
Posts: 5,397
Website GitHub

Re: Scholar / academic journal

Well, I’ve got a plugin to promote :-) Install it, use categories (2011a, 2011b, etc) and put this in your page form:

<txp:etc_query 
data='<txp:category_list sort="name DESC">
<a href=''<txp:category url="1" section="" />'' data-c=''<txp:category />''><txp:category title="1" /></a>
</txp:category_list>'
query="a[@data-c='{?c}' or @data-c='{?category1}' or '{?c}{?category1}'='' and position()=1]"
specials="query">
<div id="issues">{preceding-sibling::a}{.}{following-sibling::a}</div>
<txp:article_custom category="{@data-c?}">
<txp:permlink><txp:title /></txp:permlink>
</txp:article_custom>
</txp:etc_query>

This should give you two navigation lists (one for issues, another one for articles) that takes in account the current category (the most recent on the front page). Style it as you like.

Last edited by etc (2012-05-22 15:25:16)

Offline

#5 2012-05-10 12:54:36

seumenezes
New Member
From: Salvador, Brazil
Registered: 2012-05-09
Posts: 5

Re: Scholar / academic journal

Guys, thank you for the quick and insightful response!
First, I’m gonna try what colak and Bloke suggested; after that, if I can figure out the exact behavior of etc_dom_query, I’m gonna try it as well.
I promise to post some feedback on how each way worked.

Best regards!


<txp:best_regards />

Offline

#6 2012-05-10 19:43:55

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Scholar / academic journal

For ideas of what is possible you might want to have a look at this site by Nora Brown.

Offline

#7 2013-01-17 18:34:06

seumenezes
New Member
From: Salvador, Brazil
Registered: 2012-05-09
Posts: 5

Re: Scholar / academic journal

Well guys,

Although I am very sorry for ressurrecting such an old topic, I come in peace, and only to tell you that my mission was accomplished. A scholar journal is perfectly doable. All I needed were some plugins, another handful of study into php, and lots of determination.
I hope I can write about the whole process in the next few weeks.

Meanwhile, you can see how it looks like here.

Best regards, and thanks for those initial thoughts that helped to clear up my path.


<txp:best_regards />

Offline

#8 2013-01-18 05:38:07

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: Scholar / academic journal

seumenezes wrote:

Meanwhile, you can see how it looks like here.

looks good and reads very well.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB