As i like to change view page like google map management concept given below…
how to wrote html section in tpl file ?
As i like to change view page like google map management concept given below…
how to wrote html section in tpl file ?
Hi @polaiah102 - I love your ideas! (If I understand them correctly.) I remember discussing ideas for creating “one map to rule them all” in farmOS, which would always be show in a side-panel like this, and vary its content based on the context in which it was being displayed. Not sure if that’s what you have in mind… it would be great if you could describe your vision and use-cases in a bit more detail.
how to wrote html section in tpl file ?
That’s a very specific question for a very broad idea.
I think you’ll need to describe in more detail where this will be, how it will behave, what content will be included in both sides, etc, before we can provide more pointers on how to implement it. It will certainly be more than just a matter of writing HTML in a tpl file (also note: we are on Drupal 9 now which uses *.twig
files, not *.tpl.php
files).
Thought about something similar when I was thinking how the dashboard could be improved. Besides making it configurable per role and user, I also thought about changing its layout:
Some quick mockups of how it could look:
Exactly i expected this only please give source code for that Ui or views
Don’t really have working code for this yet. The screenshots were just some quick hacking in the browser devtools I’ve done in the past to see how it could look.
Actual implementation of these changes would require some more consideration for:
I have used Google Earth to create farm maps with field boundaries, field areas (wet area, waterways), and crop planning information. This link should allow seeing an example of what I have been doing. It would be awesome if my FarmOS crop information automatically populated the pop up notes in my Google Earth maps, or clicking on a Google Earth map field area or marker brought up a FarmOS activity report of some sort. To enter a log entry into FarmOS, click a map field area then select the activity/action, the current state info for the field could auto populate the log entry for location, crop info (asset entries). Potential log entry time saver. Interactive Google Earth farm map