1
ja1ck
Editing template has no effect
  • 2003/11/24 23:40

  • ja1ck

  • Just popping in

  • Posts: 2

  • Since: 2003/11/19


I wanted to add some of my own links to the Main Menu.
After rooting around I figured I had to edit the system_block_mainmenu.html file.
So I edited the file on the server adding the following link just after the main foreach block:
Management

Nothing happens.

Now, if I then view the template via the system admin/ templates route my new line is not there.
If I open the actual file on the server again my addition is still there...?
Could someone please tell me what am I doing wrong...?

2
ackbarr
Re: Editing template has no effect

two things you can do:

1. you should ALWAYS modify templates by going to System -> Templates. First thing I do on a new install of XOOPS is clone the default template set and set my clone as the current template set in "System"->"Preferences"->"General Settings".

2. If you do make changes to templates in /modules//templates/ you can see them in your site by "updating" your module in "System"->"Modules".

3
ja1ck
Re: Editing template has no effect
  • 2003/11/25 1:19

  • ja1ck

  • Just popping in

  • Posts: 2

  • Since: 2003/11/19


Excellent... I was missing the updating bit.
I also did the cloning thing. Presumably this is done just in case I mess up and need to get back to the default set.

Anyway, thanks for the help... much appreciated.

P.S.
I just looked back at sys admin >> templates and noticed you can actually edit the templates and submit the changes of the clone.
You can only view the defaults.
All is clear.

4
phatjew
Re: Editing template has no effect
  • 2003/11/25 19:57

  • phatjew

  • Just popping in

  • Posts: 56

  • Since: 2003/10/8


Also, if you are editing the template a lot and don't want the hassle of having to manually reload and recompile them, check out this thread:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=13890&forum=17

Login

Who's Online

279 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 279


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