Journal of Frontier Studies

Hi everybody!

Let me show you our journal constructed at OJS3 - https://jfs.today
We use HealthScience theme plugin.

But we have a problem. We need to show announcement at the main page, but this theme plugin doesn’t allow to do it.

Can somebody help me?

P.S. Sorry for my English

Congratulations for the frontier ravaging journal. Только название как-то странно звучит по-русски. :slight_smile: But the articles are pure delight to read.

Hi rataliev,

We face the same problem with you. We also use the HealthScience theme plugin. For announcements we enter manually on Web Settings >> Additional Content. We Use OJS 3.1.1.4.
Journal URL: Society

Why does it sound strange? Почему странно звучит по-русски?

Oh no. Such a solution is not acceptable for us, unfortunately

Идет подспудная, неосознанная звуковая ассоциация “фронтирных-сортирных…” But I am not a Russsian, although I provided the first Russian translation to OJS 11 years ago. :slight_smile:

Есть же устоявшийся философский термин “пограничные ситуации”…

Мдэ. Есть такое направление в историко-антропологических исследованиях. Фронтир называется. Вот он в России малоизвестен. Была Сибирская школа фронтира. Но она как-то потухла что-ли. Сейчас мы продвигаем Фронтирные исследования

Да, реалии, тем более научные, развиваются…

А откуда Вы? Хочу сказать спасибо, что помогли перевести OJS на русский язык

Я из Софии, жена тоже помогала - она издает журнал на www.actalinguistica.com

Вот только не можем обновиться и журнал застрял…

Hi rataliev,

I add this code to plugins/themes/healthSciences/templates/frontend/pages/indexJournal.tpl

see the code:

{* Announcements *}
{if $numAnnouncementsHomepage && $announcements|@count}
	<div class="cmp_announcements highlight_first">
		<h2>
			{translate key="announcement.announcements"}
		</h2>
		{foreach name=announcements from=$announcements item=announcement}
			{if $smarty.foreach.announcements.iteration > $numAnnouncementsHomepage}
				{php}break;{/php}
			{/if}
			{if $smarty.foreach.announcements.iteration == 1}
				{include file="frontend/objects/announcement_summary.tpl" heading="h3"}
				<div class="more">
			{else}
				<article class="obj_announcement_summary">
					<h4>
						<a href="{url router=$smarty.const.ROUTE_PAGE page="announcement" op="view" path=$announcement->getId()}">
							{$announcement->getLocalizedTitle()|escape}
						</a>
					</h4>
					<div class="date">
						{$announcement->getDatePosted()}
					</div>
				</article>
			{/if}
		{/foreach}
		</div><!-- .more -->
	</div>
{/if}

This code work for me…see our Journal : Society

Oh, it’s great. Thank you very much. I will try it today

{if $numAnnouncementsHomepage && $announcements|@count}
<div class="cmp_announcements highlight_first">
	<h1 align="center">
		{translate key="announcement.announcements"}
	</h1>
	{foreach name=announcements from=$announcements item=announcement}
		{if $smarty.foreach.announcements.iteration > $numAnnouncementsHomepage}
			{php}break;{/php}
		{/if}
		{if $smarty.foreach.announcements.iteration == 1}
			<h3 align="center">
			{include file="frontend/objects/announcement_summary.tpl" heading="h3"}
			</h3>
			<div class="more">
		{else}
			<article class="obj_announcement_summary">
				<h4 align="center">
					<a href="{url router=$smarty.const.ROUTE_PAGE page="announcement" op="view" path=$announcement->getId()}">
						{$announcement->getLocalizedTitle()|escape}
					</a>
				</h4>
				<div class="date">
					{$announcement->getDatePosted()}
				</div>
			</article>
		{/if}
	{/foreach}
	</div><!-- .more -->
</div>

{/if}