i may be missing something obvious, but here's my situation: i'm using content profile and would like to embed the user's location in his/her content profile using this wonderful cck utility (the block is great, but unfortunately can not be summoned into /user - and that's where content profile is showing (in user profile)

at any rate, will this allow for me to define the macro (width/height/standard centered location) and in turn just present the typical location fields to the users (street, zip, city etc)? i do NOT want them touching the macros themselves! this is possible with the block option in any content type, but not sure how gmap field works this way...

Comments

zzolo’s picture

Title: gmap field: ability to set macro in a content type and hide from users (only expose location fields)? » Ability to Disable User Input of Field?
Category: support » feature

@zilla

The location fields are separate and will show or not show regardless of this module.

I understand your situation, but I have never really thought about it before now. I am not sure what you are referring to as the "Block Option". The Field Permissions module that now comes with CCK may have the ability to do this, but I have never personally used it before.

Another option is to just write this map into your theme. GMap has a good API you can use to create a GMap with markers.

I would like to look at the built in features of CCK and/or other modules before building this into the module.

--
zzolo

zilla’s picture

thanks. just trying to keep users away from the macro - kind of like how views reference can be completely hidden from user - or in location, how country can be 'forced default'

perhaps a macro as a 'forced default' in a content type? but ability to alter the fields (location) just not size or shape?

btw, i've sort of solved this by using blocks - but i was hoping to use this to embed the map into the node, that was why this came up -seems that if it's in the node it's exposed as a configurable macro to users...

i'm going to look at cck permissions to see how it deals with this particular field and will update if it works!

zzolo’s picture

Assigned: Unassigned » zzolo
zzolo’s picture

Status: Active » Fixed

Added in newest dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.