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 84 matches
Smarty Forum Index
Author Message
  Topic: I'm making a CMS using Smarty
ucntkilme

Replies: 5
Views: 33009

PostForum: Frameworks   Posted: Sun Nov 28, 2010 10:08 pm   Subject: I'm making a CMS using Smarty
Good to see ya again mohrt havent been around these forums much as of late.

I actually did download both of those, and while there are things about them i like, there are a lot of things about them ...
  Topic: I'm making a CMS using Smarty
ucntkilme

Replies: 5
Views: 33009

PostForum: Frameworks   Posted: Sun Nov 28, 2010 6:26 pm   Subject: I'm making a CMS using Smarty
While I am sure the 2 you listed are good. I've wanted to build my own CMS for a while so that is what I am doing.

I've come up with one name so far, but the domain is taken so I cant use it.

A ...
  Topic: I'm making a CMS using Smarty
ucntkilme

Replies: 5
Views: 33009

PostForum: Frameworks   Posted: Sat Nov 27, 2010 9:22 pm   Subject: I'm making a CMS using Smarty
Alright so I've been thinking about this for a while. I hate pre-written code, but doing everything 100% custom is becoming a bit tedious for me.

I could use wordpress, or joomla or something of ...
  Topic: same code, 2 servers, 1 works.. driving me nuts!
ucntkilme

Replies: 7
Views: 9626

PostForum: General   Posted: Wed Oct 20, 2010 8:46 pm   Subject: same code, 2 servers, 1 works.. driving me nuts!
yeah thats what I would have thought too..

Only thing I can think is that $_SERVER['DOCUMENT_ROOT'] gave me /var/www/dev as my document root

but on FTP it displays the document root as /home/r1s ...
  Topic: same code, 2 servers, 1 works.. driving me nuts!
ucntkilme

Replies: 7
Views: 9626

PostForum: General   Posted: Wed Oct 20, 2010 8:39 pm   Subject: same code, 2 servers, 1 works.. driving me nuts!
That must have been the issue, smarty i guess wasn't loading. I just put back my 'display', and it's all working correctly how it should be.
  Topic: same code, 2 servers, 1 works.. driving me nuts!
ucntkilme

Replies: 7
Views: 9626

PostForum: General   Posted: Wed Oct 20, 2010 8:32 pm   Subject: same code, 2 servers, 1 works.. driving me nuts!
made that change, removed the original <pre> block, uploaded and nothing displays.

just made a change in ybd.php

i had my smarty include as:

$_SERVER['DOCUMENT_ROOT']."/inc/libs/S ...
  Topic: same code, 2 servers, 1 works.. driving me nuts!
ucntkilme

Replies: 7
Views: 9626

PostForum: General   Posted: Wed Oct 20, 2010 7:51 pm   Subject: same code, 2 servers, 1 works.. driving me nuts!
Thanks for the response. I didn't empty templates_c, but I just did and no change.

I also put in both:

$smarty->utility->test(); and $ybd->utility->test();

and nothing displays.. ...
  Topic: same code, 2 servers, 1 works.. driving me nuts!
ucntkilme

Replies: 7
Views: 9626

PostForum: General   Posted: Wed Oct 20, 2010 7:23 pm   Subject: same code, 2 servers, 1 works.. driving me nuts!
Alright, for these I am using Smarty 3 with a custom class i've written to extend it.

On one site, i've removed all the actual page elements except for the display to test the display on that serve ...
  Topic: help needed on smarty code
ucntkilme

Replies: 1
Views: 9491

PostForum: Help Wanted (commercial)   Posted: Fri Aug 20, 2010 9:19 pm   Subject: help needed on smarty code
Check your plugins folder for a function_t.php or something else like that.
  Topic: has anyone ever... ajax, html_options
ucntkilme

Replies: 0
Views: 3639

PostForum: General   Posted: Fri Aug 20, 2010 9:17 pm   Subject: has anyone ever... ajax, html_options
Has anyone ever figured out a way to do the following...

you have a list of status codes ($data.status)

each one displays different text which is a link..

when you click the link {html_option ...
  Topic: Call to a member function assign() on a non-object
ucntkilme

Replies: 2
Views: 10329

PostForum: Smarty 3   Posted: Thu Aug 05, 2010 11:29 pm   Subject: Call to a member function assign() on a non-object
der der i feel like a moron thanks.. i changed all the others but good lord lol.
  Topic: Call to a member function assign() on a non-object
ucntkilme

Replies: 2
Views: 10329

PostForum: Smarty 3   Posted: Thu Aug 05, 2010 10:34 pm   Subject: Call to a member function assign() on a non-object
So, I am upgrading my smarty to S3. Which means I also have to upgrade my class file which extends smarty to work with S3. I've got this error:

Fatal error: Call to a member function assign() on ...
  Topic: edited title: I once was lost, but now im found [RESOLVED]
ucntkilme

Replies: 1
Views: 5651

PostForum: Smarty 3   Posted: Fri Jul 30, 2010 7:13 pm   Subject: edited title: I once was lost, but now im found [RESOLVED]
Well I feel like an idiot, i remember that S3 works only with php 5. So i jumped onto the server, switched the default for this site to PHP5, and viola it worked..
  Topic: edited title: I once was lost, but now im found [RESOLVED]
ucntkilme

Replies: 1
Views: 5651

PostForum: Smarty 3   Posted: Fri Jul 30, 2010 6:59 pm   Subject: edited title: I once was lost, but now im found [RESOLVED]
Alright so i started looking at other ways to run my ajax calls and such, and figured at the same time i should upgrade to smarty 3.

my issue is i am getting this error: and i dont know why..

Pa ...
  Topic: [NEWBIE] Calling 2 SQL queries in SMARTY?[PHP > SMARTY/HT
ucntkilme

Replies: 7
Views: 16026

PostForum: General   Posted: Wed Jul 21, 2010 9:54 pm   Subject: [NEWBIE] Calling 2 SQL queries in SMARTY?[PHP > SMARTY/HT
Now what you do is make a class, and turn that into your own function.. and you can put in all your custom functions in the class..

here is how yours would look

<?php
session_start() ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT
Jump to:  


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