我是Drupal 8的新手,想为IEF参考标题添加字段值。目前,我正在使用自动实体标签版本2.x-dev自动为我的实体生成标题,但是当涉及到IEF引用时,我希望获取父级的名称作为IEF的标题。作为示例,请参见下图
然后我要添加一个新的IEF实体,该实体使用“自动实体”标签自动生成标题
如您所见,它只说完成了15%,但我希望它可以完成堆栈溢出15%
这是我在“自动实体”标签中选择的标记,以在IEF参考中显示名称。
[entity-x:field_name] - [task:field_percent_complete] % Completed
Run Code Online (Sandbox Code Playgroud)
此令牌模式放置在Task实体中
注意:我Entity-x和Task是系统中的两个不同实体
<th>我有下表,想在页面加载后根据position属性值用jquery对表列重新排序。
我查看了以下解决方案,但无法解决我的问题:
<table>
<head>
<tr>
<th position = "3">Email</th>
<th position = "1">Name</th>
<th position = "2">Phone</th>
</tr>
</head>
<tbody>
<tr>
<td>Ali@gmail.com</td>
<td>Hamid</td>
<td>0776567432</td>
</tr>
</tbody>
</table>Run Code Online (Sandbox Code Playgroud)
在 Drupal 8 中运行drush cim命令时,出现以下错误:
Command cim was not found. Drush was unable to query the database. As a result, many commands are unavailable.
Re-run your command with --debug to see relevant log messages.
Run Code Online (Sandbox Code Playgroud)
当我运行节目时,drush cim --debug显示以下内容:
$ drush cim --debug
[preflight] Redispatch to site-local Drush: C:\xampp\htdocs\executive-coatings\docroot/vendor/drush/drush/drush.
[preflight] Config paths: C:/xampp/htdocs/executive-coatings/docroot/vendor/drush/drush/drush.yml
[preflight] Alias paths: C:/xampp/htdocs/executive-coatings/docroot/drush/sites,C:/xampp/htdocs/executive-coatings/drush/sites,C:/xampp/htdocs/executive-coatings/docroot/drush/sites
[preflight] Commandfile search paths: C:\xampp\htdocs\executive-coatings\docroot\vendor\drush\drush\src
[debug] Bootstrap further to find cim [0.27 sec, 6.78 MB]
[debug] Trying to bootstrap as far …Run Code Online (Sandbox Code Playgroud)