-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did you double check all relative include links to be sure that you are
calling all the files you need correctly?  If you are replacing the
/index.php file with /tpl/index.php (which is what it sounds like you
are doing to me) you will need to change all of the (relative) file
locations for includes to add ../ to the beginning.  This is true for
almost any change to the folder a file is in.  The only way to be sure
the links are correct without changes is to put the file in the same
folder as the one it is replacing.

Jeffrey Euen-Gow wrote:
> Hi everyone
> 
>  
> 
> I have developed a template for my site that utilises the plugin template
> 
>  
> 
> I have the following setup in my config file
> 
>  
> 
> $config['site']['theme'] = 'new created theme';
> 
>  
> 
> #Use Templating (template: /tpl/index.php)
> 
> require_once('plugins/TemplatePlugin.php');
> 
> $tpl = new TemplatePlugin();
> 
>  
> 
> And have the new index.php for my new template in the /tpl/ folder.
> 
>  
> 
> The issue I am having is:
> 
>  
> 
> When clicking on the connect link at the top of the window (as a logged in
> user) when the templating system is active the twitter and facebook tabs do
> not show up.  
> 
> Also clicking on register when the templating system is active the Login,
> Register, OpenID, facebook options are missing, 
> 
> the same for clicking on login Login, Register, OpenID, facebook option tabs
> are missing.
> 
> Am I missing something in the /tpl/index.php file or am i missing something
> in the /plugin/TemplatePlugin.php file
> 
> The template that I have created is not that different to the default so
> there have been few changes to the /tpl/index.php file....  I have not made
> any changes to the /plugin/TemplatePlugin.php file..  Is this a bug in the
> software and the use of the templating system when using the available
> plugins, such as twitter, facebook, opened, etc....
> 
> Regards
> 
>  
> 
> Jeffrey Euen-Gow
> 
>  
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> StatusNet-dev mailing list
> StatusNet-dev@lists.status.net
> http://lists.status.net/mailman/listinfo/statusnet-dev

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkrKjr0ACgkQzSSLW0oTVN4jKACdHa2JoBQyOCg/+YKNuv8ABusB
BXEAn18r2m05l6KMjP64U5nV37HWuhbu
=rZNo
-----END PGP SIGNATURE-----
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to