OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Removing "Featured Books" on HP

Are you responsible for making OMP work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Removing "Featured Books" on HP

Postby angevent » Thu Feb 13, 2014 8:52 am

Hi,

I haven't any books marked as "featured" but the home page already shows the widget.

featured-omp.png
featured-omp.png (6.91 KiB) Viewed 1190 times

Can you help me to remove it?

Angelo
angevent
 
Posts: 32
Joined: Tue Jun 11, 2013 1:12 pm

Re: Removing "Featured Books" on HP

Postby asmecher » Thu Feb 13, 2014 9:31 am

Hi Angelo,

Try the following template modification. Edit templates/catalog/carousel.tpl, and find the line near the top...
Code: Select all
<script type="text/javascript">
Before this, insert...
Code: Select all
{if $publishedMonographs|@count > 0}
Then, at the end of the file, below the line...
Code: Select all
</div>
...add the following...
Code: Select all
{/if}
Please confirm whether that works.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Removing "Featured Books" on HP

Postby angevent » Fri Feb 21, 2014 5:49 am

It's ok Alec, thank you very much!
angevent
 
Posts: 32
Joined: Tue Jun 11, 2013 1:12 pm

Re: Removing "Featured Books" on HP

Postby asmecher » Fri Feb 21, 2014 10:09 am

Hi Angelo,

Thanks for confirming! I've filed and implemented this as http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8570; we'll include it in OMP 1.1.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OMP Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest