Page 1 of 1

Article title don´t hide with custom templates

Posted: Sat 5. Jun 2004, 16:50
by isac
When I chosse to hide article title with display full article template nothing happens! :cry:

This is my code

Code: Select all

<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
   [TITLE]
  <TR> 
    <TD><H1>{TITLE}</H1></TD> 
  </TR>[/TITLE][SUB]
  <TR> 
    <TD><H3>{SUB}</H3></TD> 
  </TR>[/SUB]
  <TR> 
    <TD>{DATE:Y-m-d:EN}</TD> 
  </TR> 
  <TR> 
    <TD>[IMAGE]<SPAN style="float:left;margin:2px 5px 8px 0;">{IMAGE}[CAPTION]<BR> 
      {SPACER:1x3}<BR> 
      {CAPTION}[/CAPTION]</SPAN>[/IMAGE]{SUMMARY}</TD> 
  </TR> 
</TABLE>
but it works with old default

comps

Posted: Sat 5. Jun 2004, 17:06
by Pappnase
hello

maybe no bug cos you have in the article the titel and subtitle tag!?
i have test it at my installation there it works fine! if i call the sample.tmpl from you it will show the title / subtitle as you format it in the tmpl.

when i erease the lines the will no title tag shown!

did you alreade upload the patch from today!?

Posted: Sat 5. Jun 2004, 17:30
by isac
Yes Pappnase, i have the pacht

Now I am thinking about make two costum templates, the first with {title} and second one without it, because the check box hide article title dont work with sample templates.

Posted: Sat 5. Jun 2004, 17:32
by Pappnase
isac wrote:Yes Pappnase, i have the pacht

Now I am thinking about make two costum templates, the first with {title} and second one without it, because the check box hide article title dont work with sample templates.
hmm isac i think i will work! but when you use your own templates it make no sense if you set the click to the hide checkbox! cos you decide how it should look like!

Posted: Sat 5. Jun 2004, 17:47
by isac
Pappnase wrote:but when you use your own templates it make no sense if you set the click to the hide checkbox! cos you decide how it should look like!
I have to agree with you :roll:

Posted: Wed 28. Jul 2004, 15:05
by Peekay
Er... I missed something here. If you use 'default' template for article and 'default' template for summary - user can hide summary in main article by checking the box.

My question (and I think Eric's question) is... if you create a CUSTOM template for article, how do you add a conditional statement to hide the summary within the article IF the checkbox is checked, like the default article template does?

I found and modified 'sample' template o.k, but it doesn't include this statement.

Or put another way...

Where is the default article template? :)

Posted: Wed 28. Jul 2004, 15:06
by Peekay
It may have been Isac's question too... :oops:

Posted: Sat 2. Oct 2004, 17:39
by argos
Peekay wrote:Where is the default article template? :)
Yeah, I would like to know that too!!!