Hi!
I maintain a non-commercial, Drupal based webcatalog of civic applications: http://aplikacjespoleczne.pl/ mostly for PL but also international.

When building it, the developer added a field of link type bypassing the CMS (as it was to be moved to another place on the page, and this way apparently it was easier).

I would like to just change the label of that repeated, "non-CMS" field now.
How to find the place / file where it's defined? Where / how to look for it?
See here for illustration.

I can see when I inspect the webpage:
See here for another illustration.

And as said before it's not in the Drupal's Structure > Field management section so I can not just go and edit the label there.

Thanks so much!!!
Weronika

Comments

steeph’s picture

There are a number of ways how this could be done. Hopefully the developer created a module for these fields. In that case it should sit in /sites/default/modules/ or /sites/all/modules/. But it also possible that e.g. an existing module was modified improperly.

WeronikaG’s picture

He had a fraction of the time he should have had to develop it, So it was probably the least time consuming method ever.
Hard-coding comes to my mind, not any elegant solutions ;)

jaypan’s picture

Since it's bypassing Drupal altogether, it's doubtful we will be able to help you with this, since there are any number of ways it could be done, and we will have no idea how the developer decided to do it.

Contact me to contract me for D7 -> D10/11 migrations.

WeronikaG’s picture

I can imagine that, but I was hoping that there are less then too much number of ways to find out where that sits.

fkelly12054@gmail.com’s picture

If you have direct access to your MYSQL database, for instance through PHPmyadmin, you might rummage around in there. Maybe the consultant created a new table with a couple of fields just for this application. You can modify field values with PHPmyadmin also. Have a database backup before you mess with this.

If you have the code for the system accessible to an editor and you know what the field is called, you could do a global search for it in the code base. That may indicate where in the system the consultant put the code.

WeronikaG’s picture

i do have the access there, so i'll have a look, thanks!

samitdude’s picture

You can use Jquery to alter it

$(function(){
$('#coolPageLink>div.linkHeader').html('Change Me');  //its not exact code its just for an idea
});
WeronikaG’s picture

Thanks so much