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 Re: Backlight Support » Galleries within galleries » 2017-04-19 18:04:02

Thanks Rod & Charlie,

That's done the trick, wicked, thank you! 

I've noticed that a random cover image is not displayed in an Album set when set to random.  An image is displayed though if I select an image fromn the drop down list in the album set config.  This works ok in normal albums.

Cheers

#2 Backlight Support » Viewing images from galleries - Advancing through all the photos. » 2017-04-18 20:05:31

Mediahype
Replies: 5

Ok maybe I'm being greedy with two questions in 1 night, please forgive!

Just a useability query.  I have noticed that if one has several pages of images in a gallery, that when one is viweing the images you can only scroll through the images that are on the page that is selected.  If the gallery has several pages, one needs to close the viewed image, advance to the next page, open up an image and then one can continue scrolling through all the images on the 2nd page.  This need to be repeated for all pages.

Is there a way to set the system so if an image is selected to view, by pressing the right arrow butto one can scroll through every single image without having to stop, select a new page and then continuing?  I'm having people not seeing all the images as they scroll through them as they don't realise or notice that there are multiple pages.

Regards

#3 Backlight Support » Galleries within galleries » 2017-04-18 19:58:20

Mediahype
Replies: 5

Hi TTG,

It's been a while since I pestered the forum with questions.  I've been enjoying the website but feel it's time I got creative again and push my boundaries.

I have my galleries setup but am now considering including galleries within galleries but I'm not sure how to achieve this.  For example, I wish to have a several main (top level) galleries and then within each of those top level galleries have several sub galleries.  For example a top level gallery may be called "Location" and underneath that have several galleries with different locations like, Australia, Europe, North America, etc etc.

I use TTG Publisher within Lightroom to publish photos to my site.  However when I try add a gallery under another gallery it won't let me do this and instead places it at the same level as the other galleries.

I assume I need to restructure my gallery setup from within Backlight but how, is this where I need to setup album sets?

Regards

#4 Re: Backlight Support » Search error - Client response module is currently unavailable » 2017-02-22 18:27:03

Thanks Ben,

Your a genius, thank you.  I didn't realise the search mechanism was tied to the template. 

Problem resolved thank you!

#5 Backlight Support » Search error - Client response module is currently unavailable » 2017-02-21 17:50:23

Mediahype
Replies: 4

Hi Backlight Community,

I have just started adding search tags to my images and realise that I have an error that pops up when I do a search for an image.

The error is "Client response module is currently unavailable.  Feedback profile could not be found." 

The error can be closed and the images relating to the search are then found.  What is trying to invoke the client response?  The client response module is installed and works fine.

The search code I have on my page is the following;  The included search page backlight\search returns the same error though.

<h2>Search Galleries</h2>
<div id="search"> 
	<form action="/backlight/search" method="GET">
		<input type="text" id="q" name="q" placeholder="Photo Search" value=""/>
		<button type="submit" style="margin-top: 6px;"><i class="fa fa-search" ></i> Search</button>
	</form>
</div> <!-- #search -->

I have found that if I create a feedback profile called default I do not get the error.  However I now have feedback in the public galleries which I don't want.  How do I disable feedback for the public galleries but have a search function with no error.  I have private customer galleries where I do wish to have feedback though.

Regards

https://www.overthetopimagery.com.au/Galleries/

#6 Re: Backlight Support » Contact form send button not showing in page using custom form.php » 2017-02-11 10:39:37

Thanks Rod,

The send button is now displaying but when I complete the form and click send an email is not sent, the form field input areas are emptied so one needs to reenter details.  It also doesn't recognise if required fields are entered so I guess I'm missing some code somewhere.

I have tried this same code in a page and not in a php file and it does the same.

<div class="the__copy">
  <div class="content clearfix">
<h1 style="color:#1a75bb;">Photographic Enquiries</h1> 
<div id="form" class="contact-form">
	<form method="post" action="https://www.overthetopimagery.com.au/Contact4">
	<p><label for="name">Name *</label><input id="name" name="name" value="" type="text"></p>
	<p><label for="email">Email *</label><input id="email" name="email" value="" type="text"></p>
	<p class="honey-pot"><label for="address">Address *</label><input id="address" name="address" value="" type="text"></p>
	<p><label for="name">Telephone</label><input id="field_8" name="field_8" value="" type="text"></p>
<p><label for="name">Location Details and Address (Property Description, Buildings, Structures, vehicles/vessels) *</label><textarea rows="2" id="field_9" name="field_9"></textarea></p>
<p><label for="name">Property Owners / Residents (Names & Contact Details if different from above) *</label><textarea rows="2" id="field_10" name="field_10"></textarea></p>
	<p><label for="name">Assignment Details (Purpose, Key points of interest, Video, Resolution) *</label><textarea rows="4" id="field_6" name="field_6"></textarea></p>
	<p class="denotes-required-fields">* denotes required fields</p>
<div class="actions"><input name="submit" value="Send" type="submit" style="display:block;"></div></form></div>	
 </div>
</div><!-- .the__copy -->

#8 Re: Backlight Support » Contact form send button not showing in page using custom form.php » 2017-02-10 16:23:30

Hi guys,

If I put the html code straight into a page copy area it works and I can click on the send button and the form content are emailled out OK.  If I put that very same code into the tabbed section of a php file, the send button doesn't show.  Despite the send code being there.

The line <div class="actions"><input name="submit" value="Send" type="submit"></div></form></div> is definitely in the code.  As I said the send button doesn't appear when the code is in the tab, and a look at the page source through inspector doesn't show it, it's as if the tabs makes this line dissapear. 

Contact3 page has the code in tab1 section which is identical to that in the body copy area of Content4 page:

https://www.overthetopimagery.com.au/Contact3

Contact4 - html code is in body copy area

https://www.overthetopimagery.com.au/Contact4

Code in my test today is the following:

  <section id="content1">
<div id="form" class="contact-form">
	<form method="post" action="https://www.overthetopimagery.com.au/?page=Contact2">
<p><label for="name">Name *</label><input id="name" name="name" value="" type="text"></p>
<p><label for="email">Email *</label><input id="email" name="email" value="" type="text"></p>
<p class="honey-pot"><label for="address">Address *</label><input id="address" name="address" value="" type="text"></p>
<p><label for="name">Phone Number *</label><input id="field_12" name="field_12" value="" type="text"></p>
<p><label for="name">Location Details and Address (Property Description, Buildings, Structures, vehicles/vessels) *</label><textarea rows="2" id="field_14" name="field_14"></textarea></p>
<p><label for="name">Property Owners / Residents  (Names &amp; Contact Details if different from above) *</label><textarea rows="2" id="field_15" name="field_15"></textarea></p>
<p><label for="name">Assignment Details (Purpose, Key points of interest, Video, Resolution) *</label><textarea rows="6" id="field_16" name="field_16"></textarea></p>
<p class="denotes-required-fields">* denotes required fields</p>
<div class="actions"><input name="submit" value="Send" type="submit"></div></form></div>
  </section>

As a note, I can use a hook to place a button outside of the tab section.  This shows the send button but it loses the reference back to the form content and doesn't do anything, ie no email is sent.  click on the send botton and literally nothing happens.

Cheers

#9 Backlight Support » Contact form send button not showing in page using custom form.php » 2017-02-09 21:07:15

Mediahype
Replies: 7

Hi,

I have created this as a new topic following on from the discusion in the returrn to gallery button query.

With the tabbed content I have created a new contact page and am testing using each tab to display a different contact form depending on what the client's query relates to.  (This is to reduce effort on the clients part in downloading and completing forms and then having to email them back)

I have created 3 forms manually in a contact.php file and all the form entry areas exist when I view the page.  However the send button is not displayed.  I assume in the php file I need to create values for each field from all 3 contact forms which I have done at the bottom of the php file.  But as the send button is not displayed I can't send the form info back via email.

What code do I need in the php file to capture the various inputs and pipe them to an email back to me?  (The normal contact form that comes with Backlight works fine and sends an email back so the email side is fully functional, I just have the code stuffed in the custom php file.

Normal Contact Form inserted via Backlight:
https://www.overthetopimagery.com.au/Contact
Custom Page for multiple contact forms:
https://www.overthetopimagery.com.au/Contact3

function ttg_main_top( $style, $path ) { 
    echo '

<div class="radioTabs">

  <input type="radio" name="tabs" id="tab1" checked>
  <label for="tab1">Photographic Enquiries</label>

  <input type="radio" name="tabs" id="tab2">
  <label for="tab2">General Enquiries</label>

<section id="content1">
<p>Nothing in here yet</p>
</section>

  <section id="content2">
  <div class="content clearfix">
<div id="form" class="contact-form">
<form method="post" action="/Contact">

<p><label for="name">Name *</label><br><textarea rows="1" id="field_11" name="field_11"></textarea></p>
<p><label for="email">Email *</label><br><textarea rows="1" id="field_12" name="field_12"></textarea></p>
<p><label for="phone">Phone Number *</label><br><textarea rows="1" id="field_13" name="field_13"></textarea></p>
<input type="duff" name="spammy" style="display: none;">
<p>Type</p>
<select name="type" size="1">
<option value="Sokar">Sokar</option>
<option value="Reconn">Reconn</option>
<option value="Other">Other</option>
</select>
<br />
<p><label for="subject">Subject *</label><br><textarea rows="6" id="field_14" name="field_14"></textarea></p>
<p class="denotes-required-fields">* denotes required fields</p></div></form>
<div class="actions"><input name="submit" value="Send" type="submit"></div>
</div>
  </section>

</div>
    ';
    return true;
} // END

function( $style, $path ) {
$name = $_post['name']; 
$email = $_post['email']; 
$phone = $_post['phone']; 
$type = $_post['type'];
$subject = $_post['subject'];
} // END

?>

#10 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-08 18:02:59

Just a thought Matthew,  Could these tabs be used to insert multiple contact foms?  So instead of a gallery insert a contact form?

I have 2 types of enquries with different contact forms.  I was just wondering if I could setup a page with 2 tabs on it with 1 contact form under each tab?

Cheers

#11 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-08 17:46:58

That's done the trick!  Once again thanks Matthew, This is awesome!! 

I have a thin white line to the right and bottom of the images which I'll have to find why through the styling or slideshow template.

But this is the layout I envisaged so it's really great to get this working!!!  I'm much happier without the iFrames, pym.js.

This is also great as it maintains the ability to publish the slideshow direct from Lightroom!

If you wish to see the result, I've renamed the page back to what it was originally;

https://www.overthetopimagery.com.au/Sokar

Thanks again, You Rock!

#12 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-07 23:01:01

Maybe I was premature in celebrating....it works intermittanly it would appear

#13 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-07 22:39:18

Sorry Matthew,

The page link has changed, my bad I should have posted the new link. 

https://www.overthetopimagery.com.au/Sok

I've moved the script to the end and it seems to be working now.

Really great for all you help on this, darn awesome!  And thanks to Ben and Rod for the earlier assistance.

Wicked stuff!

Cheers

#14 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-07 19:35:48

If I insert it between the opening and the function ttg_gallery_bottom it doesn't error but doesn't change the slideshow height either.

  <section id="content4">
        <!-- opening the gallery tab -->

    ';
    return true;
} // END


function ttg_scripts( $style, $path ) {
    echo '
    <script>
        $(\'input:radio[id="tab4"]\').change(function(){
            if(this.checked) {
                vegasAspectRatio();
            }
        });
    </script>
    ';
} // END


function ttg_gallery_bottom( $style, $path ) {
    echo '

        <!-- closing the gallery tab -->
  </section>

#15 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-07 19:16:55

Heh no need to apologise I appreciate all the hlp your giving me.  This is also not working though with the same error.  Is there anywhere specific in the php file that it needs to go.  I have tried inserting it after the input type's and also into <section id = "content 4"> area

Cheers

#16 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-07 16:35:46

Hi Matthew,

I changed "tab5"to "tab4" as tab 4 is the one with the slideshow but alas it's not working.  I'm getting an error
"Something went wrong
Unexpected error: syntax error, unexpected '>' in sokar.php on line 25
Please report error at http://community.theturninggate.net"

Line 25 is <script>            I have tried relocating the code withing the php file but it keeps returning the same error. 

If I remove the <script> & </script> I then get an error on the $.

Cheers
Ian

#17 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-06 19:41:33

Hi Matthew,  that's sort of working, awesome stuff

It's not picking up the height of the images in the slideshow though;

https://www.overthetopimagery.com.au/Sokar2

Select the Pictures tab

Looking at Inspector in Netscape it's picking up a style height of 75px from somewhere but not sure where;

<div class="gallery prevent_fouc vegas-container" style="height: 75px;">

So close thank you Matthew, I really appreciate your help with this!!

Cheers
Ian

#18 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-06 17:42:46

Hi Matthew,

Yes pym is not working too well.  Well it is on my QNAP but not well as the height is correct.  Nothing is displayed at all on the hosted site despite the pictures showing that they are slideshowing in Firefox Inspector.

Love the suggestion of using PHPlugins but I'm not sure how to go about doing that.

If I add the following code to the php file, "This is a test" shows on every page on the website.  How do I ensure it only runs on the page I want it to?   Also if I add all of the content in the tabs to the php file I would imagine that file would get rather large and cumbersome to manage'.  I would have thought it best to keep web content out of the php file.

function ttg_gallery_top( $style, $path ) {
    echo '<p style="color:red;">This is a test.</p>
    ';
    return true;
} // END

And then once it's only running on 1 page how do I only display the slidshow within 1 of the tabs?  Would love to try it as this is keeping me from promoting my site.

Cheers
Ian

#19 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-04 12:49:55

Hi Ben,

It's getting there!  I have added some styling around the tabs and the 5th tab is now there.  Having some difficulty with the slideshow via pym.js though.  If I try it on my QNAP at home the pym.js slideshow appears but on the hosted website all I get displayed is the website header.  (The full screen page that the content is coming from does not have a header as I disabled it in the template.

Not sure what I'm doing wrong, I've checked the links to the pym.v1.min.js and the webpage and they appear ok.  The height of the pym.js is also incorrect on my home QNAP and it only shows about 1/3 of the slideshow height.

http://www.overthetopimagery.com.au/Sokar

#20 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-03 23:18:56

Hi Matthew,

Great to hear from you!  Awesome stuff your tab code is working.  (I haven't uploaded it to my main site yet but it's working on my local instance)

I can't get content 5 displaying though with the CSS code.  The tab is there just not the content.  I added an input type and sectionid for content 5 and have tried moding the css code but still can't get content 5 to display.

I removed the #hash and replaced with a . but neither worked.

.tab5:checked ~ .content5,
#tab6:checked ~ #content6 {
    display: block;
}
I must confess CSS is all new to me so still having trouble understanding it.

In response to your query I am trying to put a gallery into the pictures tab on a product page.  My logic is I'm trying to group the product content together and I thought that tabs would be a great way to do that.  Intially I thought of creating a seperate page for each tab but that didn't seem to be a very efficient way of doing things.

On my website under Custom RPAS there are currently two product buttons in tray 1, Sokar and Reconn.  Here is the link to Sokar

http://www.overthetopimagery.com.au/Sokar

These pages have the tabbed content and I wanted to have a slideshow for each product in the tabbed content.  If there is a better way of doing this I'm all ears.  I'm currently wondering if pym.js would resolve the iframe issue I have in that it doesn't scale nicely in the page especially when used on smaller screens.

This still wouldnt resolve the returning to the previous gallery (in this case the fullscreen iframe page) so was wondering if I could insert some code into the fullscreen iframe page that would return the user to the tabbed content.

Worry is this would be a messy hack and not an efficient way of doing things.

Cheers

#21 Re: Backlight Support » "Return to Gallery" Button action in shopping cart » 2017-02-02 22:42:43

It does indeed Rod.  Think I'm gonna have to put on the creative hat and try figure out an alternative way of displaying the info.

Cheers

#22 Re: Backlight Support » Blank 'Tray 1' in client response » 2017-02-02 22:41:11

Interesting concept Rod.  I'll look into the reponsive grid and localisations and have a play.

Cheers.

#23 Re: Backlight Support » Lightroom CC - Can't update collection error » 2017-02-02 21:47:22

Knock me over with a feather duster! 

Somehow the folder name on the drive had been changed but the lightroom catalogue hadn't been updated. Not sure how the folder got renamed I'll have to chat to my assistant.  I hadn't noticed as my check was opening images and I assumed that if it opened from the catalogue it was all ok.  I didn't see the little question mark on the catalogue....Mmm Lesson learned there!

Ben your a true champ, Thank you again!

Regards

#24 Backlight Support » Blank 'Tray 1' in client response » 2017-02-02 19:49:34

Mediahype
Replies: 3

Really sorry for the barrage of help requests, still learning this software and I can't find a reference to this query in existing tickets.

I have a client response page set for client login at the following url;
http://www.overthetopimagery.com.au/bac … -response/

The Tray 1 area is blank and I have been unable to locate where I can add some custom text here.

In a normal page template one can add html to Tray 1, Tray 2 and Body which I have done for the rest of the site. 

The client response menu item however is a url to the client response template not a call to a page.  I can't see where to customise this as there is nowhere in the client response template to add in this info.

If there isn't anywhere to add Tray 1 content to the client response, is there some html code I can insert to a page that will display the client response login?

I set the client response up as per the following guide;
http://backlight.theturninggate.net/doc … management

Regards

#25 Backlight Support » Lightroom CC - Can't update collection error » 2017-02-02 19:36:16

Mediahype
Replies: 3

I am having trouble setting up a new gallery on my newly hosted website.

I have setup 6 galleries successfully using Lightroom CC and published photos to them.  I can still create new galleries but if I try publish to them I get the following error:

"Can't update this collection.  The rendition could not be created.  Please ensure that the original file name is acceible, especially when stored on external or network storage."

The gallery folder is being created but only the custom_thumbnails directory. 

I have tried the following post in relation to rebuilding a set of libraries but no joy.
http://community.theturninggate.net/vie … hp?id=6828

I have also checked the permisions as per other support posts and the directories are set to 755.  I have tried changing them to 777 but still no luck.

Regards

Board footer

Powered by FluxBB