Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-08-24 07:48:50

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Pagination Display on Top/bottom of Page

Quick question How to get Pagination to display top & bottom of page?

thx,
michael

Offline

#2 2019-08-24 09:48:33

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Pagination Display on Top/bottom of Page

I thought it displays above and below the grid by default. (As long as you have more images in the album than the “images per page” setting)
Can you post a link?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2019-08-24 19:10:23

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Re: Pagination Display on Top/bottom of Page

Hmmm, I will have to check but it is only showing at the bottom of the page. I also checked the browser at the source code and it is only showing it to be at the bottom. Anyway, Here is a link one of the galleries that have pagination https://www.keylightphotography.us/gall … s-gallery/

Offline

#4 2019-08-25 00:22:32

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Pagination Display on Top/bottom of Page

it looks like you're using phplugins to customize your albums? I see a div with a class of kp_gallery surrounding the gallery div.

If so, you'll probably need to modify your code to include the pagination code



unrelated to that, the html in the page copy has some issues

This is what the page source code is showing for the copy area:

<body><h2 style="text-align:center;"><b>Nature, Flowers, Macro, & Objects Gallery</b></h2>
					<div class="kpList">
							<ul>
					<li <b>View a slideshow by selecting any photo.</b></li><li <b>You can buy any photo by clicking the Shopping Cart-Plus & add a product on the next page.</b></li><li <b>Hovering on Photo or clicking the Green Info icon shows the photo description.</b></li>	
							</ul>
						</div>
					<br>	
					</body>	

there shouldn't be a body tag there.
the opening list tag is malformed. It's currently <li <b>....

the <b> tag is deprecated from html 5. And those list opening tags need a closing angle bracket: <li>

If you want the text to be bold, then:
<li><strong>your text</strong></li>


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2019-08-25 02:45:02

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Re: Pagination Display on Top/bottom of Page

Do you have a copy of what the pagination code should be like?  The example in the sample plugin only shows navigation not much else which is not useful.  About the html error, I am cleaning up the code as I am an old HTML guy and know that some items are depreciated but will get to it; thx.

Offline

#6 2019-08-25 02:53:04

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Pagination Display on Top/bottom of Page

I don’t have the code, but you can probably find it somewhere in the backlight/modules/pangolin-album/ folder.
(I think that’s the folder. Going from memory)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#7 2019-08-25 02:57:35

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Re: Pagination Display on Top/bottom of Page

ok thx.

Offline

#8 2019-08-25 21:25:47

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Re: Pagination Display on Top/bottom of Page

Rod Thx again for your assistance.  I have my pagination working now with my code specific navigation in plugins; using a combination of changes to my copy_top & album_top code.  Yes, I cleaned up my <li issue.  Still making other updates as I go through everything.

Again thx a bunch.
Michael

Here is a link to one of the pages.  https://keylightphotography.us/gallerie … s-gallery/

Last edited by mad (2019-08-25 21:28:26)

Offline

#9 2019-08-26 01:29:03

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Pagination Display on Top/bottom of Page

You use an interesting approach to select the product, Michael. What irritated me at first was that your shop/product gallery closely resembles the regular photo gallery. It might be helpful to have a different layout. When I click on a product in the shop I get a 404 error. I don't know how easy it is to further hack the system so you get the shopping cart popup instead.

Nice approach and a cool hack!


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#10 2019-08-26 08:31:25

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Pagination Display on Top/bottom of Page

We don't endorse or support hacking Backlight 2.

Offline

#11 2019-08-26 10:05:22

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Re: Pagination Display on Top/bottom of Page

Daniel, Everything should be working fine let me know if something did not work since I did not see a 404 error.  Also, I just used some creative coding in plugins and did not hack the system; it just appears that I did a hack.

Ben, I fully support not to do hacking on Backlight 2.

Offline

#12 2019-08-26 23:00:37

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Pagination Display on Top/bottom of Page

mad wrote:

Daniel, Everything should be working fine let me know if something did not work since I did not see a 404 error.  Also, I just used some creative coding in plugins and did not hack the system; it just appears that I did a hack.

Ben, I fully support not to do hacking on Backlight 2.

No more 404s. But it looks kind of ugly when blowing up a thumbnails for full screen view.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#13 2019-08-27 01:59:50

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Re: Pagination Display on Top/bottom of Page

I will take a look at it, to see if I can improve that. Thx for your input it is really appreciated.

I eliminated the hyperlink for the Gallery products; did not need really need to display the ugly product photos. 
Thx again Daniel.  I think I have a unique presentation and product store now.  Just need to add my other products and new galleries. However, I will take a look at trying your suggestion about the presentation of the product pages itself to not make it look like the Galleries itself. Any thoughts?

I am thinking maybe a list of the products with a small thumbnail (even smaller than now) next to it.  Just a thought!!!!

Thx again Daniel for your insight; another pair of eyes always helps.

Last edited by mad (2019-08-27 02:20:25)

Offline

Board footer

Powered by FluxBB