External link setting

43 views
Skip to first unread message

Nico Aliotta

unread,
Jun 11, 2017, 2:15:15 AM6/11/17
to opentreemap-user
where will be added the external link? can you explain how it works?
says:
Specify an external link to be placed at the top of the tree detail page.

i cannot see nothing in detail page of trees

Deborah Boyer

unread,
Jun 12, 2017, 2:29:25 PM6/12/17
to opentree...@googlegroups.com
Hi Nico,

The external link appears at the top of the tree detail page, and there is a setting on the Roles management page (/management/roles/) to set which user groups are able to see the external link. The attached screenshot shows the link at the top of the page (Check out this great tree site).

The external link can be set on the /management/external-link/ page. The management page functionality is available in the most recent OpenTreeMap release.

Thanks,
Deb

--
You received this message because you are subscribed to the Google Groups "opentreemap-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentreemap-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Deborah Boyer, Project Manager
Azavea |  990 Spring Garden Street, 5th Floor, Philadelphia, PA 
T 215.701.7506  |  Web azavea.com  |  @azavea 


Screen Shot 2017-06-12 at 2.25.46 PM.png

Nico Aliotta

unread,
Jun 14, 2017, 9:18:49 AM6/14/17
to opentreemap-user

i cannot save the rules! (see attached image)

do i've to chmod some file?

another question about external link, can i add a pdf link for each genus of tree with botanical infos?

Immagine.png

Nico Aliotta

unread,
Jul 6, 2017, 5:06:40 PM7/6/17
to opentreemap-user
Firebug console doesn't give me errors but i cannot save the changes in rules page

Justin Walgran

unread,
Jul 6, 2017, 5:38:20 PM7/6/17
to opentree...@googlegroups.com
In the network tab, can you see an AJAX request being sent when clicking the “Save” button?

On Thu, Jul 6, 2017 at 2:06 PM, Nico Aliotta <nicoa...@gmail.com> wrote:
Firebug console doesn't give me errors but i cannot save the changes in rules page

Michael Maurizi

unread,
Jul 6, 2017, 5:42:11 PM7/6/17
to opentree...@googlegroups.com
Also, you should really stop using Firebug, and stick to the built-in developer tools instead, as Firebug is now deprecated: http://getfirebug.com/

On Thu, Jul 6, 2017 at 5:38 PM Justin Walgran <jwal...@azavea.com> wrote:
In the network tab, can you see an AJAX request being sent when clicking the “Save” button?
On Thu, Jul 6, 2017 at 2:06 PM, Nico Aliotta <nicoa...@gmail.com> wrote:
Firebug console doesn't give me errors but i cannot save the changes in rules page

--
You received this message because you are subscribed to the Google Groups "opentreemap-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentreemap-us...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "opentreemap-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentreemap-us...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--

Michael Maurizi, Software Developer
Azavea |  990 Spring Garden, 5th Floor, Philadelphia, PA
mmau...@azavea.com | Web azavea.com  |  @azavea
Message has been deleted

Nico Aliotta

unread,
Jul 7, 2017, 1:16:43 PM7/7/17
to opentreemap-user
in console of firefox developper edition i can see:

TypeError: $(...).data(...).split is not a function
 
in   roles.js:97 
this is the line 
 var roleIds = $(dom.roleIds).data('roles').split(','); 

Nico Aliotta

unread,
Jul 7, 2017, 1:45:07 PM7/7/17
to opentreemap-user



Ricard Roca Munárriz

unread,
Jul 11, 2017, 2:44:28 PM7/11/17
to opentreemap-user
Hello, I have the same problem at the same spot. The error log says:

TypeError: $(...).data(...).split is not a function[Saber más] roles-ec74a9a79485178620ea.js:101:20
getRolePermissions http://test.net/static/js/manage_treemap/roles-ec74a9a79485178620ea.js:101:20
Next.prototype.fmap/< http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:10381:17
cached/< http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:12355:20
Observable.prototype.flatMap/</</< http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:10824:26
Dispatcher/this.push http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11440:24
handleEvent http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11471:19
Dispatcher/this.handleEvent http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11478:17
Dispatcher/this.push http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11440:24
Observable.prototype.map/</< http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:10612:21
Dispatcher/this.handleEvent http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11478:17
Dispatcher/this.push http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11440:24
handleEvent http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11471:19
Dispatcher/this.handleEvent http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11478:17
Dispatcher/this.push http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11440:24
Observable.prototype.doAction/< http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:10651:17
Dispatcher/this.handleEvent http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11478:17
Dispatcher/this.push http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11440:24
handleEvent http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11471:19
Dispatcher/this.handleEvent http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:11478:17
Bacon.fromBinder/</unbinder< http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:9965:20
dispatch http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:5219:16
add/elemData.handle http://test.net/static/js/treemap/base-319dc45b94e76b099afe.js:4891:7

Justin Walgran

unread,
Jul 12, 2017, 11:44:35 PM7/12/17
to opentree...@googlegroups.com
Here is the line of code we are discussing


The code is expecting $(dom.roleIds).data(‘roles’) to return a string. If it is returning something else (like a list) then you will see that message. For example:



Are you able to set a breakpoint on the failing line and inspect what the value of $(dom.roleIds).data(‘roles’) ?

--
You received this message because you are subscribed to the Google Groups "opentreemap-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentreemap-user+unsubscribe@googlegroups.com.

Ricard Roca Munárriz

unread,
Jul 13, 2017, 3:16:01 AM7/13/17
to opentreemap-user


It says his values are undefined:






El dijous, 13 juliol de 2017 5:44:35 UTC+2, Justin Walgran va escriure:
To unsubscribe from this group and stop receiving emails from it, send an email to opentreemap-us...@googlegroups.com.
Auto Generated Inline Image 1
Reply all
Reply to author
Forward
0 new messages