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 19 matches
Smarty Forum Index
Author Message
  Topic: Login / Registration?
JF1980

Replies: 1
Views: 9627

PostForum: Plugins   Posted: Fri Apr 09, 2004 3:19 pm   Subject: Login / Registration?
Are there any recommended classes or plugins to use with smarty/PEARDB to give registration / login functionality?

Thanks,
  Topic: Assigning variables within IF blocks?
JF1980

Replies: 2
Views: 5428

PostForum: General   Posted: Mon Jun 16, 2003 9:40 pm   Subject: Assigning variables within IF blocks?
Is there a problem doing this? For some reason in the below code, the notknown template displays variables from $trans.whatever but the known template does not. Driving me mad! lol


$transrow = ...
  Topic: All in one?
JF1980

Replies: 7
Views: 11612

PostForum: General   Posted: Sat May 24, 2003 1:09 pm   Subject: All in one?
Ok I worked it out, for anyone who needs a reference in the future:
<div id="Layer1" style="width:800px; height:405px; overflow:auto;">
<table width="90 ...
  Topic: All in one?
JF1980

Replies: 7
Views: 11612

PostForum: General   Posted: Sat May 24, 2003 12:24 pm   Subject: All in one?
It kinda confuses me, I put {include file=productframe.tpl} where {$data[numloop]} is, but now it shows all my products side by side.

productframe.tpl contains <td>product stuff here</td& ...
  Topic: Hmm what now!
JF1980

Replies: 4
Views: 9476

PostForum: General   Posted: Fri May 23, 2003 9:56 am   Subject: Hmm what now!
I think I found the issue, register_globals is set to ON with te host but I have it disabled and am using the $_SESSION variables, I will try uploading a custom config to the host.
  Topic: Hmm what now!
JF1980

Replies: 4
Views: 9476

PostForum: General   Posted: Fri May 23, 2003 8:55 am   Subject: Hmm what now!
Well I tried this and it didn't work, plus that would not be correct as the menus on the left are within templates and it reads and displays them fine!!!
  Topic: unable to read template resource: "" in Smarty.cla
JF1980

Replies: 0
Views: 7212

PostForum: Bugs   Posted: Thu May 22, 2003 12:19 am   Subject: unable to read template resource: "" in Smarty.cla
I am working on my local testing machine and my pages display ok. FOr some reason when I have uploaded to the live server it won't display properly

http://www.dreamsdesire.com/?page=prodlist

...
  Topic: Hmm what now!
JF1980

Replies: 4
Views: 9476

PostForum: General   Posted: Wed May 21, 2003 8:49 pm   Subject: Hmm what now!
I am working on my local testing machine and my pages display ok. FOr some reason when I have uploaded to the live server it won't display properly Rolling Eyes

http://www.dreamsdesire.com/?page=prodl ...
  Topic: Include template file and <IFRAME> ??
JF1980

Replies: 8
Views: 24615

PostForum: General   Posted: Wed May 21, 2003 1:52 pm   Subject: Include template file and <IFRAME> ??
Ok, I found a solution.

HTML layer with the style atributte overflow set to auto Laughing
  Topic: Include template file and <IFRAME> ??
JF1980

Replies: 8
Views: 24615

PostForum: General   Posted: Wed May 21, 2003 8:35 am   Subject: Include template file and <IFRAME> ??
You are correct, I do not want an iframe as such, but I want something that will give the apperance of an iframe, e.g I want to have a box/window embeded into the page (like an iframe or text area) in ...
  Topic: Include template file and <IFRAME> ??
JF1980

Replies: 8
Views: 24615

PostForum: General   Posted: Tue May 20, 2003 11:25 pm   Subject: Include template file and <IFRAME> ??
yeah I am, but it doesn't parse the variables. I tried using session variables too but it didn't work.

Is there no way to get an iframe effect without calling an external file? E.g. I have a sect ...
  Topic: Include template file and <IFRAME> ??
JF1980

Replies: 8
Views: 24615

PostForum: General   Posted: Tue May 20, 2003 10:38 pm   Subject: Include template file and <IFRAME> ??
Hmm, I have an issue.

I have a main template, in that template I includevarious other templates depending on content.

Now I want to have an iframe, opening a template (section looping), at the m ...
  Topic: Weird section problem
JF1980

Replies: 5
Views: 13684

PostForum: General   Posted: Mon May 19, 2003 3:18 pm   Subject: Weird section problem
I don't really understand arrays that well so I try to keep them as simple as possible.
  Topic: Weird section problem
JF1980

Replies: 5
Views: 13684

PostForum: General   Posted: Mon May 19, 2003 1:40 pm   Subject: Weird section problem
Hmm, well my productid's start from 1. I will have to take a think about this.

Ok, I just thought, in debug it shows the arrays, and it shows:

$productid

=> [1] = 1
[2] = 2
[3 ...
  Topic: Weird section problem
JF1980

Replies: 5
Views: 13684

PostForum: General   Posted: Mon May 19, 2003 8:57 am   Subject: Weird section problem
Ok, so I am loading my 3 values in to 3 arrays, I have:

$productid
$productname
$price

I am looping on an assoc array result from a mySQL query to get the data, and loading it into these array ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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