1
chelfyn
code changes in modules not having any effect...
  • 2004/2/10 4:56

  • chelfyn

  • Just popping in

  • Posts: 1

  • Since: 2003/10/31


I've made some small code changes in a module and they're not showing up in the site, even though I've updated the module from with the admin/modules page...

what am i doing wrong here?

2
hsalazar
Re: code changes in modules not having any effect...
  • 2004/2/10 5:55

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


chelfyn:

It depends on what those changes are. If those changes create new variables, you need to assign those variables to Smarty variables and then call those Smarty variables in your template, that is, in your theme.html file or in the specific module's templates.

Another reason for not seeing those changes might be that you still have the old data in cache. You need to clear the cache in your browser, as well as delete the cached templates in the folder templates_c. This way the templates will be rebuilt.

Cheers.

3
CBlue
Re: code changes in modules not having any effect...

Another thing you can try is going to system admin>preferences>general settings and using the update templates option. Just choose the update and then go back in after it updates and put the option back to no.

Login

Who's Online

449 user(s) are online (340 user(s) are browsing Support Forums)


Members: 0


Guests: 449


more...

Donat-O-Meter

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

Latest GitHub Commits