This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

ERROR while loading config page in drupal 7.94

Hi guys,

 when I try to load the config page but I can able to load rest of the pages like  admin/config/development .But when i load this page admin/config/ iam facing this issue 

ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in DOMDocument->loadHTML()(line 22 of echo.install)

and the line is this 
$document->loadHTML(echo_themed_page($title, $content, $theme));

Any suggestions 

thanks,

Need a module to type in search field using Indian scripts

I want to enter text using Indian

Script “Punjabi”, I found a module “indik_script” but it is for drupal 7 and I am using Drupal 10. suggest me any other module which will solve the purpose.

thankyou

javascript function Drupal.t() does not work for me.

I am  using "String overrides:" as indicated in settings.php file

example:

609 # $settings['locale_custom_strings_en'][''] = [
610 #   'forum'      => 'Discussion board',
611 #   '@count min' => '@count minutes',
612 # ];

These are working from php code; however when I use Drupal.t(....) in javascript code, the translations are not picked up.

I see that drupal.js has the code where it reads window.drupalTranslations (which is prepared by locale module)

I tried to look into this in browser console by calling

Site Bot issue with paragraphs_items

I would like to address an issue with site bots on the website. Currently, the URL " /paragraphs_item/374?destination=node%2F1228 " is being read out by site bots on paragraphs items pages. I've attempted to resolve this by adding "Disallow: /paragraphs_item/" to the robots.txt file, but the problem persists. I'm seeking alternative solutions to prevent screen readers from reading this URL aloud. Can someone provide guidance on how to achieve this?

How to start a tour for unauthenticated (guest) users?

I am able to create a tour and show it for admin users, as it has a "tour" button in the top toolbar right hand side. The tour works fine there.

However how can I show/'start this tour for guest users? They see pages that do not have the admin toolbar (and so no tour button)

Please let me know how to approach this. (I am aware that this will need some coding/customization etc.)

Please point me to any application/example code/tutorial etc where this is already in place.

Feeds show up as content

Hi :) I'm somewhat of a newbie... So please bare with me.

I want to add feeds of employee directory to my drupal 10 site.  When I add them, it creates a content for each employee.  I tried searching for this, couldn't find anything here or on the web.  

I don't want the content page to show 1000+ employees, what can I do?  Anyone?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions