Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 4 matches
Smarty Forum Index
Author Message
  Topic: Plugins Custom Directory
smarty_gray

Replies: 5
Views: 20962

PostForum: Plugins   Posted: Mon Jan 23, 2017 6:34 pm   Subject: Plugins Custom Directory - Solved!
Hi

Thanks again for the nudge. I have now found exactly the place in this application where PHP is used to call the templates. I have added my custom directory in there (as per your instructions) a ...
  Topic: Plugins Custom Directory
smarty_gray

Replies: 5
Views: 20962

PostForum: Plugins   Posted: Sun Jan 22, 2017 9:08 pm   Subject: Plugins Custom Directory
Hi

Ahh... making some progress. I amended my code to read :-

{php}
$this->plugins_dir[] = '/var/www/html/my_site/cit_modules/global/smarty/plugins';
var_dump($this-> ...
  Topic: Plugins Custom Directory
smarty_gray

Replies: 5
Views: 20962

PostForum: Plugins   Posted: Sun Jan 22, 2017 8:57 pm   Subject: Plugins Custom Directory
Hi bsmither

Thanks for the very much for the suggestions which I have experimented with; I still seem to be having trouble however.

I created a simple plugin (cit_test_js) which I placed in the ...
  Topic: Plugins Custom Directory
smarty_gray

Replies: 5
Views: 20962

PostForum: Plugins   Posted: Sun Jan 22, 2017 12:29 pm   Subject: Plugins Custom Directory
Hi

Smarty Version 2.6.18
LAMP on Lunbuntu

I am trying to customise an existing website which uses Smarty Templates. I have successfully written some plugins which reside in the default plugins ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP