| 00:56 |
HardPhuck |
can i put span in <p> tag? |
| 00:57 |
HardPhuck |
is it valid? |
| 00:59 |
lolli__ |
valid, yes |
| 01:40 |
kreegee |
somebody here? i have a very strange problem with tt_news |
| 01:40 |
kreegee |
when i use "ritalin" in the teaser, i get a forbidden-message |
| 01:43 |
maGe |
use xanax |
| 02:41 |
kreegee |
hehe |
| 02:41 |
kreegee |
anyway |
| 02:41 |
kreegee |
mod_security was at fault |
| 06:51 |
bin |
is it possible to give different templates for different page.. my requirement is that in my home page i have some news , when i click on the "MORE" button of the news i have to redirect in another page , this page is another templates its color and design is different fro home |
| 06:51 |
bin |
page |
| 06:52 |
bin |
is that possible in typo3 |
| 06:52 |
bin |
iam using templa voila for templates and mini_news for news |
| 07:14 |
d|g |
hi all |
| 07:24 |
Ruudi |
good morning |
| 08:33 |
phil404 |
hello |
| 08:33 |
floxx |
hi there |
| 08:34 |
phil404 |
does anyone here know of a way to manipulate the enableFields for pages in HMENU? |
| 08:34 |
phil404 |
like a nice hook somewhere |
| 08:37 |
gerards |
phil404: I think you can manipulate enableFields globally via the TCA. |
| 08:38 |
phil404 |
yep, i have extended them with additional fields but to check them somehow |
| 08:39 |
phil404 |
i have extended the fe_users table with additional access flags |
| 08:39 |
phil404 |
which should allow access to specific pages for specific users |
| 08:44 |
phil404 |
just adding the additional enableFields in TCA won't extend the SQL Query properly afaik |
| 08:45 |
phil404 |
there is a hook in tslib_pages to manipulate WHERE Conditions for the enableFields |
| 08:46 |
phil404 |
but that one only affects the current page and the content |
| 08:53 |
ndee |
is there a way to set a constant for a whole tree which is available in all frontend plugins? |
| 08:53 |
bin_ |
hi every one i have one query , is it possible to use different templates for different pages on a site in typo3 |
| 08:53 |
bin_ |
? |
| 08:56 |
phil404 |
bin_ are you using templavoila or the old templating? |
| 08:56 |
bin_ |
templavoila |
| 08:59 |
phil404 |
you should be able to choose your TV Data Structues and Templates Object in the Page properties |
| 09:03 |
bin_ |
can you explain to me.. |
| 09:03 |
bin_ |
iam new in ypo3 that's why please |
| 09:03 |
phil404 |
have you created the alternating template already? |
| 09:03 |
bin_ |
yes i have the html file |
| 09:05 |
phil404 |
then you should create your TV Datastructure and Template Object using your html file first |
| 09:05 |
bin_ |
is that using TV right ? |
| 09:05 |
phil404 |
yep |
| 09:05 |
bin_ |
ok |
| 09:06 |
phil404 |
excatly how you can do that is covered in the Futuristic Template Tutorial on typo3.org |
| 09:06 |
bin_ |
ok |
| 09:07 |
phil404 |
when you are done you can go to the page that should use this template and edit the page properties |
| 09:07 |
bin_ |
for that have to go to templavoila menu in the left part , then a iframe came as templavoila control center |
| 09:07 |
bin_ |
there i have a button called strat wizard now |
| 09:08 |
phil404 |
yep |
| 09:09 |
phil404 |
in the page properties you should see then dropdowns to choose Datastructure and Template Object somwhere |
| 09:10 |
phil404 |
there you should be able to choose teh template you just created |
| 09:10 |
bin_ |
ok |
| 09:10 |
bin_ |
thats all ? |
| 09:10 |
ndee |
can I somehow access the "Constants" from the template in my own extension? |
| 09:10 |
phil404 |
that should be all, yes |
| 09:11 |
phil404 |
ndee: Typoscript Constants? |
| 09:11 |
bin_ |
thanks phil thanks you very much |
| 09:11 |
phil404 |
np :) |
| 09:11 |
bin_ |
let me try this one |
| 09:12 |
ndee |
phil404: yes. |
| 09:14 |
phil404 |
you need to fetch them in the TS setup |
| 09:15 |
phil404 |
something like this: plugin.tx_myext_p1.myConstant = {$myconstant} |
| 09:16 |
ndee |
phil404: can't I set something that works for different plugins? |
| 09:16 |
ndee |
I want that the constant is available in several different plugins. |
| 09:16 |
phil404 |
uhm |
| 09:16 |
phil404 |
i did something similar lately |
| 09:17 |
phil404 |
but i uses only values from TS Setup |
| 09:17 |
ndee |
ok, to me, it doesn't matter if it's from the setup or constants :D |
| 09:17 |
phil404 |
i defined overall settings in config.mysettings { ... } in the Setup |
| 09:18 |
phil404 |
which i could access in any plugin via $GLOBALS['TSFE']->config |
| 09:18 |
ndee |
ah, globals['tsfe'], that should work. Thanks :) |
| 09:18 |
phil404 |
np |
| 09:19 |
ndee |
awesome. Thanks alot! |
| 09:19 |
ndee |
works like a charm. |
| 09:20 |
phil404 |
super :) |
| 09:20 |
koomi |
mornings |
| 09:21 |
phil404 |
morning |
| 09:21 |
koomi |
i've got empty tabs in backend forms (extensions mostly). still wondering when that happened (downgraded from 4.1.6 to 4.1.5) but not sure if that is related |
| 09:28 |
Timoslav |
hi |
| 09:30 |
koomi |
morning timoslav |
| 09:46 |
koomi |
any ideas how to fix the empty label? this is bad for usability http://dev-bugs.elios.de/file_download.php?file_id=3826&type=bug |
| 09:48 |
phil404 |
sorry, no idea |
| 09:50 |
phil404 |
have you tried to deleted the llxml cache files in typo3temp? |
| 09:51 |
phil404 |
or maybe Update the translation files from repository via Ext Manager |
| 09:56 |
koomi |
it's the same for an english backend |
| 09:58 |
ndee |
how much sense does it make to create a own frontend plugin for tt_news which outputs news? The problem is, each of those 32 dealerships has it's own news and also brand news. So that means if you insert the tt_news plugin, you would have to select each category which is kinda difficult because you would have to know for example each brand that a dealership has. |
| 09:58 |
phil404 |
what you mean koomi? |
| 09:59 |
ndee |
and the relationship between the dealership and brand is already done in a different table. So I'm thinking about making an own frontend plugin for those dealerships. |
| 09:59 |
vanelst |
I get this "The page is not configured! [type= 0][]" after installing the standard template. I have not changed a thing yet so I am not sure where the brackets are that ought to be closed. because that is what should be the solution according to the newsletters/forum. Could someone give me a hint? thanks! |
| 10:00 |
phil404 |
ndee: can't this be solved by a combination of categories? |
| 10:02 |
ndee |
phil404: it could. But imagine there are 32 different dealerships. We have a tons of categories, for example: brand news, new car promotions, etc. Now, the most convienient thing would be to insert the tt_news plugin and say: display brand news and new car promotions.So that tt_news would know automagically which categories it should select. |
| 10:03 |
mcfloppy |
hello |
| 10:03 |
ndee |
but at the moment. We have a category for every dealership and every brand. So the data is kinda redundant. |
| 10:04 |
phil404 |
i believe you could solve that by assiging 2 categores to an article, eg. sport and adidas |
| 10:04 |
phil404 |
or you could extend the cat table with a relation to your brands |
| 10:04 |
ndee |
phil404: yes, we could do that. but my point is that we would have to keep track of the brands and dealerships in the tt_news-categories and also the other table. |
| 10:04 |
phil404 |
and the hook into the news plugin for your selction |
| 10:05 |
ndee |
oh, that sound like a good idea. |
| 10:05 |
mcfloppy |
http://www.raphaelspecht.de/index.php?id=76 yesterday i redesign my homepage. there is one problem: why is around the text on the top banner a white border? |
| 10:05 |
ndee |
well, but we would still have to track the data twice. |
| 10:05 |
Timoslav |
help plz, i try to edit my template with photoshop but when it opens the file i cannot edit anything..there's just a hand mouse-icon |
| 10:06 |
mcfloppy |
this is the code: |
| 10:06 |
mcfloppy |
http://paste.debian.net/50995 |
| 10:06 |
Timoslav |
lol now it works |
| 10:06 |
Timoslav |
thx anyways :) |
| 10:07 |
ndee |
phil404: at the moment, the architecture is following: a table with dealerships and a table with brands. Those two are linked together. It would be somehow nice if the dealerships and brands were news categories. |
| 10:08 |
phil404 |
hmm |
| 10:09 |
phil404 |
a 1:n relation i recon |
| 10:10 |
ndee |
it can just got messy if you don't keep track of those news categories, that's my only concern. |
| 10:10 |
phil404 |
ndee: maybe exend the tt_news table with a relation to brands |
| 10:11 |
ndee |
wouldn't I then also have to alter the tt_news code itself or could I somehow extend it? |
| 10:11 |
phil404 |
i believe the news extension is pretty well hooked up |
| 10:11 |
ndee |
with hooks and everything you mean? |
| 10:11 |
phil404 |
yep |
| 10:13 |
mcfloppy |
cant you help me? |
| 10:13 |
ndee |
ok, I might have to look into that. |
| 10:13 |
phil404 |
i think the lesser problem is to filter the specific news in your plugin output |
| 10:13 |
ndee |
hm, I think that's the tricky part. |
| 10:14 |
ndee |
I mean not the filter in general but getting tt_news to show news for a special dealership which is not a news category. |
| 10:16 |
phil404 |
i'd try first to solve it with a category structure topic based and brand based |
| 10:17 |
ndee |
yeah, I think that's what we gonna do inthe end because extending tt_news itself would take some time I guess. |
| 10:17 |
phil404 |
if the brands dont change often its not much extra work |
| 10:18 |
phil404 |
if a new brand comes you would have to add a brand category for news and add the brand category in the news plugins of the dealers which it should show up |
| 10:21 |
ndee |
yeah, that's what we figured out too so I guess it is not too unpracticale. |
| 10:21 |
ndee |
they might change once in a year the most. |
| 10:23 |
phil404 |
mcfloppy: i think you have white background color by default for antialiasing when setting the img background transparent |
| 10:23 |
phil404 |
even if rendering png |
| 11:00 |
xsebi |
always get a header output and mysql ressource error when trying to install the DAM media |
| 11:00 |
xsebi |
mmm |
| 11:11 |
xsebi |
have it |
| 11:11 |
xsebi |
would be some idea to tell about the needed depend ext in the manual |
| 11:19 |
xsebi |
and multify db field size has to be 1 when installing |
| 11:22 |
ndee |
what's a good search to use? |
| 11:25 |
phil404 |
indexed search if you have cachable content |
| 11:41 |
Mangan |
Hello, any mailformplus expert here? 1. I'd like to save to an external DB - is that possible? 2. I'd like to write multilanguage emails to feuser - is that possible? |
| 11:43 |
ndee |
ries: do you have any hints on how to configure the ltg_googlesearch plugin? :D |
| 11:54 |
Eric__ |
Hello, anyone using the extension Perfect lightbox 2? |
| 11:56 |
Eric__ |
I've installed the extension, made the adjustments to one of my image elements, includeded the static template in my site template. Still it dosn't work. I get the regular typo3 "click to open / click to close" popup |
| 13:58 |
ndee |
does anyone have the latest indexed_search installed? When I select to add a plugin, I can't select a starting point. |
| 14:05 |
abhijitk |
hi |
| 14:07 |
abhijitk |
hi can any body help me out |
| 14:08 |
abhijitk |
hi |
| 14:08 |
abhijitk |
fg |
| 14:08 |
abhijitk |
dg |
| 14:08 |
abhijitk |
gd |
| 14:10 |
niquito |
If a lib.menu = IMAGE its just the path to the image file or is it already wrapped with <img> tag? |
| 14:25 |
ndee |
anyone has ltg_googlesearch running? |
| 14:27 |
Phlogi_ |
is there a list of typo3 sites? I'm looking for well-known business sites |
| 14:34 |
Phlogi_ |
ah found something on t3 |
| 14:45 |
void |
niquito: <img> |
| 14:45 |
Rapp |
is there anything special to take care of when upgrading from typo3 4.0.x to 4.1.6? |
| 14:45 |
Rapp |
i found nothing in the releasenotes in the tar-ball |
| 14:49 |
test |
b |
| 14:49 |
test |
v |
| 14:49 |
test |
c |
| 14:49 |
test |
k |
| 14:49 |
test |
c |
| 14:49 |
test |
x |
| 14:49 |
test |
y |
| 14:49 |
test |
s |
| 14:49 |
SWEMark |
... |
| 14:49 |
chefan |
your keyboard works |
| 14:49 |
SWEMark |
;) |
| 14:50 |
chefan |
well, can't say if it works right, i didn't see logs of the input... |
| 14:51 |
SWEMark |
im looking for a sort of filemanager that reads from a folder and has the ability to sort the output |
| 14:51 |
SWEMark |
Any ideas? |
| 14:52 |
void |
SWEMark: for backend or frontend? |
| 14:52 |
SWEMark |
frontend |
| 14:52 |
void |
SWEMark: try fefilemanager |
| 14:53 |
SWEMark |
is that fe_filemanager? |
| 14:54 |
void |
SWEMark: yes |
| 15:00 |
niquito |
void : thx! |
| 15:00 |
void |
np |
| 15:09 |
federico__ |
MARK.field = alias // uid |
| 15:09 |
federico__ |
MARK.wrap = index.php?id=| |
| 15:09 |
federico__ |
is there a better way to do a link in TS ? |
| 15:17 |
Vanesa |
hi everyone |
| 15:18 |
phil404 |
hi |
| 15:21 |
phil404 |
federico__: theres a typolink function |
| 15:22 |
Phlogi__ |
Number-5: |
| 15:22 |
Phlogi__ |
Number-5: h! |
| 15:22 |
Phlogi__ |
is this bot dead? |
| 15:32 |
Phlogi__ |
federico__: of course... have a look at typolink |
| 15:33 |
federico__ |
ok thanks! |
| 15:47 |
ghina |
Hi, I am trying to enable multi-language support and I am following the documentation (http://typo3.org/documentation/document-library/core-documentation/doc_l10nguide/1.0.0/view/1/1/) but I still get both languages content in the FE pages |
| 15:50 |
ghina |
Can someone help me with the multi language settings in typo3? |
| 15:53 |
elyoukey |
hello, i am looking for help on first install of typo3 |
| 16:07 |
SWEMark |
elyoukey: http://typo3.org/documentation/document-library/tutorials/doc_tut_quickstart/0.1.0/view/1/2/ |
| 16:07 |
elyoukey |
SWEMark, ok i folowed this tutorial |
| 16:07 |
elyoukey |
but it looks like the admin user is not created |
| 16:08 |
SWEMark |
then create it |
| 16:08 |
SWEMark |
using the install-tool |
| 16:08 |
elyoukey |
it doesn't work properly, it says that the user is created, but when i look in the database it is not |
| 16:08 |
SWEMark |
no errors? |
| 16:09 |
elyoukey |
no :/ |
| 16:09 |
SWEMark |
hmm fishy |
| 16:09 |
elyoukey |
i use the 4.1.6 |
| 16:30 |
nd____ |
typo3 takes the content of <title>... from the title of a page I add in the BE. How do I add a global title content to it? |
| 16:34 |
nutcase |
hi@all |
| 16:35 |
nutcase |
i have a question regarding sr_feuser_register. I could not figure out a way how i can setup different email addresses for adminReview depending on specific input in registration form. |
| 16:36 |
nutcase |
example: gender:male => (obscured mail address), gender: female => (obscured mail address) |
| 16:37 |
nutcase |
couldn't find a way neither with TS nor with use of hooks |
| 16:37 |
nutcase |
has anyone a hint for me, how i can solve this ? |
| 16:50 |
xsebi |
femail ; ) |
| 16:58 |
nutcase |
:) |
| 17:14 |
chefan |
does typo3 rewrite the $_session variables? |
| 17:22 |
Best |
hi, got a problem with typo3 imagemagick config, if i enter /usr/local/bin/convert logo: logo.jpg in ssh there's no error. but IM test in typo3 install says: there's no decode delegate (.jpg) |
| 17:22 |
Vanesa |
Hi I have question |
| 17:22 |
Vanesa |
http://typo3.org/documentation/document-library/extension-manuals/t3mootools/1.2.0/view/1/2/ |
| 17:23 |
Vanesa |
here it says I have to install the extension |
| 17:23 |
Vanesa |
Is there a way to install the extension without having access to the shell? |
| 17:30 |
chefan |
there is |
| 17:31 |
chefan |
you need admin rights in the backend, that is all |
| 17:32 |
chefan |
you find teh options in a dropdown menu in the extension manager. there you can either install extensions from the repository, or upload them from your workstation |
| 17:33 |
chefan |
l8er |
| 17:37 |
Vanesa2 |
hm |
| 17:42 |
ghina |
Greetings, I need some help with the lmulti language-one tree. Both the english and translated text appears on the same page. How to fix that? |
| 17:46 |
maholtz |
@ghina: do you use styles.content.get ? |
| 17:47 |
ghina |
No where shall I use this? I did not read it in any document |
| 17:47 |
maholtz |
well - how do you get your content into the pages - what is your typoscript? |
| 17:48 |
ghina |
@maholtz: I created the language, I added a record for the translated page. Then I start to see both the english and german after each other in the page |
| 17:48 |
Vanesa2 |
Hi |
| 17:48 |
Vanesa2 |
Has anyone worked with the Extension: t3mootools |
| 17:48 |
Vanesa2 |
? |
| 17:49 |
ghina |
@maholtz: I added #setup the default language in case of bad L variable |
| 17:49 |
ghina |
config.sys_language_uid = 0 |
| 17:49 |
ghina |
config.language = en |
| 17:49 |
ghina |
config.linkVars = L |
| 17:50 |
maholtz |
there should be some typoscript with page.xyz = CONTENT |
| 17:50 |
maholtz |
or do you use templavoila? |
| 17:51 |
Timoslav |
does anyone know why the typo3board.com is so dead? |
| 17:52 |
ghina |
Ok I have the typo script: |
| 17:52 |
ghina |
MIDDLE-MARKER = CONTENT |
| 17:52 |
ghina |
MIDDLE-MARKER { |
| 17:52 |
ghina |
table = tt_content |
| 17:52 |
ghina |
select.orderBy = sorting |
| 17:52 |
ghina |
select.where = colPos = 0 |
| 17:52 |
ghina |
} |
| 17:52 |
maholtz |
ok, that is not language specific! |
| 17:52 |
ghina |
So how to add the lang specific please ? Sorry for this nob question |
| 17:52 |
maholtz |
use MIDDLE-MARKER < styles.content.get instead (if you use css_styled_content) |
| 17:53 |
ghina |
ok I will use this. Anything else I should add? |
| 17:53 |
maholtz |
fyi: styles.content.getLeft, styles.content.getRight and styles.content.getBorder are defined too |
| 17:53 |
maholtz |
? we will see:) |
| 17:54 |
maholtz |
i do not know |
| 17:54 |
maholtz |
think not |
| 17:54 |
ghina |
Thanks :) |
| 17:55 |
maholtz |
np |
| 18:05 |
Vanesa2 |
*snif* why dont my questions ever get answered :°( |
| 18:06 |
nutcase |
i have the same problem like you, and i am even not female (aka femail) :) |
| 18:09 |
koomi |
Vanesa: perhaps noone used it yet. stick around and wait a bit or ask later again |
| 18:24 |
Vanesa2 |
ok |
| 18:55 |
sgraffin |
hello all |
| 18:56 |
sgraffin |
i created some static tables into db, but seems typo3 dont "see" them, there is a way to follow in way typo3 will use my table, because i cannot create database relation on some fields using my own stati tables |
| 19:25 |
sgraffin |
Hello any one can help me ? |
| 19:30 |
koomi |
sgraffin: stick around, perhaps someone can. try to make your question a bit more clear: what data, what tables, access from php or ts? |
| 19:32 |
koomi |
lol. there was a really nice writeup about irc and the culture of asking questions. google'd and only came up with this _short_ manual http://www.linuxforums.org/forum/linux-newbie/6322-asking-good-questions-2-a.html |
| 19:33 |
sgraffin |
i nbeed to integrate a static table inside my extension |
| 19:33 |
sgraffin |
*need |
| 19:34 |
sgraffin |
i made a table that includes a list of towns and country zones |
| 19:35 |
sgraffin |
i made, before a table in kickstarter from where i need to use this static table to choose a field from |
| 19:35 |
sgraffin |
hmmm... |
| 19:35 |
sgraffin |
i'll try to explain better |
| 19:36 |
sgraffin |
i made a table in kickstarter |
| 19:36 |
sgraffin |
one field of tis table needs to be related to a static list |
| 19:36 |
koomi |
sorry. i'm not much help. did you check the wiki carefully? |
| 19:36 |
sgraffin |
so i created this table to made it |
| 19:37 |
sgraffin |
hmmm... no |
| 19:37 |
sgraffin |
where can i find it? |
| 19:37 |
koomi |
wiki.typo3.org |
| 19:37 |
sgraffin |
ok, sorry |
| 19:37 |
sgraffin |
i'll try it now |
| 19:37 |
sgraffin |
thx |
| 19:37 |
koomi |
good luck hunting |
| 19:37 |
sgraffin |
thx a lot |
| 20:52 |
Phlogi__ |
ries: what about the bot here? |
| 20:53 |
ries |
Phlogi__: it's currently just logging |
| 21:01 |
Phlogi__ |
ries: why is it broken? |
| 21:03 |
titii |
Hello .. |
| 21:06 |
ries |
Phlogi__: There where problems with TYPO3's documentation repro that kept on changing and not working... so we turned into a logbot only |
| 21:06 |
ries |
hey titii |
| 21:07 |
titii |
I have my ext. with 2. what to display. In 1st is a display count of entries of the 2nd. In the 2nd I can post the form to add new entry. If I post this one, after reload of a page, there is old count in the 1st what to display. I just switch the markers in the TS, with the form is a first, but it still doesnt work... there is still the old count. Some help? |
| 21:07 |
titii |
helo ries..how its going? |
| 21:07 |
ries |
titii: buzy with a weird flex problem... appart form that good |
| 21:08 |
titii |
Ries I hope you get the solution, with the FF i have a basic experiences... can you help with my soultion? |
| 21:09 |
ries |
cleared teh cache? |
| 21:09 |
titii |
ries hmm :) I go to try |
| 21:10 |
titii |
ries Yea it doesnt work |
| 21:12 |
ries |
titii: where did you change your TS?? in setup.txt or in the BE of typo3? |
| 21:13 |
titii |
reis, hmm but the strange is, If I test to echo the code in the main func of a class, there is still the list, the last is a post... |
| 21:13 |
titii |
ries BE |
| 21:14 |
titii |
BOTTOM_BORDER_CONTENT < styles.content.getBorder [enter] GAME_DETAILS < styles.content.get |
| 21:16 |
titii |
hmm strange |
| 21:18 |
ries |
sounds like TS is not accepted somehwere... or caching |
| 21:20 |
titii |
ries yea it looks he accepts the marks in the html template, not in the TS |
| 21:21 |
titii |
so what to do< |
| 21:25 |
ries |
No clue... |
| 21:25 |
ries |
well... hack around a bit is what I woulddo |
| 21:26 |
titii |
ries I can make a post after first call of a class, but How to protect the double post? With the session? I dont want to making a hard protecting stuff |
| 21:27 |
ries |
you can prottexting that with a session yes.. |
| 21:27 |
ries |
giv ethe form a unique ID (uuid for example) |
| 21:27 |
ries |
and when you get a post, store the UUID in a ssession |
| 21:28 |
ries |
and you can check the session if you have that variable in the session... if so then reject the post |
| 21:28 |
nutcase |
i have a question regarding sr_feuser_register. I could not figure out a way how i can setup different email addresses for adminReview depending on specific input in registration form. |
| 21:28 |
nutcase |
example: gender:male => (obscured mail address), gender: female => (obscured mail address) |
| 21:28 |
nutcase |
couldn't find a way neither with TS nor with use of hooks |
| 21:28 |
nutcase |
has anyone a hint for me, how i can solve this ? |
| 21:30 |
titii |
ries is better using the real php session, or the TYPO3 session? |
| 21:31 |
ries |
typo3 session... |
| 21:31 |
titii |
ries as $GLOBALS["TSFE"]->fe_user->getKey... and so on< |
| 21:32 |
ries |
yup |
| 22:07 |
ndee_ |
I have a tt_news problem: The marker ###NEWS_IMAGE### generates the image with caption etc. Is there a way to position that picture that somehow gets generated thru tt_news? |
| 22:09 |
ndee_ |
actually, just a <a> gets created and it looks like this: <a href="index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2Falfa-crosswagon.jpg&... |
| 23:44 |
ghina |
Greetings, what is the best way to change the template per language? |
| 23:47 |
void |
ghina: there are a lot of ways... it depends. |
| 23:48 |
ghina |
give me one way |
| 23:54 |
ghina |
Is it possible to add two strings in TS? I want to make the name of the html file in the static template variable. For example, template.html for english, and template1.html for german |
| 23:55 |
void |
ghina: first, you can map needed element as a TS object |
| 23:55 |
void |
and then use a condition |
| 23:56 |
ghina |
how to map the element as TS object? |
| 23:56 |
void |
do you use TV? |
| 23:56 |
void |
templavoila |
| 23:56 |
ghina |
no I do not use it |
| 23:57 |
void |
ok. |
| 23:57 |
void |
do you use autoparser? |
| 23:57 |
ghina |
I do not know these terms sorry |
| 23:57 |
void |
i mean extension automaketemplate |
| 23:57 |
void |
or you just build whole site on the pure TEMPLATE? |
| 23:58 |
ghina |
The one I am using is a regular html page with markers inside and then I use MARKER = content |
| 23:58 |
void |
ok. so, you can: |
| 23:58 |
void |
1) replace content that need to be localized with marker or subpart |
| 23:59 |
ghina |
ok |
| 23:59 |
void |
and then use condtion like |
| 23:59 |
void |
[globalVar = GP:L = 1] |
| 23:59 |
void |
temp.mymarker.value = Goodbye |
| 23:59 |
void |
[else] |
| 23:59 |
void |
temp.mymarker.value = Verlassend |
| 23:59 |
void |
[end] |
| 23:59 |
ghina |
Ok I got it :) Thanks |