| 13:28 |
paese |
hi all |
| 13:28 |
paese |
can someone give me a hint on how to render a HMENU backwards? |
| 13:30 |
paese |
oh.. never mind, did it with css xD |
| 14:34 |
lilalinux |
Hey guys, how do I create a new page type? On page Foo (pid=123) I want to have a link to the same page but with a different type. Like a different view for the same page. |
| 14:36 |
lilalinux |
I need the pid to stay the same, so that plugins on the other view will use the same pid |
| 14:41 |
cdngfrog |
lilalinux: otherpage = PAGE otherpage.typeNum = 42 |
| 14:44 |
lilalinux |
could you expand that a bit? |
| 14:45 |
cdngfrog |
look in the tsref - typeNum is well explained there |
| 14:45 |
lilalinux |
thx |
| 14:45 |
lilalinux |
(It's been a long time since I used typo3 :-/ ) |
| 15:23 |
lilalinux |
I have this in my setyp now, but it doesn't work: |
| 15:23 |
lilalinux |
[globalVar = GP:edit > 0] |
| 15:23 |
lilalinux |
page.typeNum = 23 |
| 15:23 |
lilalinux |
[else] |
| 15:23 |
lilalinux |
page.typeNum = 0 |
| 15:23 |
lilalinux |
[end] |
| 15:23 |
lilalinux |
When I specify the url with ?edit=1 then I get the error: The page is not configured! [type= 0][] |
| 15:25 |
lilalinux |
?edit=1&type=23 works |
| 15:25 |
lilalinux |
but doesn't behave like expected |
| 15:26 |
lilalinux |
I hoped, that links from plugins on that page would automatically keep the type |
| 16:11 |
lilalinux |
How do I quote brackets in GP: variable names? |
| 16:11 |
lilalinux |
[globalString = GP:tx_admininterface_pi1[CMD]=/^$/] |
| 16:11 |
lilalinux |
I need to quote the brackets around [CMD] |
| 16:17 |
lilalinux |
got it |
| 16:17 |
lilalinux |
..._pi1|CMD |
| 16:55 |
lilalinux |
I have a Pagecontent with a known id=388 |
| 16:55 |
lilalinux |
How can I add that object via TypoScript to e.g. page.123? |
| 16:57 |
lilalinux |
Oh my, as soon as I ask the question, I remember the answer :-/ |
| 18:05 |
johnson_hh |
hi, i want to display the actual page title again on the page |
| 18:05 |
johnson_hh |
i tried: |
| 18:05 |
johnson_hh |
lib.breadcrumb = TEXT |
| 18:05 |
johnson_hh |
lib.breadcrumb.value = {page:title} |
| 18:05 |
johnson_hh |
but it wont work, can you help me? |
| 18:18 |
pmk65 |
lib.breadcrumb.field = title |
| 18:23 |
schabracke |
hello! |
| 18:27 |
schabracke |
i created a php script (voting system) and implemented it with lunophpincludescript. furthermore i created a news table with some fields. now i want an registrationform with those fields |
| 18:28 |
schabracke |
where should i start? |
| 18:28 |
schabracke |
do i have to create an extension with new table/markers and point to those tables in my php script? |
| 18:43 |
snoy_ms |
hey all, need some help with extbase. I try to use the repository function findByUid(). Anyone knows how to get the uid out of an object ? |
| 18:43 |
snoy_ms |
I get an object, but now i need the uid. |
| 21:28 |
snoy_ms |
hey all. anyone used extbase? Need a some help with the repository function "findbyuid" |
| 21:36 |
Thasmo |
ye, i do use Extbase. |
| 21:37 |
snoy_ms |
Thasmo: i have an indexAction in my controller. I get one Parameter: "projekt" (its an object). Now i try to use $this->view->assign('projekt', $this->projektRepository->findByUid($projekt->getUid())); |
| 21:38 |
snoy_ms |
what i didn't like is, that i have to use $projekt->getUid() to get the uid |
| 21:38 |
snoy_ms |
is there a way to define the return value from an object ? |
| 21:38 |
Thasmo |
What's wrong with getUid? |
| 21:39 |
snoy_ms |
nothing wrong :-) . findByUid($projekt) would be great |
| 21:39 |
Thasmo |
But why would you need to find the projekt, if you pass it already as method argument? |
| 21:40 |
snoy_ms |
on a start page i see all projects as a list. |
| 21:41 |
snoy_ms |
the indexaction is the stand alone view |
| 21:41 |
snoy_ms |
your right |
| 21:41 |
snoy_ms |
i don't need to find it, or ? |
| 21:41 |
Thasmo |
Don't think so. |
| 21:41 |
Thasmo |
If you pass the object, you got it. xD |
| 21:42 |
Thasmo |
Extbase will load it for you. |
| 21:42 |
snoy_ms |
your right...mhhh |
| 21:42 |
snoy_ms |
lol |
| 21:42 |
snoy_ms |
second |
| 21:42 |
Thasmo |
;o) |
| 21:42 |
snoy_ms |
that would be realy cool |
| 21:43 |
snoy_ms |
i write a small template and test it... |
| 21:44 |
Thasmo |
The link can be generated this way: <f:link.action action="details" arguments="{product: product}">{product.title}</f:link.action> |
| 21:44 |
snoy_ms |
yeah, i use this one: <f:link.action action="index" controller="Projekt" arguments="{projekt : projekt}">Detail</f:link.action> <br /> |
| 21:44 |
Thasmo |
where product should be assigned to the view with: §this->view->assign('product', $product); |
| 21:44 |
Thasmo |
right, that's it. |
| 21:44 |
snoy_ms |
i love it |
| 21:45 |
Thasmo |
hehe |
| 21:56 |
snoy_ms |
Thasmo: works fine ;-) |
| 21:56 |
snoy_ms |
thanks |
| 21:56 |
Thasmo |
np |
| 22:16 |
snoy_ms |
Thasmo: still here ? |
| 22:16 |
Thasmo |
ye |
| 22:17 |
snoy_ms |
is there a view helper to explode a list ? |
| 22:18 |
Thasmo |
hm, don't think so. |
| 22:18 |
snoy_ms |
ok |
| 22:18 |
snoy_ms |
i got a list of image names for a gallery.... |
| 22:18 |
snoy_ms |
ok, have to write it on my own |
| 22:24 |
lukaslentner |
Is there a v5 channel, too ?! |
| 22:25 |
Thasmo |
dont think so. |
| 22:25 |
lukaslentner |
Do you know what happend to Jens Hoffmanns new Interface (http://vimeo.com/8648219)??? was it accepted?! |
| 22:26 |
snoy_ms |
mhh, dont know |
| 22:27 |
lukaslentner |
others? |
| 22:46 |
snoy_ms |
Thasmo: do you know whats a value object means in extbase ? |
| 22:47 |
Thasmo |
basically it's a domain object without an identity. |
| 22:47 |
snoy_ms |
mhh, sorry that i ask it, but what does that mean ? |
| 22:47 |
Thasmo |
I'm not that experienced with DDD, but in general that would mean e.g. a color definition or whatever could be a value object. |
| 22:48 |
snoy_ms |
to small to be a domain |
| 22:48 |
snoy_ms |
i should check out ddd |
| 22:49 |
snoy_ms |
http://dddstepbystep.com/wikis/ddd/value-object.aspx |
| 22:49 |
Thasmo |
yeah. like entities can be fetched by repositories while calue objects cannot - they belong to a domain object directly. |
| 22:49 |
snoy_ms |
ok, i think i understand |
| 22:50 |
Thasmo |
like a value object is just defined by it's value, while an entity is defined by it's identity. |
| 22:50 |
snoy_ms |
ok |
| 22:50 |
Thasmo |
Your link describes it quite well. |
| 23:30 |
littlefeet |
hello |
| 23:30 |
littlefeet |
i come here today to ask if anyone else has seen a certain problem |
| 23:30 |
littlefeet |
i just upgraded to typo3 4.3 |
| 23:31 |
littlefeet |
and my backend screen now has part of it below the left menu instead of side by side like normal |
| 23:35 |
Thasmo |
Did you clear the TYPO3 Cache and the Browser Cache? |
| 23:52 |
boris85 |
anybody on exbase programming here? |
| 23:53 |
Thasmo |
Yeah, a little, boris85. |
| 23:54 |
boris85 |
you're in the mailing list as well aren't you? |
| 23:54 |
Thasmo |
Yeah. |
| 23:55 |
boris85 |
maybe you've seen my question about doublechecking a password, do you hav any idea how i can variable to a model which isn't in the db |
| 23:55 |
boris85 |
? |
| 23:57 |
Thasmo |
So you want to create a new object, providing the data from a web-form, but sending the passwort twice for validation? |
| 23:57 |
boris85 |
i have already the model and hence the object for a fe_user |
| 23:58 |
boris85 |
and i want to pass over the value to the objectvalidator |
| 23:59 |
Thasmo |
I must say I'm not into the object validator, thus I can't provide help for the object validator. |
| 23:59 |
Thasmo |
For myself I |
| 23:59 |
Thasmo |
I'm only using the Property Mapper. |