Prev-Next-Item-Links on Detail-pages?

More
2 years 8 months ago #81944 by kath
Hi there,

is there some way to determine the id of the next/prev/sibling item (or the next/prev/sibling menu-item) using php in my (frontend-)item-view?
I need to create something like e.g. this:
www.toujou.de/service/elementbibliothek/...ext-page-navigation/
(not talking about pagination for category-views)

Thanks a lot for your advice!
Kath :)

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #81949 by micker
you can acheive with css only
ligh exemple here
just-married-france.fr/robes-de-mariees/mori-lee/blu/rosa.html

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #81954 by kath
Hi micker,

thanks, but I'm not looking for a carousel or slideshow.
I need to create a link to the next/previous content-item, in a category, from a detail-page,
in a way that looks like a slideshow, but normally "href's" to new pages.

I figure, I need to do this in php:
  • Define which of my item's categories I want to navigate through, main category or one of the secondary cats?
    • (no prob here, I can get all cat info from php-item-object)
  • Let's say, I need to step through all content-items that share my item's main category.
  • The two questions would be:
    • What is the SQL to get all item-ids for a given item-id that share a category-id?
    • What is the SQL to get all item-ids for a given item-id that share a secondary category-id?
  • The rest (building the route, and the link, etc. poses no problem).
Bottom line: "A detail page that has a sort of pagination; like a category page, but with only one item per page."
Thanks again for your insight! :)

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #81956 by micker
Question why didn set to display 1 peer page (in category) and modify pagination ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #81957 by kath
Because the website has the typical structure of a category-page with teasers/thumbnail-links to detail-pages.
I now need to navigate "horizontally" from there.
Alternatively I'd have to weirdly change the links on the category-page, losing the detail-pages' url structure as well.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #81958 by micker
Maybe check an JS script for an horizontal scrolling ?
codeburst.io/how-to-create-horizontal-sc...tainers-d8069651e9c6

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.881 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline