1
I'm sure there must be an easier way to do this so I am asking here.
On my
site I have some articles. I am using the XOOPS Article system. (I had tried the AMS one but it was too complicated.)
Anyway, I wanted to display just the title and description on my front page. Looking at the template, I saw that the articles_block_latest_main.php and *.htm files would be most suitable.
It was currently showing the article text, but that was wierd because it wouldn't parse the PHPbb code or the HTML, so I was getting funky text. I figured I'd prefer to just show the article description.
I looked at the .php file and found the section where it assigned variables. I added one for $description and a property $arts.description. I then updated the HTML and did a brief test of the display. All looked well. Then I uploaded to my host.
Nothing happened.
I tried a different browser. Nothing happened. I cleared my templates_c directory. Nothing happened. I then went into the templates Admin section and saw that there was no change. In fact, the file hadn't been updated since I uploaded the website.
I then pointed to
http://www.perfectreign.com/modules/articles/templates/blocks/articles_block_latest_main.html to be sure it was there. It was.
Finally out of frustration, I decided to browse through the database to see if by chance the template was listed there. I eventually found it in a table called _tplsource. It turns out to be there. So I edited the table directly and again cleared my templates_c directory.
finally I have what I want.
What should I have done? Isn't there an easier method to this?