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

Path generation #12

Open
ghost opened this issue Mar 7, 2018 · 5 comments
Open

Path generation #12

ghost opened this issue Mar 7, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 7, 2018

It would be nice to add a path field and implement the generation of the full path to the root element.

@olimortimer
Copy link
Owner

Not sure I understand what you mean, sorry. Do you have an example?

@ghost
Copy link
Author

ghost commented Mar 7, 2018

This is in Joomla (https://docs.joomla.org/Using_nested_sets). Also used nested sets but also has 2 additional alias and path fields.
Example: first level page-id:1 alias:main path:main
second level page id:2 alias:child path:main/child
And so on.

@ghost
Copy link
Author

ghost commented Mar 7, 2018

@olimortimer
Copy link
Owner

I've not used Joomla for many, many years I'm afraid. Please feel free to contribute to the code with a PR if you wish to add this functionality.

@ghost
Copy link
Author

ghost commented Mar 7, 2018

I certainly try, but I'm afraid my code will be relatively terrible :)

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