1
hal9000
smarty $code and removing the news item title
  • 2005/10/12 13:18

  • hal9000

  • Just popping in

  • Posts: 60

  • Since: 2003/8/6 9


ok tried to squeeze it all in the title so now i will explain.
2 things
is there a list of XOOPS smarty block code?
by that i mean the $ values used in theme layout - if this is the correct term? i have found some on the smarty faq page but it doesn't seem XOOPS like.

and

i want to remove the subject from a news item so it just gives the actual news item headline.

eg
Xoops: Yet another XOOPS theme
becomes
Yet another XOOPS theme

i think it relates to <{$story.title}> in the news_item.html but what would i change it to as removing that surely would remove the who title and i just want to get rid of the subject?

thanks in advance

hal9000

2
red_Slider
Re: smarty $code and removing the news item title

the same problem :(

and here it is:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=39774&forum=28&post_id=174229#forumpost174229

editet 4 last time:

solution:
replace (in template news_item.html) string: story.title
into
story.news_title

Quote:




















<{$story.news_title}>
<{if $story.files_attached}><{$story.attached_link}> <{/if}><{if $story.poster != ''}><{$lang_postedby}> <{$story.poster}><{/if}> <{$lang_on}> <{$story.posttime}><{$news_by_the_same_author_link}>
<{$story.imglink}>

<{$story.text}>

<{$story.adminlink}><{if $rates}><{$lang_ratingc}> <{$story.rating}> (<{$story.votes}>) - <{$lang_ratethisnews}> - <{/if}><{$story.morelink}>


Login

Who's Online

1064 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 1064


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits