Search found 22 matches
- Sun Jun 04, 2006 3:30 pm
- Forum: General discussions
- Topic: I want php in my .tpl, I think
- Replies: 8
- Views: 3980
It Works!
Thanks for the kick in the pants :) I remember reading about that during my first Serendipity install. In fact, I even altered my theme tpl's in that fashion. Then I got so many different Serendipity experiments going on...I figured I'd just as well adjust the default, not spending any extra time mo...
- Sun Jun 04, 2006 3:07 pm
- Forum: General discussions
- Topic: I want php in my .tpl, I think
- Replies: 8
- Views: 3980
Still Nothing
Hello, Thanks for your continued help! I put the following code in my config.inc.php and it is appently not being read, because it didn't make any change in the blog (still loaded fine). <?php die('CONFIG LOADED!'); ?> The file is also in the place you indicated, along with the index.tpl. Also the f...
- Sun Jun 04, 2006 2:10 am
- Forum: General discussions
- Topic: I want php in my .tpl, I think
- Replies: 8
- Views: 3980
No Comm
Thank you so much for the reply, I'm still not getting any communication going on between the config.inc.php and the index.tpl. The file that I am putting the Smarty markup in is /templates/default/index.tpl. Now where exactly do I put the config.inc.php file? From what documentation I read, the fil...
- Sat Jun 03, 2006 3:17 pm
- Forum: General discussions
- Topic: I want php in my .tpl, I think
- Replies: 8
- Views: 3980
Another method, but doesn't work
Also... I tried using the method that is described at http://www.s9y.org/78.html under the subtitle "Inserting you own Stuff", but that does not seem to be working either. I made a php file called config.inc.php that holds the php I want. The file lives in the same directory as the index.t...
- Sat Jun 03, 2006 2:27 am
- Forum: General discussions
- Topic: I want php in my .tpl, I think
- Replies: 8
- Views: 3980
I want php in my .tpl, I think
Hello, I'm trying to call up one of two menus from my index.tpl using smarty and php. The chosen menu will depend upon which page the user is linking from. Is this possible? I know I can't put the php directly into the tpl, so here is the code I am currently using which isn't doing what I want. conf...
- Wed May 03, 2006 7:14 pm
- Forum: General discussions
- Topic: Discussion Forum Tweek
- Replies: 3
- Views: 2249
- Mon May 01, 2006 10:00 pm
- Forum: General discussions
- Topic: Discussion Forum Tweek
- Replies: 3
- Views: 2249
Discussion Forum Tweek
Hello, I have spent many hours trying to configure Serendipity to do what I want. I am having not too much luck. I need a web page that has a discussion forum. It must be secure, because I will be allowing users to upload a file to my server. Right now I have Serendipity v.1 beta setup with the disc...