-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ditto is missing placeholders when built-in filters are enabled #187
Comments
built-in filters are enabled
This worked. Is something different? |
Disable built-in filters? |
Thats not a problem. Try using placeholders like It works when I disable built-in filters. |
OK, thanks. I will fix it later. |
@yama with this commit it is almost working. One more thing here. In
|
ok, I'll fix it later |
hmm...? |
Ditto > if > phpthumb |
@yama I don't know what happened, but now first item in Ditto list have no placeholder at all. Second list item is OK. |
In Ditto item tpl I have:
"article_summary" TV is empty but "if" is wrong. If I add to item tpl
All placeholders are lost. |
plz check now |
Almost perfect! Great job. Still have issue with this #187 (comment) "ditto-tpl-news" chunk:
"ditto-tpl-news__img" chunk:
Result: phpthumb shows "noimage" image. BUT this works and thumb is displayed: "ditto-tpl-news" chunk:
|
I think this bug with IF he is not understand [+article_img+] in @tpl |
@Dmi3yy I'm not sure. "ditto-tpl-news__img" chunk:
Result: So IF has access to this [+article_img+] placeholder but somehow it is lost in phpthumb there. |
I want simple test case. Perhaps phpThumb and link tags do not matter, right? "test_chunk_1" chunk:
"test_chunk_2" chunk:
in resource:
I will test this. ok? |
Sure. This works (no phpthumb call).
|
"test_chunk_1" chunk:
"test_chunk_2" chunk:
in resource:
Thanks for reply, I will test this. ok? |
OK, I still get path to "noimage" as a result. |
ok, I will repair this later |
Hmm I used a fresh install of latest dev and the evo demo-content. In my case it works (Yama´s test-case) so I cannot recreate this issue. |
Hm, thats good news. Is there a way to fix it somehow on working 1.3.6 site? |
I am not sure, maybe try replacing |
Nope, didn't work. |
#187 (comment) |
I have this problem on both dev version and 1.3.6. PHP 5.6.31.
|
Thanks. I want to know the case where a problem occurs. Is there anything else? |
I have a simple Ditto call:
and my
ditto-tpl-news
chunk is:Chunk
ditto-tpl-news__img
parsed in byif
snippet has empty placeholders like[+id+]
.This only happens when core built-in filters are enabled.
Placeholders in
ditto-tpl-news__img
are back when I disable built-in filters.Note: It works with filters enabled only if I move code from
ditto-tpl-news__img
directly into&then
parameter ofif
snippet (no chunk).The text was updated successfully, but these errors were encountered: