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

Want to use functions in modular pages #37

Open
marck-consulting opened this issue Oct 21, 2020 · 5 comments
Open

Want to use functions in modular pages #37

marck-consulting opened this issue Oct 21, 2020 · 5 comments
Assignees
Labels

Comments

@marck-consulting
Copy link

If I enter new content (over the admin panel) stuff from the shortcode-ui won't get rendered at all. Anything I need to focus on?

@rhukster
Copy link
Member

Are you using the standard editor? What does the contents of your .md file look like? Do the shortcodes look as they should?

It's sort of hard to know what the issue is unless you give an example of the shortcode you have entered, as it could be anything from a typo, to not loading css/js, to invalid format, etc.

@marck-consulting
Copy link
Author

marck-consulting commented Oct 22, 2020

Yes I'm using the standard editor. Shortcode itself is looking fine:

---
title: 'Status'
background_image: ''
button_label: ''
button_url: ''
right_image: ''
right_image_alt: ''
link_label: ''
link_url: ''
content:
    items: '@self.modular'
---

!! [size=20]**Lorem Ipsum**[/size]

### Topic
[ui-accordion independent=true open=none]
[ui-accordion-item title="Title1"]
Content1
[/ui-accordion-item]
[ui-accordion-item title="Title2"]
Content2
[/ui-accordion-item]
[ui-accordion-item title="Title3"]
Content3
[/ui-accordion-item]
[ui-accordion-item title="Title4"]
Content4
[/ui-accordion-item]
[ui-accordion-item title="Title5"]
Content5
[/ui-accordion-item]
[ui-accordion-item title="Title6"]
Content6
[/ui-accordion-item]
[ui-accordion-item title="Title7"]
Content7
[/ui-accordion-item]
[ui-accordion-item title="Title8"]
Content8
[/ui-accordion-item]
[ui-accordion-item title="Title9"]
Content9
[/ui-accordion-item]
[/ui-accordion]

But rendered it looks like this (the plugin and there the css won't get loaded at all I guess):
Bildschirmfoto 2020-10-22 um 12 54 18

@rhukster rhukster self-assigned this Oct 23, 2020
@rhukster rhukster added bug and removed question labels Oct 23, 2020
@rhukster
Copy link
Member

Ok that should work... i'll take a look at this shortly

@marck-consulting
Copy link
Author

If you need any information or live testing capabilities, let me know. Would be happy to help out as far as possible.

@daniel-mannheimer
Copy link

+1

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

No branches or pull requests

3 participants