Hello,
I'm using phpwcms in french version and using teaser_ex with the default template. The resultat is fine and I like, excepted the link more... I'd like to translate in french.
Looking at the php code of teaser_ex, I don't see where I can change the value.
Where may I translate the value of the [MORE] variable ? or What may I modify in the teaser_ex php code ?
(I don't want to build a new template because I like the default one).
Thanks for replies.
hdvx
Teaser_Ex translate [more...] link in default template
Hi,
Look in the tmpl file you use in:
.../phpwcms_template/inc_cntpart/articlesummary/list/
Try to translate there.
HTH
-tsl-
Look in the tmpl file you use in:
.../phpwcms_template/inc_cntpart/articlesummary/list/
Code: Select all
[MORE]<a href="{ARTICLELINK}">More</a>[/MORE]
HTH
-tsl-
The only file there, is "sample.tmpl". It doesn't seem to be the default template used by Teaser_Ex because the result of Teaser_Ex uses <ul> <li> tags instead of <table> tags. I use Teaser_Ex in single column mode.tsl wrote:
Look in the tmpl file you use in:
.../phpwcms_template/inc_cntpart/articlesummary/list/
Code: Select all
[MORE]<a href="{ARTICLELINK}">More</a>[/MORE]
Moreover the code in "sample.tmpl" is :
Code: Select all
[MORE]<a href="{ARTICLELINK}">{MORE}</a>[/MORE]
Where is the source value of this replacement tag (in teaser_ex code or somewhere else) ?
I'd prefer to translate from there in order to be dynamic.
Hi,
Check in
search for
Here is the default template used by teaser_ex ![Wink ;)](./images/smilies/icon_wink.gif)
PS : you can create your own template -> teaser.tmpl
place it in the different template directory
++
Check in
Code: Select all
config/phpwcms/conf.template_default.inc.php
Code: Select all
$template_default['top_readmore_link']
![Wink ;)](./images/smilies/icon_wink.gif)
PS : you can create your own template -> teaser.tmpl
place it in the different template directory
Code: Select all
template/inc_default
template/inc_cntpart/articlesummary/article
template/inc_cntpart/articlesummary/list
Thank you very much. I translated the value and it's working perfectlyjpwalker wrote: Check in
search forCode: Select all
config/phpwcms/conf.template_default.inc.php
Here is the default template used by teaser_exCode: Select all
$template_default['top_readmore_link']
![]()
![Very Happy :D](./images/smilies/icon_biggrin.gif)
++
hdvx