Loading...
 
Skip to main content

Features / Usability


Modifying tiki-editpage.tpl

posts: 9

Hi all,

I'm totally new to PHP and Tiki Wiki and need to make some page modifications.

I've identified the correct file and made modifications to the file above but somehow there's no effect. Right now I resort to making modifications to the *.tpl.php file under 'templates_c'. What steps did I miss out when making *.tpl mods? Thanks

-
Eugene

posts: 3665 United States

Make sure you clear your browser's cache and reload the page (if it says "CACHED") to ensure that you're seeing the current page.

I don't think you need to mess with the templates_c directory files at all.

-Rick

posts: 9

> Make sure you clear your browser's cache and reload the page (if it says "CACHED") to ensure that you're seeing the current page.
>
> I don't think you need to mess with the templates_c directory files at all.
>
> -Rick

Hi there.

I've emptied browser cache and reloaded the page but my change still does not take effect.I've deleted 'template_c\en' directory so it gets recompiled but still nothing. That's why I've got no choice but to mess around with a '*.tpl.php' within the 'template_c\en' directory so my changes can be seen by end user.

The task i'm trying to perform here is to change the existing Wiki editor to a HTML WYSIWYG editor. I've done it successfully modifying the 'template_c\en' file but I know that's not the right place to make changes.

posts: 3665 United States

>
> The task i'm trying to perform here is to change the existing Wiki editor
>to a HTML WYSIWYG editor. I've done it successfully modifying the
>'template_c\en' file but I know that's not the right place to make changes.

I'd LOVE to see how you got an WYSIWYG editor for the Wiki. I've been working on something similar (see this thread for details. Can you post what you've got so far?

TIA,

-Rick


posts: 157 United States
The templates_c directory stores only cached versions of your templates. You need to edit templates/tiki-editpage.tpl!
posts: 9

> The templates_c directory stores only cached versions of your templates. You need to edit templates/tiki-editpage.tpl!

Erm, if you read my original post I mentioned that I've made modifications to the tiki-editpage.tpl but my changes have no effect that's why I resorted to making modifications within 'templates_c'.