Tagged Questions

HTML is language used for rendering the structure and content of a web page.

learn more… | top users | synonyms

1
vote
1answer
11 views

Drupal-8 Css styles not working while included in .info.yml file

For some reason my theme cant find css/style.css in drupal 8. This is the .info.yml: name: Adminimal type: theme description: Drupal Administration Simplified. # version: VERSION # core: 8.x base ...
0
votes
0answers
14 views

SEO for hotel website (integration of another website) [on hold]

The website is for acommodation and i have worked a lot on SEO and it works good. Now i have offer from a company to integrate their base of 150000 apartements, hotels etc. through HTML, XML or ...
-2
votes
1answer
20 views

How to add content into topic item [duplicate]

I want to add content into a topic item on a website. I am using drupal and have admin access. I want to edit code that will return the below objective. How do I access the files that would have the ...
0
votes
0answers
18 views

Add paragragh information under hovered menu items [on hold]

Hi all, I want to add descriptions under my menu items like above (Eg. Home (ADD my description) Products (etc)? Do I have to create children under these menu items and enable these???? Any advice ...
0
votes
2answers
20 views

Title encoding to display correctly foreign characters

In my html.tpl.php file in the <head> tag I display the page title as follows: <title><?php print $head_title; ?></title> This displays the foreign characters not correctly ...
0
votes
1answer
25 views

How to add paragragh information under hovered menu item?

Hi all, I want to add descriptions under my menu items like above (Eg. Home (ADD my description) Products (etc)? Do I have to create children under these menu items and enable these???? Any advice ...
0
votes
2answers
21 views

HTML Form that Passes Information to Hidden Fields Through URL

I am trying to build an html form that is stretched across several pages. My intention is to use the GET method to send all of the fields data in the query string (URL parameters) and then store this ...
0
votes
0answers
20 views

All HTML tags are automatically stripped from views block when placed inside a <select> element

I'm trying to use Views to create a custom block which will display the linked titles of all content of type "promotion" in a dropdown menu. Every result's title is displayed within an <option> ...
1
vote
1answer
45 views

How to hide username displayed in code with Omega 3 theme

Drupal 7 with Omega version 3 theme generates a username class for the article tag in the HTML code, something like : class="node node-page node-published node-not-promoted node-not-sticky ...
0
votes
1answer
23 views

video html5 won't display in content type? [closed]

I uploaded some videos to our site and I can view them just fine using an HTML5 tag in a basic page. <video controls> <source src="sites/default/files/videos/a03.mp4" type="video/mp4"> ...
0
votes
2answers
39 views

Custom search form

I am currently printing the search from like this: $block = module_invoke('search', 'block_view', 'search'); print render($block); Wich generates: <form action="/sescam/" method="post" ...
0
votes
1answer
44 views

Menu link on hover is showing &amp; instead of &

I have a Webform that provides a menu link. The webform is available in three languages (dutch, french, english). For the dutch version I have a menu title of Informatie and description Vragen & ...
1
vote
1answer
27 views

Problem adding html to blocks

I seem to have a problem when adding html to a block (i'm using ckk editor), if i toggle Source it loses them html id tag. If I save the Block without toggling, it works fine, but when I go back in to ...
0
votes
0answers
11 views

Use HTML Special Chars In View Titles Kickstart 2 Omega Theme

I have a number of Views where the title contains HTML special chars, such as ® Unfortunately, Drupal 7 seems to want to not want to escape these and render properly. The displayed output is ...
0
votes
1answer
26 views

JQuery Mobile.js for drupal 7

I'm attempting to add the functionality of jQuery's Mobile.js to allow for the vclick event. I already have a website in place. What would be the easiest way to add this functionality for an admin ...
0
votes
1answer
25 views

How To Simplify The User Registration Page

I'm wanting to really simplify the user registration process using nothing more than HTML, a Field UserType Choice (ie: a: teacher OR b: Student) and a Rules set to set the user to the required User ...
0
votes
0answers
33 views

One page scroll not working

I'm using OnePageScroll.js for my Drupal website but somehow the Javascript file isn't doing anything. Everything is perfectly imported, even the .js file. I put an alert box in it and it worked but ...
1
vote
1answer
28 views

Variable containing HTML is not rendering when sent by message notify

I am trying to send an e-mails with message notify and rules, everything is running pretty good, but there's one variable which contains a "HTML code", It describes a table of items that were bought ...
0
votes
0answers
48 views

Ampersand character ( & ) being changed to &amp; in the text field (BBcode)

I just noticed that when i type in an Ampersand character (&) into my bbcode text field, its shows up printing the html code (&). What is the cause for this, and how could i correct it?
0
votes
0answers
17 views

Switching from Wyswig to no filter removing <p> tags

Is there a way to get the tinyMCE with the wyswig module to not remove the <p> tags added when switching from wyswig which uses tinyMCE to no filter which does not?
1
vote
0answers
29 views

How to add multiple meta tags with the same property?

I'm trying to set up OpenGraph tags on a page containing a video. I'm currently setting up the usual sorts of <meta property="og:video"...> tags with calls to drupal_add_html_head(), and that's ...
0
votes
2answers
92 views

Drupal 7 computed field value in view

I'm really stuck displaying content type's computed field in view. Computed field value calculated properly and stored in database (value is a generated HTML code), but in view I get HTML just printed ...
0
votes
0answers
17 views

customize ubercart payment gateway error message USAePay

We're currently using D6 and Ubercart with the USAePay gateway. Unfortunately, the USAePay gateway does not handle international postal codes very well. But when it returns an error the HTML is ...
0
votes
1answer
33 views

Wrap div around results

In a content node, I wanted to wrap a div around some results. For example: I have this inputs: Image Title Body Address Email Name And I wanted to have divs like this: DIV Image Title /DIV DIV body ...
-3
votes
1answer
43 views

How to give space between rows of a table [closed]

I have a view in Drupal and I want to give more space between elements rows. How do I do it?
0
votes
3answers
116 views

HTML after label radio button (depending on radio button)

I need to add some html to specific radio buttons. This is a picture to clarify what I'm looking for: As you can see I want to add some text to the options. These are radio buttons where you can ...
0
votes
2answers
35 views

Do not want <footer> HTML tag when using footer region

After running W3 Markup Validator on a site of mine, I received the following error: Line 219, Column 57: element "footer" undefined <footer id="footer" class="region region-footer"> ...
0
votes
0answers
28 views

Full HTML Block displaying incorrectly to Anonymous

I have been looking for help on this issue for awhile, but I can't seem to crack it. For some reason, I need to have "Bypass content access control" enabled to get this to look correctly. I may be ...
0
votes
0answers
42 views

Drupal 7 showing literal php code as HTML after transfer

I am in a strange problem. I had a site transfered to one server to another and the new server is showing me literal code of PHP after transfer. The epicness of weird situation is that the front ...
0
votes
0answers
95 views

It is posible to change the css (background-color) of an html code with ajax in a form?

I've done the next form. That has the next code. $form['secciones']= array( '#type' => 'vertical_tabs', '#default_tab' => 'edit-tab2', '#prefix'=>' ...
0
votes
1answer
36 views

Add html to registration page

I have a registration form, and in the beginning of my registration page I want to show a title, subtitle and an image. A wireframe is like this: As you can see there are checkboxes (select field) ...
-1
votes
1answer
32 views

Link static HTML, Javascript and CSS3 in a Drupal Site

I am trying to have collaborative development of a HTML5 web app which people could navigate too through my drupal site. I was planning on putting the html, JS and CSS3 files in my sites/default/files ...
0
votes
0answers
25 views

method replace dosn't work in ajax form

I've a select form that implements ajax. When the value of the select change an other form has to change. You can see in the next code. $form['a1']= array( '#type' => 'select', ...
0
votes
0answers
34 views

Using ajax in forms

I've done the next form: It has html code, and some radiobuttons. $form['diagram']= array( '#type' => 'vertical_tabs', '#default_tab' => 'edit-tab2', ...
0
votes
0answers
25 views

convert uploaded file to html

I want to convert the files which user upload in a content type to be converted into html. the uploaded files can be of image or a pdf file. How to achieve it? I am trying to use the pdf formatter ...
0
votes
1answer
99 views

Add html code to a content block

I need to insert an html code into a content block. As the html code has some javascript links and css, I've done a module to include all the references in the .info file. The problem is that I don't ...
0
votes
1answer
25 views

What to do if we want a input format for select options of a webform?

I have a web form with select option field whose value is quite long. I cannot use css to configure this. I need to use input format so that I can break this option using HTML code. Is there any ...
0
votes
1answer
215 views

Drupal add fieldset inside form and wrap all form elements under that fieldset

I want to add fieldset tag inside form tag. Also i want to wrap all the form element under this fieldset. I'm using the following function to change the form design and html. MY CODE: function ...
0
votes
3answers
96 views

How to print preprocess_html variables in page.tpl

I have variable in template.php to use in different files like page.tpl, but written this in preprocess_html function as below, how can i print this in page.tpl and html.tpl file. ...
0
votes
1answer
29 views

How the heck can i create a hyperlink and also a mailto link in a node?

I need to create external hyperlinks to external pages and also mailto links. but when doing so Drupal prints the code, ie i downloaded a link module which was okay except you could not remove the ...
6
votes
3answers
363 views

What is the fastest way to convert a large volume of documents (.html) to drupal nodes

How would you go about creating a large number of nodes from a large number of html documents? I am trying to create something similar to a book and have a lot of .docx files on my computer. I am ...
-2
votes
1answer
38 views

HTML change in A drupal site [closed]

it has been suggested to me to delete this code piece from my site's files: <link rel="shortlink" href="http://www.panchers.co.il/node/1" /> The problem is I haven't found the file which ...
0
votes
1answer
39 views

Printing a drupal 7 user field into a link

Ok so my goal here is to allow users to link there social media profiles onto their user pages. So i tried to print the field within an href statement so it would come out as a link. For example if ...
0
votes
1answer
34 views

Upload and download doc,pdf file

in my site,i want users(students and teachers) to upload a file and and download the same by rest of the students and teachers.. is it possible? if so how can it be done.is there any module.
0
votes
3answers
115 views

How to use checkbox under description of any webform field?

I am using webform module where I have a text field named Mobile Phone Number. I wanted to use checkbox under the text field as shown below: The content can be written in the description of that ...
1
vote
2answers
640 views

Pass the value in a field into a colorbox popup

Is it possible to dynamically change a link on a colorbox popup a specific field value? I have a view displaying a list of external links that have been added using a custom content type. And what I ...
1
vote
1answer
19 views

Drupal Webform Customization

I'm using drupal 7, and I'm having a lot of trouble using the webforms. I have a set of radio buttons, but each radio button needs to have an associated input field with it. Code example: <input ...
0
votes
2answers
63 views

How to Create a Blank Page

I need to create a completely blank page in Drupal. For simplicity sake the entire page should display the following: <html> <body> <h2>Hello World!</h2> ...
0
votes
0answers
37 views

URLs with ampersands getting munged to HTML entity

I have a Nivo Slider set up with Views Nivo Slider. Used the Slider Data module, v. 7.x-1.1 to set up the data type including a URL field. Everything works unless the URL has query parameters that ...
-2
votes
1answer
168 views

integrate html, css code into a drupal theme [closed]

My client has hired a vendor to create html, css, javascript for a website and we are planning to use Drupal as CMS for this website. I'm one of the front end devs involved in choosing a base theme ...