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

Problem with shortcode at beginning #51

Open
mozvatic opened this issue Nov 11, 2019 · 0 comments
Open

Problem with shortcode at beginning #51

mozvatic opened this issue Nov 11, 2019 · 0 comments

Comments

@mozvatic
Copy link

hi, i have shortcode: [library type="document" id="68"]

When create some page and i put that code inside text paragraf or after, all working fine!

but, if i put that code at beginning of content [library type="document" id="68"] .... some text then page broken with error:
View [shortcodes.] not found. (View: ...\resources\views\frontend\content\default\content.blade.php)

i have library types: document,gallery, video... inside shortcode function if i call $type to see type or data what i sent to view, all is OK, if i call content inside view for type, a get data what i send. but when i remove dd(), a iget error...

I can't find problem why shortcode is broken if i put on beginning of content!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant