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

Any solution of recursive loop? #194

Closed
leyley opened this issue Apr 27, 2021 · 2 comments
Closed

Any solution of recursive loop? #194

leyley opened this issue Apr 27, 2021 · 2 comments
Labels

Comments

@leyley
Copy link

leyley commented Apr 27, 2021

Dear devers,

I need to implement a recursive loop for display a page/folder list, which needs a recursion of list data. Is there any solution of it by using inja? Or may I reterive the raw JSON data from template and use javascript to render the list?

Thanks

@pantor
Copy link
Owner

pantor commented Jun 9, 2021

Hi @leyley,

can you provide a concrete example what you want to achieve? Note that inja does not use any javascript.

@leyley
Copy link
Author

leyley commented Jun 18, 2021

Hi @leyley,

can you provide a concrete example what you want to achieve? Note that inja does not use any javascript.

Thanks for reply!
Now the problem has been resolved by adding a new function with add_callback.

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

2 participants