Skip to content
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

moved to API from editor #1925

Open
wants to merge 45 commits into
base: filters
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4af0029
new: Made te fields optional for update blocks/popups/layouts
alecszaharia Nov 24, 2021
5d94065
new: html changes in page.html.twig
alecszaharia Dec 1, 2021
6c13122
new: Added title and tags for block/layouts/popups
alecszaharia Dec 1, 2021
67d442d
new: Added filter to be able to change the story rewrite slug
alecszaharia Dec 6, 2021
de25d6a
fix: decode the htmlentity encoded title and tags
alecszaharia Dec 7, 2021
ac42e11
new: Added ignore dc placeholder
alecszaharia Jan 17, 2022
0643f34
new: Added simple post aware and fixed few placeholders
alecszaharia Jan 19, 2022
5976d35
Upodated editor build branch
Feb 20, 2021
cb1a898
Added post action to delete the context folder
alecszaharia Feb 21, 2021
b34b8af
feat: Added support for placeholders in Wordpress and SMTP form integ…
alecszaharia Mar 16, 2021
3b21149
fix: Added additional data about the post in editor config.
alecszaharia Jun 10, 2021
b08d62b
feat: Filters for post loops
alecszaharia Oct 9, 2020
6615e31
....
alecszaharia Apr 2, 2021
85dd21e
...
alecszaharia Apr 28, 2021
4c370c2
feat: added nested filters
alecszaharia Apr 29, 2021
fcab15a
fix: changes after rebase
alecszaharia Jul 29, 2021
1921a49
...
alecszaharia Oct 27, 2021
c0d7c62
fix: placehodersContent action
alecszaharia Nov 29, 2021
f4532af
fix: fixed get placeholders content action
alecszaharia Nov 29, 2021
ffb94ee
new: filter placeholder content ...
alecszaharia Feb 14, 2022
8ef3d8c
new: filter placeholder content
alecszaharia Feb 15, 2022
b0a3eef
fix: made the filter placeholder content action public
alecszaharia Feb 17, 2022
c6dac6a
fix: fixed the content parsed for filter placeholders
alecszaharia Feb 17, 2022
0935f93
fix: added page placeholders in context
alecszaharia May 18, 2022
6d41c64
fix: added placeholders in context
alecszaharia May 19, 2022
25dea39
fix: optimized dynamic content processor
alecszaharia May 20, 2022
e7ea25a
...
alecszaharia May 23, 2022
c5e881d
fix: dynamic content processor
alecszaharia May 23, 2022
12fe077
fix: dynamic content processor
alecszaharia May 23, 2022
5b5f0e5
fix: compile page when asking for a placeholder html
alecszaharia Jun 9, 2022
dd0d30c
fix: small fix when wrong placeholder id is required
alecszaharia Jun 13, 2022
fa27af6
fix: use $_REQUEST instead if $_POST
alecszaharia Jun 23, 2022
950c783
Fix: #19185 - Fix condition modal editor by global rules
ViorelEremia Jul 26, 2022
29c9667
fix: filter refactoring
alecszaharia Aug 9, 2022
bc7ba18
fix: Config values in dev mode 2
alecszaharia Sep 22, 2022
cedbc9d
fix: Context factor
alecszaharia Oct 7, 2022
cc5b834
fix: small fixes after rebase.
alecszaharia Jul 18, 2023
49e5243
fix: added filters in module groups
alecszaharia Jul 19, 2023
7068ff4
fix: added a new method in context to find by name and id
alecszaharia Aug 1, 2023
2cfaecf
fix: updated composer.lock
alecszaharia Aug 2, 2023
a185c03
fix: removed notion of -tag and -pag logic from api
alecszaharia Aug 3, 2023
00004d6
new: added filter placeholders url in config.
alecszaharia Aug 23, 2023
a6fa129
Merge branch 'master' into filters
alecszaharia Sep 21, 2023
a69fd4a
new: added editor client config filter
alecszaharia Sep 21, 2023
264b8fd
moved to API from editor
GunkaArtur Aug 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: small fix when wrong placeholder id is required
  • Loading branch information
alecszaharia committed Aug 2, 2023
commit dd0d30c87deadee60af1bfbb97fe3096f402c92c
5 changes: 4 additions & 1 deletion editor/filters/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ public function filterPlaceholdersContent() {
*/
$placeholder = $context->getPlaceholderById($placeholderId);

if(!$placeholder) continue;
if(!$placeholder) {
$placeholderContents[$placeholderId] = '';
continue;
}

/**
* @var Brizy_Content_Placeholders_Abstract $placeholderInstance;
Expand Down