1
webjackie
Editing tTemplates of many modules, not working - help please
  • 2006/7/31 15:55

  • webjackie

  • Just popping in

  • Posts: 10

  • Since: 2006/6/2 1


Hi there,

I was trying to edit the templates of few modules. But, none of them is giving me any results. (I tried to delete the content of templates_c folder, except index.html)

Module: mydownloads

I tried to edit mydownloads_index.html (the file under template folder of this module). I've tried to remove the download logo (and try to insert a download disclaimer text info, instead of the logo).

But, The changes are not reflecting in my website.


Module: newbb

i've tried to edit and insert google adsense in

newbb_index.html &
newbb_viewtopic_thread.html

But, the changes are not shown

I've tried few other modules, and i feel, i'm trying a wrong approach. Some one please help me..,

Thanks.

2
Swain
Re: Editing tTemplates of many modules, not working - help please
  • 2006/7/31 16:04

  • Swain

  • Not too shy to talk

  • Posts: 198

  • Since: 2006/6/27


How are you trying to edit them???? I have found the only relaible method is to use GI Joe's Template Admin. It can be found at:http://www.peak.ne.jp/xoops/md/mydownloads/singlefile.php?lid=66&cid=1

3
webjackie
Re: Editing Templates of many modules, not working - help please
  • 2006/7/31 16:09

  • webjackie

  • Just popping in

  • Posts: 10

  • Since: 2006/6/2 1


i tried to edit those files with frontpage 2003. Does this editor give issues?

4
Swain
Re: Editing Templates of many modules, not working - help please
  • 2006/7/31 16:11

  • Swain

  • Not too shy to talk

  • Posts: 198

  • Since: 2006/6/27


I don't know if it does or not, but I know it has given me problems on other projects.

5
stefan88
Re: Editing tTemplates of many modules, not working - help please
  • 2006/7/31 16:29

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

If you edit files under module/templates, you need to update the coresponding module in XOOPS admin -> system -> modules.

Alternatively it may be usefull for you to know about this option in admin -> system admin -> preferences -> general settings - "Update module template .html files from themes/your theme/templates directory?" and check it, but for some users it was not reliable.


When you want changes in templates the logic is:
1. to clone the template set in admin -> system admin -> templates. Use clone and give some name for the new one.
2. select the new template to be used by xoops, instead of default one in admin -> system admin -> preferences -> general settings.
3. edit templates in admin -> system admin -> templates ...(you will have "edit" option for the cloned set)

This way if you mess something, you will have the original set of templates.

Also the recomended Templates Admin by GIJoe is very good and usefull.

As for the FrontPage I have two words: FORGET IT! The template is not a full HTML page, it has smarty codes and so on, so you will have only problems.

..

6
webjackie
Re: Editing tTemplates of many modules, not working - help please
  • 2006/7/31 17:16

  • webjackie

  • Just popping in

  • Posts: 10

  • Since: 2006/6/2 1


Thankyou Swain & Stefen. Your inputs are really useful. I'm trying that now.

Inbetween, one of my friend said, Ultra Edit (http://www.idmcomp.com/) is the best text editor for editing php files, text files, templates etc. Have anyone used this before?. Any comments.

Login

Who's Online

69 user(s) are online (54 user(s) are browsing Support Forums)


Members: 0


Guests: 69


more...

Donat-O-Meter

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

Latest GitHub Commits