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.

#51 Re: Backlight 2 Support » Adding a button to the images on an album » 2019-03-11 00:12:57

mad

Daniel I want to thank you for your suggestion, I implemented the album_top plugin function of course with much different coding but I figured out that I did not need a button over the image at all; I just modified the behavior of the image itself to be the button and pass on the information I needed it to have so it could load the next cart album correctly.  I now have all my albums going through this function in my plug-in. So, Daniel I want to thank you for pointing me into the right direction.

Here is a link to how my albums are functioning if you would like to check it out: https://kp.keylightphotography.us/galle … lryprdcrt/      You can click on any image and it will build the images for the cart based on which product you selected.  It is Context-Sensitive Albums now with everything else that I have done on my site dynamically.

Thanks again Daniel much appreciated.

#52 Re: Backlight 2 Support » How to access Metadata Category field in php plugin » 2019-03-10 11:14:29

mad

Please look at my original post I have that already and it works just fine for Title.  I need it for Category!!!!  I already tried that with Category BTW and it fails.

#53 Re: Backlight 2 Support » How to access Metadata Category field in php plugin » 2019-03-10 11:11:45

mad

There is no example for category. And anything I tried fails.

#54 Backlight 2 Support » How to access Metadata Category field in php plugin » 2019-03-10 11:04:31

mad
Replies: 6

How do I access the Category Metadata field in album_top plugin.  I know how to access Title and Caption However, can someone tell me how to get the metadata for Category. 

Here is what I am using to get the title what is the similar coding for Category.  I have tried several different options but nothing seems to work any suggestions?
$ph_title   = $photo->getMetadata(Photo::$PHOTO_TITLE);

#59 Re: Backlight 2 Support » A Gallery Vanished in Backlight2 » 2019-03-02 07:56:29

mad

Already sent Ben my access stuff. BTW, I am not squeamish as I have lots of experience with this kind of stuff, But, I would prefer Ben take a look at it first maybe he might find something to prevent this in the future.  Unless Ben does not have the time then I will do it. By the way, I did happen to change the slug from crgglry to rspcrgglry but that should not have removed it from Publisher.

#60 Backlight 2 Support » A Gallery Vanished in Backlight2 » 2019-03-02 07:24:11

mad
Replies: 7

Hi I was working on adding some Galleries to galleries top-level directory and removing some from another top-level directory when I noticed one of my original galleries which I did not touch vanished. It is still in LR and when I republish LR thinks the gallery is still there but does not show up in Publisher on Backlight.  Everything else is working including the new galleries I added.

Here is the link to the missing gallery page: https://www.keylightphotography.us/galleries/rspcrgglry

I can send Ben my access information; I am hoping Ben can take a look at this and let me know how to fix it or maybe he can fix it.

Thanks,
Michael

#61 Backlight 2 Support » Cart Behavior with $0 amount on checkout Paypal does not appear!!! » 2019-03-02 03:10:09

mad
Replies: 1

I have figured out that if you checkout with a $0 amount on checkout that the Paypal button/image does not appear when it should.  Personally, I think this is a bug if you have Paypal as your checkout method then the Paypal button should always appear regardless of the amount.  I verified this by adding a $0 dollar amount as one of the options in a pricing scheme for a product with other products with an amount greater than zero amount.  The Paypal button/image only appeared when the dollar amount was greater than $0.

I hope I explained this okay.

#62 Re: Backlight 2 Support » Getting » 2019-02-28 01:00:19

mad

I found my problem it was that I transposed two characters on one of my buttons as I was creating it.  instead of crgglry I had typed in the href crggrly.  What a bone-head!!!

#63 Re: Backlight 2 Support » Getting » 2019-02-27 08:16:17

mad

Nope just only deleted the Album in LR.

#64 Re: Backlight 2 Support » Getting » 2019-02-27 08:08:24

mad

No deletions of Page or Album Templates.  I am still looking for a cause to figure it out.

#65 Re: Backlight 2 Support » Multiple (sub) sites » 2019-02-27 07:34:34

mad

Yes you can just make sure your sub-domain is mapped to the sub-domain directory.  For Example: if Travel is your directory then your sub-domain should be mapped to /root/Travel. Then Backlight and your galleries would be under Travel.  You can do map it with your cPanel (Domains Central).

#67 Backlight 2 Support » Getting » 2019-02-27 07:20:35

mad
Replies: 6

I am getting this message, I removed a Album from LR and started to get this message.  So, I updated the Backlight Album files on settings.  Still getting this.  How can I fix this issue?

Something went wrong

Unable to find pageTemplate with ID 1. Try updating the selected template for the application. in EngineFactory.php on line 36

#68 Re: Backlight 2 Support » Adding a button to the images on an album » 2019-02-27 07:18:18

mad

Thanks Daniel good to know that I can do that.

#69 Re: Backlight 2 Support » Adding a button to the images on an album » 2019-02-27 02:46:02

mad

Yes, I use it on my Client sub-domain already. I think I may go in this direction.

#70 Re: Backlight 2 Support » Adding a button to the images on an album » 2019-02-27 02:17:21

mad

Yeah, I had the same idea but since each button code is unique to the image it would be difficult to do. BTW, I do know where the elements are added. Another idea I had was to use the Theater Blank Page and do my own thing - not my preference.

Also, if I knew the functions that Ben uses to interrogate the database I would use that.  I may have to hunt and peck through the code to find them though.  I try not to reinvent the wheel if someone already has. lol!!!

I just had another idea, I could use an iFrame and build my own HTML image Page Container and thus have control of adding the buttons to the images. 

Unless Ben or Matt have any better ideas!!!!

#71 Backlight 2 Support » Adding a button to the images on an album » 2019-02-27 01:30:16

mad
Replies: 9

I am looking to add a specific button to each image on an album (not a cart). I know there is a write-in button but it is for add-to-cart, I want to be able to add my own button to each image on the gallery grid.  Is there a way to do this?  BTW, I know how to create the button and add it to an image but have not done so using the backlight album img grid. Any suggestions or has someone done this already?

#72 Re: Backlight 2 Support » Change Order Button not functioning correctly » 2019-02-26 22:38:30

mad

Thx Ben, I am sure this one is not easy.  I once had a similar problem once when I was working on code for the client site menus and pages. I was certain that the problem of duplication of a name/path was in a certain section of the code but I eventually traced it back to another function that I had used for many years with no problems only under a particular condition it manifested itself and by the way it did it when using Backlight 2, not backlight 1, not CES3 or CES4 nor my other websites. So, boy did I feel dumb; anyway, I am certain you will find and fix it.  Just noted this as encouragement from me. Good Luck!!!  I am planning on incorporating your fix once I finish building my Client Site Sub-domain and then implement it into the main domain and replacing my fotomoto site with the Backlight Cart.  Thx again Ben.

#73 Re: Backlight 2 Support » Couple of General Questions related to Search & Menu Sets » 2019-02-26 00:04:19

mad

My Scripts function determines which page is being used and sets it specific for that page; this is what I call "just in time page mods" which I have donw with non-specific code from my previous websites so I only need to move the code once and it works on every website both Backlight and other types such as my previous sites on 500px and Smugmug which are now finished. This way I control the css  to a specific page or group of pages or on a specific domain/subdomain then I only need to code it once in one place which applies to all of my domains/sub-domains. The custom.css is more global and I certainly use it for global use and I do not need different custom.css files on different templates in backlight although I know ways to not make it non-global as well. Just my preference to make changes in only one place. I did put the changing the .button to text-align: center; in the custom.css file though.

The other added benefit is that I can now make my menus and other elements more dynamic/context sensitive without changing/adding to Backlight via Admin as well. 

by the way I made the changes to the icons already as well.

#75 Re: Backlight 2 Support » Couple of General Questions related to Search & Menu Sets » 2019-02-25 22:17:20

mad

Rod, just wanted you to know that I got the quick search & backlight/search page working together with just using my just using the search icon using some custom css and the li#widget-container ul.  It did require some additional custom css that we did not discuss and a new search album page templates instead of the default page ones I was using.  Check it out and let me know what you think.  https://keylightphotography.us

Thanks for pointing me in the right direction.

Board footer

Powered by FluxBB