Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overview page for series available in a press to be added OMP #855

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

gemusehandler
Copy link

No description provided.

adding a page in OMP that displays the available book series.
adding the overview page for the series: seriesIndex.tpl. it was noted that series.tpl would semantically more beautiful but that filename is already taken.
edit facilitates an index page for series
@CLAassistant
Copy link

CLAassistant commented Aug 15, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@NateWr NateWr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gemusehandler! Nice work. I've added some comments to the code to reflect some minor syntax and whitespace changes in order to fit our coding style.

I've also provided a commit that just re-arranges your code a little bit so that the series index can be found a /catalog/series instead of /catalog/seriesIndex. You can see that at gemusehandler#1 and you should be able to just merge it into your code.

templates/frontend/pages/catalogSeriesIndex.tpl Outdated Show resolved Hide resolved
templates/frontend/pages/catalogSeriesIndex.tpl Outdated Show resolved Hide resolved
templates/frontend/pages/catalogSeriesIndex.tpl Outdated Show resolved Hide resolved
templates/frontend/pages/catalogSeriesIndex.tpl Outdated Show resolved Hide resolved
templates/frontend/pages/catalogSeriesIndex.tpl Outdated Show resolved Hide resolved
templates/frontend/pages/catalogSeriesIndex.tpl Outdated Show resolved Hide resolved
templates/frontend/pages/catalogSeriesIndex.tpl Outdated Show resolved Hide resolved
</div>

<div class="metadata">
<h3><a href="{url router=$smarty.const.ROUTE_PAGE page="catalog" op="series" path=$browseSeriesItem->getPath()|escape}"> {$browseSeriesItem->getLocalizedFullTitle()|escape}</a></h3>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change h3 to h2 to reflect the page structure.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in that case the h2 at the start of the page needs to become a h1
I understand the reasoning that the larger heading at a page is h1,
but from a site perspective we could have a different view.
I do as suggested.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good catch. The page title must be in <h1>.

templates/frontend/pages/catalogSeriesIndex.tpl Outdated Show resolved Hide resolved
@gemusehandler
Copy link
Author

gemusehandler commented Sep 8, 2020 via email

@NateWr
Copy link
Contributor

NateWr commented Sep 9, 2020

Hi @gemusehandler, were you able to make the changes? It doesn't look like there are any new commits in this pull request, so you might need to push them up still.

@gemusehandler
Copy link
Author

gemusehandler commented Sep 20, 2020 via email

Base automatically changed from master to main February 18, 2021 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants