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.

#2 Re: Backlight Support » Top of Page Button » 2019-06-30 00:59:25

Hi Rod,

many thanks!

I've changed to the latest phplugins sample file and have corrected the code to "function scripts()".
Not it shows up, but unfortunately at the wrong position (left bottom instead right one) and only below the footer.
The css is also not applied.

The css code I'm using is (the unclosed media query should be fixed now - thx!!):

.btn-scroll-to-top {
    background-color: transparent;
    display: none;
    position: fixed;
    bottom: 5px;
    right: 5px;
    border: 1px solid;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 29px;
    vertical-align: middle;
    text-decoration: none;
    color:#6f7c80;
}

.btn-scroll-to-top:hover {
    text-decoration: none;
    color:#000000;
}

a.btn-scroll-to-top {
    z-index: 3;
}

Any ideas?

Cheers
Sven M

#4 Re: Backlight Support » Top of Page Button » 2019-06-28 20:56:43

Hey there,
I've tried to integrate the code on my page as well: www.sven-michael.com but unfortunately it is not working.
Here is the php code I've used

function body_bottom() {
    echo '
   
    <a href="#top" class="btn-scroll-to-top" title="Top of page"><i class="fa fa-arrow-up fa-lg"></i></a>
   
    <script>
    $(document).ready(function() {
    $(".btn-scroll-to-top").click(function() {
    $("html, body").animate({ scrollTop: 0 }, "slow");
    return false;
    });
    $(window).scroll(function() {
    if ($(this).scrollTop() > 200) {
    $(".btn-scroll-to-top").fadeIn();
    } else {
    $(".btn-scroll-to-top").fadeOut();
    }
    });
    });
    </script>
   
    ';
}

Any ideas / solutions?

Many thanks in advance and Krgds
Sven M

#5 Re: Backlight 2 Support » Top Pallet Logo » 2018-09-23 15:12:59

Done - works all great again!! Thx!

#6 Re: Backlight 2 Support » Top Pallet Logo » 2018-09-22 20:37:33

Hey Ben
after I've fixed, thanks to your update, the php issue with WP, the top pallet logo still doesn't show on the WP blog.
Any ideas how to fix this?
Many thanks in advance and Krgds
Sven M

#7 Re: Backlight 2 Support » Upgrade to BL2 on my blog didn't go as well as my regular sites » 2018-09-22 20:35:09

Ben wrote:
Sven wrote:

When I activate the new custom php file the blog side is blank and I get a php error in wordpress

PHP Fatal error:  Class 'URLHelper' not found in /home4/.../public_html/backlight/modules/module-designer/application/helpers/APHPlugins.php on line 27

Hi Sven, you've found a bug.  The PHPlugins have a dependency on our URL helper, but that URL helper isn't available in Wordpress.  I've come up with a fix, that will be included in the next maintenance update.

Update installed and bug has disappeared - many thanks!

#8 Re: Backlight 2 Support » Upgrade to BL2 on my blog didn't go as well as my regular sites » 2018-09-15 18:31:26

Hi there,

Same problem here...
When I activate the new custom php file the blog side is blank and I get a php error in wordpress

PHP Fatal error:  Class 'URLHelper' not found in /home4/.../public_html/backlight/modules/module-designer/application/helpers/APHPlugins.php on line 27

If I remove "class PHPlugins extends APHPlugins" the php functionality doesn't work but the blog shows up again...

Any Idea?
Many thanks in advance and Krgds
Sven M

#9 Re: Backlight 2 Support » Top Pallet Logo » 2018-09-09 21:20:14

Hi Ben,

many thanks!!
Works great again...

Cheers
Sven M

#10 Backlight 2 Support » Top Pallet Logo » 2018-09-09 20:34:38

Sven
Replies: 7

Hi there,

just installed Backlight 2 and so far so good its great!

My only issue that I cannot replace the top pallet title with a logo as I could do it beforehand.
Here is the link to the old post (http://community.theturninggate.net/vie … hp?id=7788).
For me the php code:

unction ttg_pallet_top_title( $style, $path ) {
  echo '

  <li class="logo"><a href="#"><h1>Site Title</h1></a></li>

  ';
  return false;
} // END /**/

worked so far (you can still see on the blog page of my homepage www.sven-michael.com).

Any ideas?

Many thanks in advance and Krgds
Sven M

#11 Re: Backlight Support » Help needed - Unexpected error: unserialize() » 2017-08-28 01:53:11

Hi Ben,
many many thanks!!!
Couldn't have solved it without you.
Still working through your clean up actions and have invested into further protection add-ons... hope they will pay off.
One further question: Is it normal that the url links for the backlight pages are no longer working?
Cheers
Sven M

#12 Re: Backlight Support » Help needed - Unexpected error: unserialize() » 2017-08-27 16:59:57

Tried the fix and it becomes even more wired
Firefox: fixed
Safari & Chrome: still there (I think the error occurs always on the third page opened and from then onwards on all following pages, also happens when reloading the home page twice)
Error message also back on the backlight admin, resulting in that I cannot save templates anymore

#13 Re: Backlight Support » Help needed - Unexpected error: unserialize() » 2017-08-27 03:20:56

Too early, error is still there (but doesn't crash the entire side anymore).
Deactivated favicon in all templates, but it still appears randomly on single pages (incl. crashing the entire page).
Any idea how to solve?

#14 Re: Backlight Support » Help needed - Unexpected error: unserialize() » 2017-08-27 03:07:48

A fresh install of Backlight 1.2.2 + Release 2 fixed it...

#15 Re: Backlight Support » Help needed - Unexpected error: unserialize() » 2017-08-26 20:41:24

Hi,

yes I have a favicon set via settings.
Tried to remove it and save the template, got the massage

Unable to save settings:
Unexpected error: unserialize(): Error at offset 0 of 19 bytes in favicon_48c993.ico(104) : eval()'d code on line 185

Deleted the png file but still same error when trying to save the template.
Sven M

#16 Backlight Support » Help needed - Unexpected error: unserialize() » 2017-08-26 19:56:03

Sven
Replies: 13

Hello,

I've surprisingly received the following error on my homepage (www.sven-michael.com):

Unexpected error: unserialize(): Error at offset 0 of 19 bytes in favicon_48c993.ico(104) : eval()'d code on line 185

I didn't change anything, but might be Bluehost did?

Do you have an idea how to fix it?

Thanks in advance,
Sven M.

#17 Re: Backlight Support » Pangolin Top Pallet Logo » 2017-07-02 17:40:57

Many, many thanks Matt!
Works great and that really was the icing on the cake.

#18 Re: Backlight Support » Pangolin Top Pallet Logo » 2017-07-02 02:27:18

Dear both,
many thanks!
I've tried Top Pallet on for desktop and mobile, primary masthead disabled and Replace the site title with an image on, but unfortunately it is not working on my test page.
Anything else I can do?
Krgds
Sven M

#19 Backlight Support » Pangolin Top Pallet Logo » 2017-07-02 00:46:17

Sven
Replies: 29

Hey there,
just started to use Pangolin, the demonstration looks awesome!
On the demonstration page (http://theturninggate.net/galleries/) you've integrated your logo in the Top Pallet (both for desktop and mobile). Could you help me how to do this? I cannot find the option in the designer.
Many thanks! and Krgds
Sven M

#20 Re: Backlight Support » The "open_basedir restriction in effect" error » 2016-07-24 00:28:51

Hi, sorry to hear that you are having the same issues than me.
I've tried it several times with them, but absolutely no chance.
Changing the host was the only solution.

#21 Re: Backlight Support » Page error: 404 - Not Found » 2016-07-16 23:33:13

Hi Ben, many thanks!!

Side is working again, so happy.
Nevertheless I wanted to feedback, that I had to add URL links instead of page links into the menu, to make it work:

I've first tried solution 3, but links were still not ok. So I also modified the .htaccess file. After that I've got a wired Masonry layout and on the homepage the error message:
Something went wrong; Unexpected error: Module 'uploadprogress' already loaded in Unknown on line 0. Please report error at http://community.theturninggate.net
but the links (e.g. /contact) were working --> solved by changing to FastCGI (both cPanel and .htaccess file).
Finally the menu links were still inactive (reverting back to home), solved by url links.

#23 Backlight Support » Page error: 404 - Not Found » 2016-07-16 21:29:03

Sven
Replies: 11

Hello, after upgrading www.sven-michael.com to 1.0.3, all pages (except home) report back the 404 error: Not Found - The requested URL /contact/ was not found on this server. When trying to reach a page via the menu, it displays the home page without error message.
I've already tried a complete fresh install and set-up, but it doesn't fix the problem.
Galleries, search pages and the preview pages (e.g. http://sven-michael.com/?page=contact) are not impacted.
Andy idea? Many thanks and Krgds
Sven M

#24 Re: Backlight Support » The "open_basedir restriction in effect" error » 2016-07-16 21:00:56

Hey Ben, issue is solved now. Had to switch to another host ;-(

#25 Re: Backlight Support » The "open_basedir restriction in effect" error » 2016-05-30 06:37:03

Hi Ben
may thanks for your help!
I've received from the technical support the answer that the /tmp directory is not available (as it is a shared directory), but that the /phptmp directory should be used. Is there a chance to change that directory in blacklight?
Krgds
Sven M

Board footer

Powered by FluxBB