1
dtauto
editing the news layout
  • 2004/7/12 1:50

  • dtauto

  • Just popping in

  • Posts: 56

  • Since: 2004/7/4 0


i made an attempt at editing the news_item.html to put my own custom layout to how the news appears on the home page. however, when i clear the templates_c folder and refresh my browser, nothing changes.

i edited the news_item.html from ../modules/news/templates/ which, as i understand it, is the right file to edit for this particular scenario.

you can view the site here

thanks in advance.

2
lucastds
Re: editing the news layout
  • 2004/7/12 2:01

  • lucastds

  • Just popping in

  • Posts: 32

  • Since: 2004/2/20


It's because the templates are loaded from the database, not from the files.

You can update the news module, so the templates on database will be rebuild from the template files (Admin Panel > System > Modules, and click on 'Update' picture of module news).

But the better way to do this is to make a copy of the default template set and edit the set you just created (Admin Panel > System > Templates, and click on 'Clone' link of the default template).

3
dtauto
Re: editing the news layout
  • 2004/7/12 17:24

  • dtauto

  • Just popping in

  • Posts: 56

  • Since: 2004/7/4 0


thanks a lot! that totally helped!

Login

Who's Online

358 user(s) are online (242 user(s) are browsing Support Forums)


Members: 0


Guests: 358


more...

Donat-O-Meter

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

Latest GitHub Commits