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.

#27 Re: Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-23 00:39:08

Hi Rod,

Thanks for that.  Added a new .htaccess file to my ClientArea & thought that would suffice but it didn't work so just realised I'd have to create a .htaccess in every sub dir.  Not feasible.  Nor is reissuing URL's to all clients.

Thanks though! smile

Deirdre

#28 Re: Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-23 00:02:38

Hi Rod,

No, ClientArea is nothing to do with Backlight.  This is an old (top level) gallery that preceded BL but I still need my clients to be able to access the links that I emailed to them say 6 months ago. 

Any ideas?  Emails of broken links are trickling in ....

Thanks,
Deirdre

#29 Re: Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-22 23:56:48

Hi Rod,

Many thanks.  From googling the issue it looks like it could be a problem with the rewrite rules not being compatible with my (broken) weblinks which exist in a subdir.

For example my website is www.deirdrelangan.com & BL files/dirs reside there but my client (broken) weblink files are in :
www.deirdrelangan.com/ClientArea/Weddings/2016

Unfortunately I don't know anything about rewrite rules or the syntax required to add code to .htaccess to tell it about my subdirs .....

#30 Re: Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-22 23:20:11

btw - the error given is 'Paradox 404! Page does not exist!

#31 Re: Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-22 23:18:39

O dear,

For some strange reason it looked like that worked but now it isn't working!

Can someone help me please?

This link for example will no longer work: http://www.deirdrelangan.com/ClientArea … /2016/0722

and this is my .htaccess file located in :www.deirdrelangan.com/
Options -Indexes
AddHandler fcgid-script .php
FCGIWrapper "/dh/cgi-system/php56.cgi" .php
# ------------------------------------------------------------------------------
# | Web fonts access                                                           |
# ------------------------------------------------------------------------------
# Allow access from all domains for web fonts
<IfModule mod_headers.c>
    <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
    RewriteEngine On
    ############################################################################
    # Edit this section for servers using FastCGI
    # For FastCGI (or seeing the error message 'No input file specified.':
    # add # to the start of the next line
    RewriteBase /
    RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
    # For FastCGI (or seeing the error message 'No input file specified.':
    # add # to the start of the next line and remove # from the line after)
    RewriteRule ^.*$ - [E=BASE:%2]
    #RewriteRule ^(.*)$ - [E=BASE:]
    ############################################################################


    RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]
    RewriteRule ^([^\/.]*)-single.php$ %{ENV:BASE}single.php?%{ENV:QS}&id=$1 [QSA,L]
    RewriteRule ^([^\/.]*).css$ %{ENV:BASE}index.php?%{ENV:QS}&extension=css&name=$1 [QSA,L]
    RewriteRule ^([^\/.]*).js$ %{ENV:BASE}index.php?%{ENV:QS}&extension=js&name=$1 [QSA,L]
    RewriteRule ^([^\/.]*).gif$ %{ENV:BASE}index.php?%{ENV:QS}&extension=gif&name=$1 [QSA,L]
    RewriteRule ^([^\/.]*).png$ %{ENV:BASE}index.php?%{ENV:QS}&extension=png&name=$1 [QSA,L]
    RewriteRule ^([^\/.]*).jpg$ %{ENV:BASE}index.php?%{ENV:QS}&extension=jpg&name=$1 [QSA,L]
    #RewriteCond %{QUERY_STRING} !mod_rewrite=on
    #RewriteRule ^index.php$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
    RewriteCond %{QUERY_STRING} !mod_rewrite=on
    RewriteRule ^mobile.php$ %{ENV:BASE}mobile.php?%{ENV:QS} [QSA,L]
    RewriteCond %{QUERY_STRING} !mod_rewrite=on
    RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]
   
    RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
   
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]
</IfModule>

Many thanks,
Deirdre

#32 Re: Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-22 19:40:08

Hi Patrick,

My original BL installation didn't include the .htaccess code as you describe it came with.  However, I replaced my .htaccess code with your existing .htaccess file (what you describe came with BL originally) & now my conflicting problems (described above) with .htaccess has been fixed. 

So, to answer your question, I'd suggest you ignore the mentioned post link which looks to be outdated & stick with what you've got (the .htaccess code that came with your installation of BL).

All the best,
Deirdre

#33 Re: Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-22 19:24:32

Hi there,

I'm now also experiencing problems with this .htaccess code.  I added it as instructed & my new website & pages all look good but I'm now getting emails from clients complaining that they can't access their original web links.

After a bit of testing I've discovered that by restoring my original .htaccess file, I can now access my clients' weblinks.  However, it's now broken a couple of my new website pages.

Here's my original .htaccess file (which breaks a couple of my new website pages):
Options -Indexes
AddHandler fcgid-script .php
FCGIWrapper "/dh/cgi-system/php56.cgi" .php

And here's my new .htaccess file (which breaks old client .htm weblinks)
Options -Indexes
AddHandler fcgid-script .php
FCGIWrapper "/dh/cgi-system/php56.cgi" .php

# ------------------------------------------------------------------------------
# | Web fonts access                                                           |
# ------------------------------------------------------------------------------

# Allow access from all domains for web fonts

<IfModule mod_headers.c>
    <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
</IfModule>

<IfModule mod_rewrite.c>
    RewriteEngine On

    ############################################################################
    # Edit this section for servers using FastCGI

    # For FastCGI (or seeing the error message 'No input file specified.':
    # add # to the start of the next line
    RewriteBase /

    RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$

    # For FastCGI (or seeing the error message 'No input file specified.':
    # add # to the start of the next line and remove # from the line after)
    RewriteRule ^.*$ - [E=BASE:%2]
    #RewriteRule ^(.*)$ - [E=BASE:]

    ############################################################################



    RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]

    RewriteRule ^([^\/.]*)-single.php$ %{ENV:BASE}single.php?%{ENV:QS}&id=$1 [QSA,L]

    RewriteRule ^([^\/.]*).css$ %{ENV:BASE}index.php?%{ENV:QS}&extension=css&name=$1 [QSA,L]
    RewriteRule ^([^\/.]*).js$ %{ENV:BASE}index.php?%{ENV:QS}&extension=js&name=$1 [QSA,L]
    RewriteRule ^([^\/.]*).gif$ %{ENV:BASE}index.php?%{ENV:QS}&extension=gif&name=$1 [QSA,L]
    RewriteRule ^([^\/.]*).png$ %{ENV:BASE}index.php?%{ENV:QS}&extension=png&name=$1 [QSA,L]
    RewriteRule ^([^\/.]*).jpg$ %{ENV:BASE}index.php?%{ENV:QS}&extension=jpg&name=$1 [QSA,L]

    #RewriteCond %{QUERY_STRING} !mod_rewrite=on
    #RewriteRule ^index.php$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]

    RewriteCond %{QUERY_STRING} !mod_rewrite=on
    RewriteRule ^mobile.php$ %{ENV:BASE}mobile.php?%{ENV:QS} [QSA,L]

    RewriteCond %{QUERY_STRING} !mod_rewrite=on
    RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]
   
    RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
   
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]

</IfModule>

Any help much appreciated!
Deirdre

#34 Re: Backlight Support » <ul> bullets not displaying » 2016-11-17 20:15:52

Thank you so much - You guys are the best!!!! :-)

That worked.  Site is now live.

Thank you so much for TTG.

All the best,
Deirdre

#35 Re: Backlight Support » <ul> bullets not displaying » 2016-11-17 02:53:42

Thanks admint.  That was where I started!  It was only after hours of testing that I reverted to making up stuff!  Well not quite, but I started googling & trying out all the suggestions that I could find.

Rod - don't particularly want to change type.  Just want any shaped bullet point.  For some reason it ain't working.

Cheers
Deirdre

#36 Re: Backlight Support » <ul> bullets not displaying » 2016-11-17 02:48:19

Thanks Mark & Rod.

Mark - thanks but not trying to do that.  Just a few places on my website where I'd like to draw attention to some points.

Rod, I've implemented code as you've suggested but no luck.  I added that css to my custom.css used in advanced customisation - I'm assuming that's the place for it?

It's my new homepage where I'm trying to use lists:
http://deirdrelangan.com/

Many thanks,
Deirdre

#37 Backlight Support » <ul> bullets not displaying » 2016-11-17 02:27:14

dlangan
Replies: 19

Hi there,

I've been testing lists for the last couple of hours.  They do not seem to work.

I've placed :

<ul type="square">
    <li>Item 1</li>
    <li>Item 2</li>
    <li>Item 3</li>
</ul>

into my page 'Tray 01 Copy' but no bullets are displaying - of any shape or form. I've tried them all.  I've also tried redefining <ul> in custom.css but no luck there either.

Thanks in advance.
Deirdre

#38 Re: Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-16 23:10:08

Brilliant!  Thanks a million Matthew!

I reloaded /home/backlight/modules/okapi-core/static/fonts as binary files & it's now looking good!

Much appreciated,
Deirdre

#39 Re: Backlight Support » How to migrate from my test site to production? » 2016-11-16 23:03:54

Thanks Rod.

I followed your earlier advice & copied all backlight files to my root website directory, updated backlight site URL etc.  It's all looking good!  I've not fully tested it but so far so good & it was easier than I expected.  So, with a few tweaks & a resolution to the arrow thing it's good to go!

Many thanks as always for your help :-)

Deirdre

#40 Re: Backlight Support » How to migrate from my test site to production? » 2016-11-16 20:20:56

Thanks Rod & Charlie!

Charlie - I don't have write access to my webserver so can't unfortunately change the doc root directory.  But thanks anyway for the suggestion.

Rod - I want to keep my existing directories.  I've hundreds of galleries down through the years.  They're not accessible from my main website - I email clients the private link.  But, my reason for wanting to maintain them in their current location is that it works for my SEO.  I can't remember what I did all those years ago (tho' I did a good deal of research on it at the time) but whatever it was, it's still working for me so I'm not going to replace the whole lot with a few backlight galleries.  They might look nicer but no-one would ever find them to see :-)

Many thanks,
Deirdre

#41 Re: Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-16 20:04:50

Thanks Rod.

I'm not (yet) using redirection so the only thing that changed in my environment since it was working was the upgrade from 1.05 to backlight 1.1.

Regardless, I followed your advice & copied & pasted that code into my .htaccess file in my root www.deirdrelangan.com directory but it hasn't made any difference.  Still, no arrows, just boxes.

I'm surprised that I'm the only one with this issue as I followed the installation instructions to a T!

All the best,
Deirdre

#42 Backlight Support » How to migrate from my test site to production? » 2016-11-16 03:46:41

dlangan
Replies: 8

Hi there,

So, I've got my test site here http://www.deirdrelangan.com/TTG-TEST  (index.php)

And my current live site is here http://www.deirdrelangan.com               (index.html)

I'm almost ready to make my backlight (TTG-TEST) environment live.

Is it possible to just link (ln) one index file to the other?  Or what is the best possible way to avoid downtime or to keep it to a minimum?  I read previously that it wasn't possible to migrate galleries from test environments to production ones.  If I can avoid re-publishing them all on my production/live site that'd be great as it took me a while to get the galleries looking how I wanted.

Thanks for fixing /textarea :-)

Thanks in advance for any advice.

Cheers
Deirdre

#43 Backlight Support » Backlight 1.1 issue with arrows displaying now as boxes » 2016-11-16 02:56:45

dlangan
Replies: 25

Hi there,

i've just searched the forums & don't see this issue posted.

I just upgraded to version backlight 1.1 & all the little arrows that existed on my webpages & in the admin panels have changed to little boxes (using Chrome).  I'm guessing this isn't deliberate.  Am I missing a font file or something?

I just checked Firefox & the appearance is worse - I think it's that missing image symbol.

Problem can be seen here http://www.deirdrelangan.com/TTG-TEST/about/  (beside Galleries)

Cheers
Deirdre

#45 Re: Backlight Support » Using <textarea> tag in page copy breaks editor » 2016-11-07 22:02:14

Thanks Ben.  I didn't understand much of that (don't have a web design or html background), but I read it to mean it'll be fixed in next backlight release?  I don't know how to use phplugins but if next backlight version provides instructions I'll be happy to implement.

The difficulty I face with the <textarea> breaking the page editor is that it truncates everything below the offending <textarea></textarea> tags which means I have to keep a back up of the latest page copy so that I can copy & paste it when it fails.  But, I see what you mean - it'll do as a work around until the next release.

Thanks for taking a look at this & proposing to fix in 1.1! 
Deirdre

#46 Backlight Support » Using <textarea> tag in page copy breaks editor » 2016-11-03 23:41:26

dlangan
Replies: 8

Hi there, I'm reporting a bug in backlight.  As per the subject, using html <textarea> breaks the page editor in Backlight.

I've carried out numerous tests & the most basic test using <textarea> breaks the page editor.

The most basic test was to include this text in the Page Copy 'Main Copy' section of a test page :

  <textarea name="thetext" rows="20" cols="80">
   First line of initial text.
   Second line of initial text.
   </textarea>

When I come out of the page editor & go back into it, the last line </textarea> is missing. 

When using <form> & buttons (as per below) when you re-enter the page editor main copy, the active buttons are showing up on the page editor window. (To replicate the error user must go to View Page & back in to 'design' to see the problem. If you stay & save changes in designer all day the problem isn't visible until you go back a level to View Page & then go back to design).

This will really demonstrate the problem more easily:
<FORM action="http://somesite.com/prog/text-read" method="post">
   <P>
   <TEXTAREA name="thetext" rows="20" cols="80">
   First line of initial text.
   Second line of initial text.
   </TEXTAREA>
   <INPUT type="submit" value="Send"><INPUT type="reset">
   </P>
</FORM>

If there's a work around please let me know.  I was hoping to find an alternative multi-line input field but apparently there isn't one.

Many thanks,
Deirdre

#47 Re: Backlight Support » Check Buttons In Contact Form. » 2016-11-03 03:21:54

So, it's taken me all day but finally I found the issue & culprit on my contact form (which is using formmail).

This was causing the problem:
        <tr>
            <td valign="top">
                <strong>Comments or query</strong>
            </td>
            <td valign="top">
                <textarea name="comments" rows="6" cols="40"></textarea>
               
            </td>
        </tr>

All of my other input fields are very similar so I've narrowed the problem down to either the "rows" or the "textarea" elements.  My day here is over so haven't had a chance to research the fix for this but I am just so happy to have found the problem & am sharing in case it helps any of you guys!

:-)
Deirdre

#48 Re: Backlight Support » Is it possible to link to a html page from an album? » 2016-11-03 03:18:08

Wow! In Lightroom aswell.  Gee, didn't know that but might find a use for it there!  Great, thanks Rod!

#49 Re: Backlight Support » Check Buttons In Contact Form. » 2016-11-03 01:40:48

Hi Rod,  For some reason I didn't see the second half of your answer first time around.

Thank you, I do have the Wordpress add-on module but I'm developing add-on fatigue.  This form works fine for me on my old website so I was really hoping to reuse & recycle rather than having to learn about & download a new plugin every time I want to do something slightly different.

I didn't realise backlight would present such a steep learning curve :-(

Many thanks for your help on all of my issues to date :-)  Much appreciated.

#50 Re: Backlight Support » Check Buttons In Contact Form. » 2016-11-03 01:29:45

Hi Rod,

Okay, thanks for that.  I'm not sure what HTML version my (current/old) website is using but I wrote it 10yrs ago so it won't be HTML5!

Yes I'm trying exactly that here http://www.deirdrelangan.com/TTG-TEST/about/

I'm happy enough with the page appearance & was happily tweaking it & making changes in the page editor & refreshing it on another web browser & all was going well until I exited the page editor to go work on a new page. 

But when I came back to make a further change on the page editor of this contact/about page, the buttons from my form & location map are actually showing up in the page editor.  When I clicked to save it then broke the webpage.

Any ideas?

Board footer

Powered by FluxBB