Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2019-04-03 03:23:16

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 132
Website

SinglePage.php not calling plugin copy_top() function

While using SinglePage.php I expected that the plugin copy_top() function would be called but it is not calling it.  It is Calling the scripts() function in plugins but I have a need for it to call to the other plugin functions.  Am I forgetting something or is it suppose to work this way.  I need it to call copy_top and copy_bottom functions.

Michael

Offline

#2 2019-04-03 04:01:59

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,348
Website

Re: SinglePage.php not calling plugin copy_top() function

There are dedicated single_top and single_bottom functions for the single image pages.


Daniel Leu | Photography   
DanielLeu.com

Offline

#3 2019-04-03 04:26:54

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 132
Website

Re: SinglePage.php not calling plugin copy_top() function

okay will try those as long as it is called after the initial class the__copy is created which is normally done with a copy_top function since I need to remove that and replace it with my own class.

Offline

#4 2019-04-03 04:40:06

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,348
Website

Re: SinglePage.php not calling plugin copy_top() function

I think that the behavior is the same as for copy_xxx(), but just dedicated to the single image pages.


Daniel Leu | Photography   
DanielLeu.com

Offline

#5 2019-04-05 02:27:54

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 132
Website

Re: SinglePage.php not calling plugin copy_top() function

Thanks Daniel I got he single image display working with my code.  I removed all the buttons except for the close btn and I will eventually add my own purchase button to the single image.  Thanks again I would of never thought that this was part of the copy.

Offline

#6 2019-04-05 02:35:41

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,348
Website

Re: SinglePage.php not calling plugin copy_top() function

smile


Daniel Leu | Photography   
DanielLeu.com

Offline

Board footer

Powered by FluxBB