OJS 3.1.1.1.0 Adding section id in Issue_toc.tpl

Hello. How can I add section id in issue_toc.tpl?

Hi @sarkhan,

It sounds like you’re asking about OJS. What version of OJS are you using? (Please include this information in your posts.)

Regards,
Alec Smecher
Public Knowledge Project Team

Hello. Sorry for less information.

Yes I am asking about OJS. I use version 3.1.1.0.

Hi @sarkhan,

In issue_toc.tpl, you should see:

 {foreach name=sections from=$publishedArticles item=section}

You should be able to add key=sectionId to the foreach statement (this is Smarty syntax), then use $sectionId within the loop.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you very much!

One more question. Do you plan create Popular articles plugin for OJS 3.1?

Hi @sarkhan,

Is your goal to expose some article statistics in the published journal’s front end? We have a few projects that’ll meet that goal, though I don’t think we specifically plan to rewrite the “most popular articles” plugin.

Next time, please post additional questions as a new topic – that’ll help keep the forum organized.

Thanks,
Alec Smecher
Public Knowledge Project Team