Results 1 to 5 of 5

Thread: IF in html pages

  1. #1
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default IF in html pages

    one of the things I enjoyed about Links 2 was the "template parser."

    For example, I could have the following in one of my HTML pages

    <%if show_detail = 'Yes'%>
    some HTML stuff here
    <%endif%>

    where show_detail is a column in the idx_link table

    Can I do something similar in a INDEXU page and if so, how?
    Last edited by esm; 06-02-2003 at 11:17 AM.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    No. That is one reason I want to switch into smarty template engine. http://smarty.php.net
    A lot of faster and powerful. But I'll keep it still as simple as possible.

  3. #3
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    In looking at the smarty site, it appeared that I could use the IF statement in the html page. But I was not sure.

    Can you confirm?

    Do you have an estimated implementation date?
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    It should be big changes in indexu codes. It could be in next release. I have put a poll in 'general discussion' forum about indexu 4 and smarty template.

  5. #5
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    yes, I have voted in favor of the smarty templates...
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

Similar Threads

  1. Static HTML Pages from PS User
    By imno007 in forum v3.2
    Replies: 0
    Last Post: 06-01-2004, 10:04 AM
  2. generate HTML pages
    By persut in forum v5.x
    Replies: 12
    Last Post: 02-08-2004, 09:58 PM
  3. How do i Integrate static pages...??
    By ideavirus in forum v5.x
    Replies: 3
    Last Post: 07-22-2002, 10:18 AM
  4. Generating static pages ...
    By ideavirus in forum v3.2
    Replies: 0
    Last Post: 07-15-2002, 11:15 PM
  5. Replies: 2
    Last Post: 09-02-2001, 02:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •