Replies: 5 comments 4 replies
-
Hmm... What Ancestry does is quite niched. Avo probably doesn't support that kind of feature. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I understand that a hierarchical view may not be possible, but would it be possible, in some way, to be able to control this using Avo. At a minimum, the features I would need are:
Note: I tried using the Select field type to allow a new Parent to be chosen but the update doesn't work. My code for t is as follows:
I really would like to use Avo with this project but I really could do with being able to add the two features above. Maybe they are already possible but I just need a little help connecting the dots etc to enable it. |
Beta Was this translation helpful? Give feedback.
-
Hi, @adrianthedev Is there a way for me to trial this in advance of purchasing a Pro license? I need to ensure it will work first before I commit to purchasing anything. |
Beta Was this translation helpful? Give feedback.
-
Hi Adrian, Many thanks for that. I'll give it a go. I'm not super fast with Rails or tremendously great at it but i'll give it a bash. I just updated the field name for :parent to :parent_id. This now makes the Select I posted above show the correct parent when on the Edit view. Progress! I then tried making a change to the parent and clicking "Save". I get the below error, but then if i refresh the page, it did actually manage to update the parent successfully. Any idea what may be contributing to the error? Showing /Users//.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/avo-1.13.3/app/views/avo/partials/_turbo_frame_wrap.html.erb where line #2 raised:
I hope to try the custom field thing later this week or next. As I don;t need to build a tree structure for children, but just a simple list of associated immediately related children, would I be able to use the listing styles that you have for the association functionality. I basically want the children of a person to be displayed in a form similar to the below from your documentation: Really appreciate your help so far! Thanks, |
Beta Was this translation helpful? Give feedback.
-
@adrianthedev Hi, I've started to create the custom field but have two queries: Currently, my (admittedly very basic) custom filed looks like:
The link_to route does not appear to be working as it cannot find the route? How can I get the route correct so each child name links to their show view in Avo? Also, is there an example of markup that I can duplicate in order to ensure the table of children matches the Avo style and layout? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I just installed this on my new Family Tree app that uses Ancestry but am finding it difficult to integrate it with the hierarchy of records.
I need to be able to choose a Person's parent and also want to show a Person's list of Children too.
I may be able to use the select field options to output a list of people to choose the parent person from, but when saving the record, it needs to use Ancestry's features in order to save the hierarchy correctly.
Any suggestions as to how I can do this?
Beta Was this translation helpful? Give feedback.
All reactions