Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 Re: Backlight 2 Support » Breadcrumb behavior » Today 03:14:41

pideja wrote:

this line caused a problem:

}	} else if (strtolower($this->slug) == 'contact') {

so I changed it to:

	} else if (strtolower($this->slug) == 'contact') {

and it seems to work.

sorry, missed that

#2 Re: Backlight 2 Support » Breadcrumb behavior » Today 02:15:19

The code is used to create breadcrumbs for user pages and not for the home page. That's why you get Home twice on the home page. Additionally, if you don't want to have it called 'home', you need to change the text in the ttg_crumb line:

function ttg_crumb( $page_name ) {
	echo '<ul class="breadcrumbs"><li class="fa_pseudo" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/" itemprop="url"><span itemprop="title">Accueil</span></a></li><li class="fa_pseudo" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span itemprop="title">'. $page_name .'</span></li></ul>';
}

function main_top(){
	// Add breadcrumbs to non-gallery pages
	if (strtolower($this->slug) == 'accueil') {
echo '<ul class="breadcrumbs"><li class="fa_pseudo" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/" itemprop="url"><span itemprop="title">Accueil</span></a></li></ul>';
}	} else if (strtolower($this->slug) == 'contact') {
		$this->ttg_crumb('Contact');
	} else if (strtolower($this->slug) == 'recherche') {
		$this->ttg_crumb('Recherche');
	} else if (strtolower($this->slug) == 'xxxx') {
		$this->ttg_crumb('Xxxx');
	}
}

#4 Re: Backlight 2 Support » SEARCH page in French » Yesterday 06:40:28

How about:

form.search-form, form.search-form p, form.search-handoff {
    margin-left: auto;
    margin-right: auto;
}

#5 Re: Backlight 2 Support » SEARCH function » 2020-02-26 05:02:36

The folder path /backlight/search is correct. This is not a physical directory. That's why you don't see it. /gallery/search might be a residue of some of your earlier experiments.

#7 Re: Backlight 2 Support » SEARCH page in French » 2020-02-19 07:30:36

Works well with full names too. Just put them in quotes: "MICHEL BEAULIEU". If you want matching images, you need to enhance the caption and keywords. There is more about using search in http://backlight.theturninggate.net/doc … t_s_search

Language customization is part of the Publisher section in Backlight > Admin > Settings > Languages. In order to see changes, you might need to logout from Backlight admin and login again.

#9 Re: Backlight 2 Support » Clicking through search results » 2020-02-11 07:57:25

The single image view is always available. So switching to slideshow mode has no impact on SEO.

#11 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-11 01:39:35

The enter button is now higher on my iPhone. It is most likely a cache issue that prevents you seeing the latest changes. Try to clear the cache on your phone.

Don't know why the .masthead item is in your file. Using 'main_bottom' works well. Nothing to worry about that. This defines the insertion point for 'enter'.

#12 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 14:43:51

Increasing the bottom distance moves it up. And then there is a loose 'white; parameter.

#enter-field {
   position: fixed;
   bottom: 20px; <-- increase as desired
   right: 20px;
   background-color:rgba(255,255,255,0.7);
   font-size:1em;
   border-color: white; 
   white;   <-- delete this
   border-width:4px;
   border-style:solid;
}

#13 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 03:10:44

'?>' looks to be out of place. This should be removed since there is already one at the very end of the file.

I don't see your custom.css code referenced in your page either.

#14 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 01:38:52

Jack, you did add this code to the copied version of phplugins-pangolin-sample.php, didn't you?

You need to add this function below

// SET USER FUNCTIONS BELOW
// Some example functions are included below. Feel free to delete or modify unwanted functions.
// ****************************************************************************************************

For instructions see http://backlight.theturninggate.net/doc … _phplugins.

Do you have a link to the page where it should be visible?

#15 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-09 06:09:17

Hi Jack,

Here is the link on how to upgrade phplugins from BL1 to BL2: http://community.theturninggate.net/vie … hp?id=8966

You only have one function to move from the old phplugins.php file to the new one. I think it should look like this:

function masthead_primary_bottom () { 
	echo '
		<div id="enter-field" ><a href="https://stuffbyjack.com/galleries/">ENTER</a></div>	
	';
} // end masthead_bottom

Your custom.css file should continue to work as is.

#16 Re: Backlight Support » Embedded YouTube videos not playing after switching to SSL site. » 2020-02-07 02:30:41

Hmm... I would send Ben an email with your backlight admin and ftp credentials and a link to a gallery that shows the issue along with a link to this thread.

#17 Re: Backlight Support » Embedded YouTube videos not playing after switching to SSL site. » 2020-02-06 15:23:00

Hi Jack,

As expected, loading your site in the debugger, I get an error:

Mixed Content: The page at 'https://www.stuffbyjack.com/jackonly/ga … ideo-test/' was loaded over HTTPS, but requested an insecure resource 'http://www.youtube.com/embed//X2jUWQxbw … &hd=1&fs=1'. This request has been blocked; the content must be served over HTTPS.

Try to execute Backlight >  Designer > Templates > Clear Template Cache to see if this fixes this issue.

Oh, you are using the latest version of Backlight 1, aren't you?

#18 Re: Backlight Support » Embedded YouTube videos not playing after switching to SSL site. » 2020-02-06 12:33:30

How did you embed the Video? It looks like the links starts with http:// but it should be https://.

#19 Re: Backlight 2 Support » Sales Tax Issue » 2020-02-06 04:52:49

That's a good reference, Rod! Thanks! Did you read the notice to the buyer requirements in Washington?

#20 Re: Backlight 2 Support » Sales Tax Issue » 2020-02-06 01:14:05

Michael, are you referring to the South Dakota v. Wayfair decision from June 21, 2018?

#21 Re: Backlight 2 Support » Modified Search » 2020-01-27 16:14:04

When a page is loaded, the language settings are saved in something called 'sessions'. So when you load another page or reload the same page again, the language settings are not updated. To get a new session and therefore your changed settings, you might have to logout of backlight, or even restart your browser.

At least this is what I remember to have read a while ago in the forum.

#22 Re: Backlight 2 Support » Modified Search » 2020-01-27 15:08:08

Sorry, don't know what you mean by 'The search info' text.

#23 Re: Backlight 2 Support » Collecting Search Results » 2020-01-26 03:56:19

Hi Chumby,

You don't need phplugins for that. If you are using Google Analytics, there is a simple solution available! I wrote this a very long time ago when I created a search feature called GallerySearch for CE3. But the integration with Google Analytics still works with Backlight 2: https://danielleu.com/blog/2014/03/goog … erysearch/

#24 Re: Backlight 2 Support » Modified Search » 2020-01-23 01:21:30

Martin, you can use

.album-template-id-3 cite {
    display: none;
}

to hide the unwanted text.

#25 Re: Backlight 2 Support » Installing Backlight » 2020-01-23 00:56:56

I would create a new publishing service targeting the new site and not use the old one. Maybe change the api address of the old publishing service so you don't use that one by chance. This way, you still have a reference to your previous album structure. Just a thought.

Board footer

Powered by FluxBB