| 08:17 |
smeringe |
morning! |
| 08:51 |
maholtz|WORK |
morning |
| 09:02 |
PiMB |
morning all |
| 09:12 |
_pedda_ |
hi all |
| 10:22 |
_pedda_ |
which param do i need to get fe users become noticed that the admin has accepted their registration (sr_feuser_register) |
| 10:30 |
ndl |
can some one guide me to localize typo3 to my country language? |
| 10:31 |
ndl |
I am from Viet Nam |
| 10:33 |
beli |
ndl: as admin goto extension manager |
| 10:33 |
beli |
ndl: in the admin tools section |
| 10:34 |
swemark |
Hello |
| 10:34 |
swemark |
A smeringe! |
| 10:34 |
beli |
ndl: select translation handling from the dropdown menu and select your language |
| 10:35 |
beli |
ndl: save it and goto user tools...user settings....and adjust your language field....save it.....maybe you need to relogin.... |
| 10:35 |
maholtz|WORK |
@ndl: perhaps you should ask in typo3.translation to become translator...? |
| 10:35 |
maholtz|WORK |
typo3.translation.general - newsgroup |
| 10:35 |
beli |
maholtz|WORK: vietnamese is there already |
| 10:36 |
maholtz|WORK |
ups |
| 10:36 |
maholtz|WORK |
wow |
| 10:38 |
ndl |
vietnamese is there aldready but it is just translated by some words |
| 10:38 |
ndl |
there are still more that need to be translate |
| 10:39 |
maholtz|WORK |
so, instead doing that for your own for each TYPO3 installation do it for all:) just ask in typo3.translation.general how to |
| 10:40 |
ndl |
oh, that great |
| 10:40 |
ndl |
thanks |
| 10:40 |
pmk65 |
beli: http://translation.typo3.org/ |
| 10:41 |
beli |
ndl: do some translation for the community then :) |
| 10:41 |
pmk65 |
http://translation.typo3.org/ is not very useful. Use the newsgroup as maholtz|WORK suggested. |
| 10:59 |
_pedda_ |
hmm did anyone used csConv = iso-8859-1 in ts ? |
| 10:59 |
_pedda_ |
once ? |
| 11:00 |
_pedda_ |
i have a feed import extension for tt_news.. |
| 11:00 |
_pedda_ |
utf-8 feedsbecome imported and utf-8 stored in db.. but in fe the special chars are messed up |
| 11:01 |
_pedda_ |
now i found the csConv property for changing the charset |
| 11:01 |
_pedda_ |
example: |
| 11:01 |
maholtz|WORK |
the fe is in utf-8? |
| 11:01 |
_pedda_ |
yes |
| 11:02 |
_pedda_ |
temp.conv = TEXT , temp.conv { field = eingabefeld , csConv = iso-8859-1 } |
| 11:07 |
_pedda_ |
someone ever used csConv ? |
| 11:15 |
maholtz|WORK |
@_pedda_: never used. i do not think, that it could be usefull in utf-8 environment... |
| 11:15 |
maholtz|WORK |
but who knows:) |
| 11:16 |
_pedda_ |
but the charset is messed up when rendered for lib.ext_news |
| 11:17 |
maholtz|WORK |
i wonder if content in database is ok why it should be messed up |
| 11:17 |
_pedda_ |
maholtz|WORK: do you knwo where sr_feuser_register fetches german translations for confirmation messages ? |
| 11:17 |
HardPhuck |
hey |
| 11:17 |
_pedda_ |
*from |
| 11:17 |
_pedda_ |
in loclallang.xml there is only default languagekey with english text |
| 11:26 |
maholtz|WORK |
hm there is an folder for translations... but do not remember where it was in typo3conf ? |
| 11:30 |
_pedda_ |
ok i will look for that |
| 11:30 |
_pedda_ |
aah got it |
| 11:30 |
_pedda_ |
great thx maholtz|WORK :) |
| 11:34 |
maholtz|WORK |
np |
| 12:17 |
sorenmalling |
maholtz|WORK: Regarding frontend dashboard, check the wiki for the project on forge, I've added some informations, more to come but I'm in the middle of moving :) |
| 12:17 |
maholtz|WORK |
thx, i will next days |
| 12:35 |
HardPhuck |
anyone using pagebrowse ext? |
| 12:38 |
randomresult |
hi there... sorry for my newbee question... but i didnt do it for a long time... i have a subpart called ###normal### and i want the colpos 22 (for example) to be loaded inside... is it something like page.10.subparts.normal < styles.content.get page.10.subparts.normal.select = colpos=22 |
| 12:38 |
randomresult |
or am i completelly wrong? |
| 12:40 |
maholtz|WORK |
yep |
| 12:40 |
maholtz|WORK |
:p |
| 12:40 |
maholtz|WORK |
check tsref select { ... } |
| 12:40 |
randomresult |
yep? |
| 12:40 |
maholtz|WORK |
select.andWhere = colpos=22 afaik |
| 12:40 |
maholtz|WORK |
yep you are wrong;) |
| 12:40 |
maholtz|WORK |
but not completelly:) |
| 12:40 |
randomresult |
good... ill check... i thought someone has a snippet ... |
| 12:41 |
randomresult |
musst be somehting like table= tt_content |
| 12:41 |
randomresult |
select.where=colPos = 22 |
| 12:42 |
randomresult |
select.languageField = sys_language_uid |
| 12:46 |
Dijital2 |
hi room |
| 12:46 |
maholtz|WORK |
i think random is right - i am wrong *g* |
| 12:46 |
maholtz|WORK |
afk now |
| 12:48 |
HardPhuck |
i'm installing the pagebrowse extension |
| 12:48 |
HardPhuck |
and it comes with a protected function |
| 12:48 |
HardPhuck |
where should i put that function |
| 12:49 |
HardPhuck |
if i put it into my FE ext i get blank screen or error |
| 12:57 |
randomresult |
hmm... i havent work with normal templating for years |
| 12:59 |
randomresult |
well... i work with TV and now i have a typeNum = 22 where i want to work with normal templating... |
| 13:00 |
randomresult |
the template it self works... but typo3 is not rendering any content |
| 13:01 |
nkuttler |
hm, didn't the 4.0 RTE support images? or did i disable them in some config? |
| 13:04 |
nkuttler |
indeed, it's not enabled by default |
| 13:31 |
trumpf |
Hey |
| 13:31 |
trumpf |
Any one there? |
| 13:38 |
Dijital2 |
> i'm trying to add a tt_news News record to a SysFolder that's a subfolder of my default tree storage folder and i'm the admin. However I'm getting an error saying i don't have permissions to add a record |
| 13:40 |
trumpf |
Sorry i can not help |
| 13:50 |
smeringe |
swemark: ...eehm. hi :) |
| 13:51 |
maholtz|WORK |
re |
| 13:51 |
maholtz|WORK |
@Dijital2: check page ts config there is perhaps an allowedTables |
| 13:54 |
randomresult |
ok ... another question... i want config.something to be diffrent when page type =22 ... does it work like this [globalVar = page:typeNum=22] |
| 13:57 |
maholtz|WORK |
no, type is as L an parameter: [globalVar = TSFE:type=22] |
| 13:58 |
Dijital2 |
@maholtz: thanks for the tip but i'm a bit of a noob. where would i find the tsconfig/allowedTables |
| 14:00 |
randomresult |
maholtz|WORK but it works... not this way... |
| 14:00 |
maholtz|WORK |
ups [globaVar= GP:type=22] ? |
| 14:01 |
swemark |
smeringe: a couple of hours later :) |
| 14:01 |
smeringe |
swemark: ;) |
| 14:01 |
maholtz|WORK |
TSFE is totoally wrong - you do not want to get informations from TSFE... afaik:) |
| 14:01 |
randomresult |
globalVar = TSFE:page|typeNum = 22 works |
| 14:04 |
randomresult |
but i solved my prob another way |
| 14:04 |
randomresult |
thanx anyway |
| 14:07 |
lilalinux |
can I have different links for different pics of a multicolumn textpic content element? |
| 14:08 |
maholtz|WORK |
yep, separated with , or ; do not remember |
| 14:09 |
lilalinux |
thx, i'll try that |
| 14:19 |
lilalinux |
maholtz|WORK: thx for the hint, actually you need to activate that feature first |
| 14:21 |
maholtz|WORK |
how do i activate that? |
| 14:23 |
lilalinux |
styles.content.imgtext.captionSplit = 1 |
| 14:23 |
lilalinux |
styles.content.imgtext.comment_CSL-LinkList = |
| 14:23 |
lilalinux |
in Setup |
| 14:23 |
maholtz|WORK |
default not enabled? |
| 14:23 |
lilalinux |
nope |
| 14:23 |
lilalinux |
By default all images share the same link. However you may ask the administrator to configure the TypoScript template to allow a separate link for each image. If this is the case, you simply separate the link values by a comma. |
| 14:24 |
maholtz|WORK |
thats new |
| 14:24 |
maholtz|WORK |
afaik |
| 14:28 |
maholtz|WORK |
have to go bye |
| 14:45 |
dexcs |
Someone here who knows how to render an content element inside my own extension. Let's say i have an column with 2 content elements. First is text and "hidden" and second is my own plugin. I want to wrap the text of the 1. element inside my own extension. is that possible? |
| 14:46 |
dexcs |
and how are the classes / functions called to render text from an content element? |
| 14:49 |
chefan |
you could hook in to the rendering process after content rendering and before output to process the pending content |
| 14:51 |
chefan |
i might be wrong, but i can't imagine a sane way to generify wrapping one plugin's output into anothers |
| 14:51 |
chefan |
that seems a bit like recursive page rendering |
| 14:53 |
chefan |
if the hook way suits you, content_post_proc_output might be the hook for you (i hope i remendered it correctly, better check the name) |
| 14:55 |
dexcs |
ok thanky |
| 14:55 |
dexcs |
ok thanks |
| 15:02 |
Dijital2 |
i can't add tt_news records to any pages in my tree and i can't find any allowedTables statements in any TSConfig snippets |
| 15:02 |
Dijital2 |
any idea why i wouldn't be able to? |
| 15:08 |
tf |
hi |
| 15:08 |
tf |
is there a way to disable an extension only on one special page? |
| 15:12 |
ockmonix |
hi |
| 15:13 |
ockmonix |
does anyone know how to wrap a plugin? |
| 15:17 |
HardPhuck |
wrap how |
| 15:19 |
ockmonix |
the plugins outer div container is <div id="tx_calendar_pi1"> |
| 15:19 |
ockmonix |
i want to wrap this |
| 15:19 |
ockmonix |
with another div |
| 15:19 |
ockmonix |
i've tried it with the object browser |
| 15:20 |
ockmonix |
and added the wrap function |
| 15:20 |
ockmonix |
but it doesn't work |
| 15:30 |
dexcs |
How can i get my own PID in my plugin? |
| 15:32 |
Dijital2 |
i'm getting "Sorry, you didn't have proper permissions to perform this change." when i try and add tt_news records any page in my tree despite being an admin. any idea why that might be? |
| 15:58 |
HardPhuck |
guys, how could i load only values not keys with this |
| 15:58 |
HardPhuck |
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) { |
| 15:58 |
HardPhuck |
$rows[] = $row; |
| 15:58 |
pmk65 |
ockmonix: if there's no Typoscript setup with wrap option, then you'll need to modify the PHP code of the extension. |
| 15:59 |
HardPhuck |
but when i debug rows i get key value pairs, but i don't want keys |
| 15:59 |
HardPhuck |
only values |
| 15:59 |
pmk65 |
HardPhuck: If you just read the values, you'll only get 1 value. as rows are paried as key,value. |
| 16:00 |
HardPhuck |
hmm thought so |
| 16:00 |
pmk65 |
But maybe array_values() can be used? |
| 16:01 |
pmk65 |
Read the $row as before, then parse it through array_values() , then you should end up with an array of the values |
| 16:04 |
HardPhuck |
excellent! |
| 16:04 |
HardPhuck |
did this |
| 16:04 |
HardPhuck |
$rows[] = array_values($row); |
| 16:04 |
HardPhuck |
and it's okay |
| 16:06 |
HardPhuck |
thanx |
| 16:17 |
randomresult |
someone here uses google sitemap for pages and contents (mc_googlesitemap) ? |
| 16:23 |
pmk65 |
I normally use Benni's Basic SEO Features (seo_basics) extension. It creates a Google sitemap and more.. |
| 16:24 |
pmk65 |
Very easy to install and use.. |
| 16:24 |
randomresult |
ok ill check |
| 16:25 |
pmk65 |
I haven't tested this one, but it should be quite good -> Extended SEO Sitemap ( fl_seo_sitemap ) |
| 16:25 |
pmk65 |
http://typo3.org/extensions/repository/view/fl_seo_sitemap/current/ |
| 16:25 |
pmk65 |
http://typo3.org/extensions/repository/view/seo_basics/current/ |
| 16:27 |
pmk65 |
Basic SEO Features also works very well in combination with my PMK Autokeywords( pmkautokeywords ) extension. |
| 16:30 |
randomresult |
pmk the sitemap is not valid |
| 16:32 |
pmk65 |
What's wrong with it? |
| 16:32 |
pmk65 |
Do you have an URL? |
| 16:35 |
randomresult |
it has no xml tag |
| 16:36 |
nwillems |
hey there |
| 16:36 |
pmk65 |
that's because you have not configured htaccess and cooluri/realurl to add .xml to xml files.. |
| 16:37 |
randomresult |
well... i have sent u the link via pm |
| 16:40 |
HardPhuck |
can i use multiple fields to define my 'sword' s |
| 16:40 |
HardPhuck |
<input type="text" name="'.$this->prefixId.'[sword]" value="'.htmlspecialchars($this->piVars['sword']).'" /> |
| 16:40 |
HardPhuck |
now i have this |
| 16:41 |
HardPhuck |
if i wanted to add another search field under it |
| 16:42 |
HardPhuck |
name="'.$this->prefixId.'[sword[0]]" |
| 16:42 |
HardPhuck |
is this valid |
| 16:43 |
HardPhuck |
i would like to have two fields |
| 16:44 |
HardPhuck |
and then i would like to get values from both fields to make a search phrase |
| 16:48 |
HardPhuck |
i guess it's even impossible to search more than one word |
| 16:54 |
ManDay |
Evening lads |
| 16:54 |
randomresult |
pmk65: i added some xml-tags and now it works |
| 16:54 |
ManDay |
I got a simple question: How can I make typo3 execute a piece of code for every request from a client WITHOUT messing with index.php directly? |
| 16:55 |
randomresult |
include php? |
| 16:55 |
ManDay |
yes |
| 16:55 |
ManDay |
i tried to execute it from the global template, but this doesnt work for cached pages |
| 16:56 |
randomresult |
tried via ts? |
| 16:56 |
ManDay |
in the global template, as i said, yes |
| 16:56 |
randomresult |
hmmm |
| 16:56 |
randomresult |
dunno... |
| 16:57 |
randomresult |
sorry... |
| 16:57 |
ManDay |
so ill just mess with index.php and insert an include |
| 16:57 |
ManDay |
i think this will do the trick |
| 16:57 |
randomresult |
but what happens when updating typo3? |
| 16:58 |
ManDay |
... |
| 16:59 |
ManDay |
u know what will happen |
| 16:59 |
randomresult |
:) |
| 16:59 |
ManDay |
but without any other solution, what else could i do? |
| 16:59 |
randomresult |
maybe make an extension to include.. |
| 17:00 |
randomresult |
but i dunno |
| 17:00 |
tobi_t3w |
ManDay just use a USER_INT in your ts template |
| 17:00 |
randomresult |
i think, thats what he did |
| 17:01 |
tobi_t3w |
USER_INT also works for cached pages, USER doesnt |
| 17:01 |
kv0s |
Hi! |
| 17:02 |
ManDay |
tobi_t3w: Okay, can you tell me how this works? |
| 17:02 |
kv0s |
It's terrible ... i try now several days ... realurl with cal and tt_news, but i got not runnig it ... |
| 17:02 |
kv0s |
my links show like: http://www.freizeittaucher-marbach.de/news/?tx_ttnews%5Btt_news%5D=100&tx_ttnews%5Byear%5D=2008&tx_ttnews%5Bmonth%5D=11&tx_ttnews%5Bday%5D=28&cHash=bcc5983eab |
| 17:03 |
kv0s |
... each tutorial with tells me to append any lines of configuration at "postVarSets" fails ... |
| 17:03 |
kv0s |
can anyone help me with the configuration? Or has any tips? |
| 17:03 |
tobi_t3w |
ManDay: http://www.typo3wizard.com/en/snippets/common-problems-and-solutions/simple-userfunc.html , just use USER_INT instead of USER |
| 17:04 |
ManDay |
hmmm |
| 17:05 |
ManDay |
Currently it looks like that: temp.info = PHP_SCRIPT temp.info.file = fileadmin/script.php |
| 17:05 |
ManDay |
Will there be a major difference if I go your way? |
| 17:06 |
randomresult |
maybe it works with cached pages:) |
| 17:06 |
tobi_t3w |
afaik PHP_SCRIPT is deprecated |
| 17:06 |
ManDay |
right, besides THAT, randomresult :P |
| 17:06 |
ManDay |
ok |
| 17:06 |
randomresult |
just give it a try... will be less than 2 minutes to try out |
| 17:08 |
ManDay |
Not yet sure how exactly to use it tho. |
| 17:08 |
ManDay |
My php script is plain code in global space |
| 17:10 |
ManDay |
does it have to be a function? |
| 17:11 |
tobi_t3w |
if you dont need to return content or something includeLibs.blah = fileadmin/yourfile.php will execude the code |
| 17:12 |
tobi_t3w |
hm but only on non cached sites |
| 17:12 |
ManDay |
? |
| 17:13 |
ManDay |
All right, so what do you suggest (look at http://manday.pastebin.com/d797c02ff )? |
| 17:16 |
tobi_t3w |
ManDay: http://manday.pastebin.com/m112308a3 works for me |
| 17:16 |
ManDay |
on cached pages? |
| 17:17 |
tobi_t3w |
yes |
| 17:21 |
HardPhuck |
can pibase search have more than 1 search words? |
| 17:21 |
ManDay |
It does not do |
| 17:21 |
ManDay |
Try again tobi_t3w |
| 17:21 |
tobi_t3w |
i had to clear all cache once ManDay, after that it works on every request |
| 17:21 |
ManDay |
Try twice to make sure that you are really seeing the cache |
| 17:22 |
ManDay |
Does the PHP script hold plain code or do you call a function? |
| 17:22 |
tobi_t3w |
plain php (<?echo "hello"?>) |
| 17:22 |
ManDay |
nuts |
| 17:22 |
ManDay |
nah |
| 17:22 |
ManDay |
lol |
| 17:22 |
ManDay |
you fooled yourself |
| 17:23 |
ManDay |
the echo "hello" is in the cache, man! |
| 17:23 |
tobi_t3w |
no .. on my tests before it was echoed only once |
| 17:23 |
ManDay |
now replace the "hello" by "bye" and reload |
| 17:23 |
tobi_t3w |
works ;) |
| 17:23 |
ManDay |
screw it! |
| 17:23 |
tobi_t3w |
it now echoes bye without clearing cache and all |
| 17:24 |
ManDay |
ah my bad |
| 17:24 |
ManDay |
i accidentally modiefied the wrong "PHP_SCRIPT" |
| 17:24 |
ManDay |
:D |
| 17:24 |
tobi_t3w |
:D |
| 17:25 |
tobi_t3w |
from documentation: You can also create this object as a COA_INT in which case it works exactly like the PHP_SCRIPT_INT object does: It's rendered non-cached! |
| 17:25 |
ManDay |
Works now! |
| 17:25 |
ManDay |
Great man, many thanks! |
| 17:25 |
tobi_t3w |
np |
| 17:26 |
ManDay |
All right then, have a good night |
| 17:26 |
ManDay |
Bye |
| 17:28 |
tobi_t3w |
HardPhuck: if you need more than one searchbox you could use a small javascript onSubmit to add them both to sword |
| 17:30 |
HardPhuck |
i hoped it's already built in :D |
| 17:35 |
HardPhuck |
allright i'll write my own function |
| 17:35 |
HardPhuck |
it'll be faster :) |
| 18:22 |
dokma |
guys is there any irc client integrated into typo3 backend? |
| 18:22 |
dokma |
I think that's a nice idea |
| 18:23 |
dokma |
I'd integrate it into typo3 backend if there isn't such an ext already |
| 18:23 |
dokma |
this channel would open by default |
| 18:53 |
ndee |
hi there, anyone knows a good frontend editing plugin, where you can have actually the same backend but just in the frontend? |
| 18:55 |
Dijital2 |
@ndee you mean inline editing |
| 18:56 |
ndee |
Dijital2: hm, actually just a custom styled backend somehow in the frontend. |
| 18:56 |
ndee |
for example: I have a list with cars and I want to be able to administer them in the frontend on a special administration page. |
| 18:56 |
Dijital2 |
lol i'm confused |
| 18:58 |
ndee |
do you know what I mean? :D |
| 19:14 |
randomresult |
hi there... some offtopic question: imagine i have a domain www.myhost.de and i have an index.php and i have a url with myhost.de/admin... which is not really a directory... and i want the index php only to be accesible when /admin is added to the url... else die |
| 19:14 |
randomresult |
so i need to check wehter admin is added to the url or not... else exit |
| 19:15 |
randomresult |
someone an idea? |
| 19:26 |
HardPhuck |
what's the difference between $this->piVars and t3lib_div::_GP() |
| 19:37 |
RoyalKnight |
HardPhuck: t3lib_div::_GP() contains all $_GET and $_POST variables, $this->piVars only from the actual class |
| 19:43 |
HardPhuck |
thanx |
| 20:08 |
HardPhuck |
crap realurl stopped working with server upgrade |
| 20:13 |
theconic |
hey all, i have a setting that should be inserted into page.10 and into page.20 and into page.30 and so on ... |
| 20:14 |
theconic |
it should just be inserted into page.everything ;) |
| 20:14 |
theconic |
how do i write this in TS? |
| 20:15 |
theconic |
my TS is like this now http://t3paste.org/FC5qiq |
| 20:16 |
theconic |
someone there? ^^ |
| 20:17 |
RoyalKnight |
theconic: so you want to do this the automatic way, but i think that is not possible, because the id is something individual |
| 20:18 |
theconic |
yes, but i want to have it independent from the ID |
| 20:18 |
theconic |
so this should belong to all IDs |
| 20:19 |
theconic |
from ID 1 up to ID 999999 |
| 20:20 |
theconic |
i will need this in every query (ID) and there will be so very much soon... |
| 20:20 |
theconic |
i don't want to always add a line just because there's a new ID |
| 20:53 |
ckoehler |
good to know |
| 20:53 |
ckoehler |
heh |
| 20:53 |
ckoehler |
wrong channel |
| 21:05 |
maltisch |
Hallo Community |
| 21:05 |
maltisch |
There is a nice new Firefoxplugin. |
| 21:05 |
maltisch |
http://wappalyzer.com/ |
| 21:08 |
maltisch |
It is a good idea |
| 21:10 |
maltisch |
Have fun |
| 21:14 |
RoyalKnight |
maltisch: your application? |
| 21:15 |
maltisch |
No |
| 21:15 |
maltisch |
But it a good idea |
| 21:15 |
maltisch |
To see whish application is under the hood |
| 21:16 |
RoyalKnight |
market share seems to be more interesting |
| 21:16 |
maltisch |
I like the Global statistics |
| 21:18 |
maltisch |
It is also nice, but it is not a browser plugin. |
| 21:18 |
maltisch |
thx |
| 21:32 |
nwillems |
is there any statistics-tool/plugin for typo? |
| 21:33 |
dinsdale07 |
I use ke_stats as a BE module. I quite like it. |
| 21:34 |
theconic |
what kinds of stats does it show you? |
| 21:34 |
maltisch |
cc_awstats |
| 21:35 |
maltisch |
http://typo3.org/extensions/repository/view/cc_awstats/current/ |
| 21:35 |
maltisch |
it is popular |
| 21:36 |
dinsdale07 |
I have awstats already on my server so this is my " supplement" It can do live tracking which is quite nice. |
| 21:37 |
dinsdale07 |
it's not difficult to setup so maybe you can give both a try :-) |
| 22:00 |
theconic |
this matches when the use is logged in [loginUser = *] |
| 22:00 |
theconic |
and what matches onl if he is not logged in? |
| 22:01 |
dinsdale07 |
[loginUser = 9999999] ? |
| 22:01 |
RoyalKnight |
theconic else |
| 22:02 |
dinsdale07 |
Point goes to RoyalKnight :-) |
| 22:12 |
theconic |
[loginUser = else] ? ;D ... never used conditions before... |
| 22:13 |
theconic |
how do you close the "condition part" ? |
| 22:13 |
theconic |
in the TSREF it says only how to open a condition |
| 22:15 |
dinsdale07 |
[loginUser = *] ; [else] text.value = you need to login ; [global] |
| 22:19 |
theconic |
so i have to write this for every line!? |
| 22:19 |
theconic |
just don't understand the syntax... |
| 22:24 |
theconic |
how would i use this here: http://t3paste.org/lkqEJf |
| 22:25 |
theconic |
is a very easy snippet, could someone tell me how to insert the condition? |
| 22:39 |
theconic |
can someone tell me why the condition does not work? |
| 22:39 |
theconic |
http://t3paste.org/3caCwW |
| 22:39 |
theconic |
both CEs are displayed the whole time... |
| 22:45 |
theconic |
why does my TS not work? does someone know this? |
| 23:07 |
TaucherMK |
theconic: You should make the corner inactive without conditions and overwrite this when the user is logged in (with conditions |
| 23:08 |
TaucherMK |
where did you get [ELSE]? Never heard of some condition like that |
| 23:09 |
theconic |
from here: http://www.fi-ausbilden.de/blog/2007/07/25/kurz-erkart-typoscript-conditions/ |
| 23:09 |
theconic |
but i still don't get the point... |
| 23:10 |
TaucherMK |
you can probably use the official documentation http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/ |
| 23:10 |
TaucherMK |
and there is no [ELSE] or [GLOBAL] |
| 23:11 |
theconic |
hehe |
| 23:11 |
TaucherMK |
(it can be that i just never heard of it, but you really don't need something like tha |
| 23:11 |
TaucherMK |
t |
| 23:11 |
TaucherMK |
) |
| 23:11 |
theconic |
ok but there it only says how to "open" the condition |
| 23:12 |
theconic |
RoyalKnight: didn't you say something about else? |
| 23:13 |
theconic |
TaucherMK: so how would you write this snippet then? http://t3paste.org/lkqEJf |
| 23:13 |
TaucherMK |
you shouldn't use conditions in COA, i will write it up for you, mom |
| 23:14 |
theconic |
ok thanks, just so that i undestand the syntax |
| 23:14 |
theconic |
usually i understand TS, but i never used Conditions before... |
| 23:17 |
TaucherMK |
http://t3paste.org/aTBdu2 |
| 23:18 |
TaucherMK |
so a user who ist not logged in gets : Just write your default Code in this COA but never use Conditions directly in COA |
| 23:18 |
TaucherMK |
and the logged in user gets: Just write your default Code in this COA just begin on root level in Conditions! |
| 23:19 |
theconic |
i see... |
| 23:19 |
theconic |
one moment, just implement this in my code |
| 23:22 |
theconic |
do i always use [end] for closing the condition? |
| 23:29 |
dinsdale07 |
I think [end] or [ global] are the same |
| 23:30 |
dinsdale07 |
I'm just trying to digg out the [else] condition - I'm sure I used it before. |
| 23:33 |
theconic |
don't digg too deep... otherwise the Balrog might be digged out $) |