1
bloodloss
Editing .php files, cache?
  • 2006/7/26 2:00

  • bloodloss

  • Just popping in

  • Posts: 5

  • Since: 2006/7/15


Hello,

I've been trying to do some modifications to the news module, however, whenever I try and change some variables in the .php, I never see the changes in the .htmls. In fact, I can just delete some of the .phps and XOOPS thinks everything is dandy.

Very new to anything php related, do the .php get compiled and stored somewhere? Where can I delete them?

Hmmm!

Thanks!
Frank



2
bloodloss
Re: Adding avatars to news items??
  • 2006/7/25 3:43

  • bloodloss

  • Just popping in

  • Posts: 5

  • Since: 2006/7/15


Hervet,

Where is that? I've searched but I can't find it. There is the user account page, that shows the avatar and also all the stories that a user has posted. Is that what you mean?

Thanks!

EDIT:**** Sorry, I have an out of date module.



3
bloodloss
Re: Adding avatars to news items??
  • 2006/7/25 3:24

  • bloodloss

  • Just popping in

  • Posts: 5

  • Since: 2006/7/15


Thanks for the help guys. If you could pull up how you did that, I would really appreciate it.

Thanks!



4
bloodloss
Adding avatars to news items??
  • 2006/7/17 23:35

  • bloodloss

  • Just popping in

  • Posts: 5

  • Since: 2006/7/15


So I have this in my template code under news_item

<div class="itemInfo">
<span class="itemPoster"><{$lang_postedby}> <{$story.poster}></span> <span class="itemPostDate"><{$lang_on}> <{$story.posttime}></span> (<span class="itemStats"><{$story.hits}> <{$lang_reads}></span>)
</div>

Would I reference a user avatar with:

<img class="comUserImg" src="<{$xoops_upload_url}>/<{$story.poster.avatar}>" alt="" /><div class="comUserStat"> ?

I stole that code from the comment template code.

When I do that, it doesn't seem to work. Any hints?

Thanks!
Frank



5
bloodloss
Adding user avatars to a news item.
  • 2006/7/15 18:48

  • bloodloss

  • Just popping in

  • Posts: 5

  • Since: 2006/7/15


So I have this in my template code under news_item

<div class="itemInfo">
<span class="itemPoster"><{$lang_postedby}> <{$story.poster}></span> <span class="itemPostDate"><{$lang_on}> <{$story.posttime}></span> (<span class="itemStats"><{$story.hits}> <{$lang_reads}></span>)
</div>

Would I reference a user avatar with:

<img class="comUserImg" src="<{$xoops_upload_url}>/<{$story.poster.avatar}>" alt="" /><div class="comUserStat"> ?

I stole that code from the comment template code.

When I do that, it doesn't seem to work. Any hints?

Thanks!
Frank




TopTop



Login

Who's Online

215 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 215


more...

Donat-O-Meter

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

Latest GitHub Commits