1
Oesie
How to change the value for a variable?
  • 2004/10/21 7:37

  • Oesie

  • Just popping in

  • Posts: 41

  • Since: 2004/6/1 1


Now I got to know XOOPS more and more I've my own theme (almost) running. But it still needs some modifications.

Editing the templates is the thing I do now. Playing with the fields and how to view them to the outside world I found a little problem.

Let's take for example the 'news' module. In the default template we have the following options beneath a news article:
<{$story.adminlink}> <{$story.morelink}>

These variables will display the following by default:
<"Edit" - "Delete"> <"Read more..." - "xxx bytes more" - "Comments">

My questions now is how I should change the value of these variables because I couldn't find it in any of the template files. An example I want to get is this:
<"Edit"> <"Read more..." - "Comments">

Do I need to change this variable in the core of the newsmodule itself?

2
Oesie
Re: How to change the value for a variable?
  • 2004/10/24 10:43

  • Oesie

  • Just popping in

  • Posts: 41

  • Since: 2004/6/1 1


*kick*

3
Mithrandir
Re: How to change the value for a variable?

Depending on your News version these links are defined in article.php, index.php or class/class.newsstory.php

Login

Who's Online

229 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

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

Latest GitHub Commits