Questions about 'HTML' not related to Drupal should be asked on 'Stack Overflow'. Don't use this tag to generally mean the question is about HTML code.

learn more… | top users | synonyms

0
votes
0answers
19 views

how to create thumb up using rate module in drupal 7

I am new to Drupal, I am trying to create a thumb up sign in my website using rate module. But it gives option 'thumb up/down' or 'thumb up' only. Is there any way to make a sign of thumb up so that ...
0
votes
0answers
16 views

different HTML-structure with other languages

When I add a new basic page in default language, the HTMLstructure is like: <div class="block block-system block-main block-system-main odd block-without-title" id="block-system-main"> ...
0
votes
0answers
43 views

Trying to import news using Feeds xPath html parser

been trying to make this work for the pass week now, and can't seem to be able to. I'm trying to import news from a site where there are listed news in a part of the site. All my xpath query works ...
0
votes
1answer
25 views

how to `absolute` position an image over another image? [closed]

I want to position an image over to appear over another image at a fix position, even if that other image changes its location due to resizing of the browser window. My URL: http://spabc.com/drupal/ ...
0
votes
0answers
15 views

Image as link to content does not work in views nivo slider

Details: Drupal 7.38 Views Nivo Slider - Link image to content View as a Block. I formed a view with nivo slider. In which I want my images are linked to the content. But the link is not working. ...
1
vote
0answers
19 views

override the HTML of a single menu block

Good day all. I'm new to drupal, and I could use a little help. I got the override idea, and I try to stick to this, now, I have a menù, on the upper part of the site, that needs a different HTML ...
1
vote
2answers
58 views

t() function doesn't render HTML

It is the t() function and the way I assigned value to a body field $my_body_content = t('!frequency new comment(s) sent to <a href="!url">!title</a>', array('!frequency ' => ...
0
votes
1answer
16 views

Added mail.css file to mimemail theme folder, now cannot get rid of mail send error

I added a test mail.css file to /sites/all/modules/mimemail/theme. Obviously I wasn't meant to. Now when the webform module is meant to send an email, I got an error; No e-mails were able to be ...
0
votes
2answers
19 views

Access .html file only if logged in

How do you restrict a .html file/page with drupal so that only logged in users can access it? Basically I have this .html file I need to put up, I don't care whether or not it's a content-page or ...
0
votes
1answer
24 views

Create node content from external HTML

After a few attempts browsing the web, I don't figure out how to download HTML from a given url, and create node content from it. What I would achieve is quite simple : Have a link-like field in my ...
0
votes
1answer
11 views

Cronmonitor with import-html

So I'm trying to get the import-html module to import files every time there is a cron run. However, I was hoping someone could help me understand what the format of file_list, profile_id, and ...
-1
votes
1answer
37 views

A delicate Drupal SEO issue - Site name & Slogan VS Site logo only

I use the "Natural" Drupalistic way of showing the site's most basic details or page elements --- i.e via "Site name" & "Site slogan". It seems to me that using a site slogan helps my SEO very ...
0
votes
1answer
30 views

Periodically invoking modules

So I have the module import_html and I'm trying to figure out if there is a way to periodically invoke it so that it imports new html files. Is there a way to periodically invoke modules with a ...
1
vote
1answer
21 views

HTML in square brackets -> output as normal HTML

We do import (using Feeds_ex) some data into Drupal (we do not control data-source we use to import data) and these data contains HTML in a brackets. so far I have found these 3 brackets: 1. [b]bla ...
0
votes
2answers
56 views

Inserting custom HTML using tokens

I'm trying to reduce repetitive coding by adding my own static HTML content into some form of reusable token that can be added into page bodies amongst regular code, but can't find a method. Here's ...
0
votes
1answer
80 views

How can I create a custom html tag in the CKeditor wysiwyg editor?

I've created a custom HTML tag that pulls information from my database and displays it. Basically it uses preg_match_all to parse the body of articles for <profiletag>Person ...
1
vote
1answer
21 views

Adding ASCII characters to HTML links in Drupal

I've written the decimal HTML entry of the "Logical or" ASCII note in a menu-link and yet I don't see the character. What I do see is the decimal HTML entry... Why is that? Is this problem solvable ...
0
votes
1answer
159 views

How to add <meta http-equiv=“X-UA-Compatible” content=“IE=edge”> to the header

I'm attempting to figure out a way to add <meta http-equiv="X-UA-Compatible" content="IE=edge"> to the header of my pages. I've heard that you could add it in your theme settings but I ...
0
votes
0answers
23 views

How to avoid Onclick event returning old output along with new output

Using db_select got the data(path to csv file) from database, bind it to table(themes) and returned table as output. Each row in the table as hyperlink named "Plot" as shown below. When user clicks ...
0
votes
3answers
38 views

Drupal 7 treat html 5 data attributes as text

First I wound like to clarity i am not asking for code. This code work on html 5. I create basic page in drupal and implement same code: <div data-top="opacity: 1" data--400-top="opacity: 0" ...
0
votes
2answers
17 views

Expanding the HTML view

I am new to Drupal and am having trouble getting my custom HTML to take up most of the page. As you can see below, it is confined to the center and takes up a tiny percentage of the screen. Here is ...
0
votes
0answers
11 views

html_title module is not working in case of indexed content view

I am using html title module for using html tags in node title. It is working fine on node and other pages , But I have implemented search using search api and apache solr . So search content is ...
0
votes
1answer
107 views

Why am I getting “Your browser does not support iframes” in multiple browsers?

I want to display a third party page within my theme and thought an <iframe> should do. However, I added the <iframe> to my basic page, selectingFull HTML but all I'm getting is Your ...
0
votes
2answers
31 views

Display a view inside a <nav> and <ul>

I have a view that outputs list items as links. Like so Link 1 Link 2 Link 3 Link 4 I need to be able to wrap those items in <nav class="customclass"> <ul> And close them. ...
0
votes
2answers
35 views

Can you make a node title \ heading link to it's NID?

I'm looking for a way to click a node's title to refresh it's very page. For example, if the current node is node/1 and I'll click it's title \ H1 the page will be refreshed... Tried to go to > ...
4
votes
0answers
44 views

Is it possible to include HTML embeds like Twitter on the WYSIWYG section of the CKEditor in D7? [closed]

I have staff writers who want to include embedded tweets in their articles. However, they don't know HTML and aren't able to use the "source" section of the editor. Is there a way to embed the HTML ...
0
votes
1answer
11 views

Using views_embed_views() to generate content for an email message. How can I get it to insert images and urls correctly for this purpose?

I am using views_embed_views() to generate content for an email message. How can I get it to insert images and urls correctly for this purpose? Or, asked another way, how can I put the contents of a ...
1
vote
1answer
30 views

Is it possible to programmaticaly change the HTML rendered by Drupal 7?

Imagine that we have a project completely finished, with lots of modules, themes, etc. Is it possible at all to have a module, which will be called at the last stage, and change the HTML output. For ...
0
votes
1answer
64 views

use jquery to add a div wrapper to a dynamically created drupal modual div [closed]

I need to add a div with class=row around a bunch of divs that are being dynamically created by a drupal module (cant do it in the view either) i was trying this, but since it is created dynamically, ...
0
votes
1answer
44 views

How to change programmatically the link of a field in a View

I have a View, with a hidden field with a URL, and an image field which has the following property: Output this field as a link and linked to the URL field: [field_url_slider] and _blank as Target. ...
1
vote
2answers
65 views

Getting “--> ;” on front page after editing custom html.tpl file [closed]

I am newbie and using Drupal - 7. I have added script tags into my customized html.tpl file. <script async ...
0
votes
0answers
21 views

How to stop Views from encoding HTML?

I'm using the Views module to organize data from my own database tables on a page. Some of that data is text that includes HTML, such as "<strong>" and "&#151;" to govern the details of its own ...
0
votes
1answer
13 views

Static Html elements on different pages

So, I have a frontpage where I simply have a big image and a button that leads to a second page. On that page I want this: Which are two sections. However, when I'm on the contact page I don't want ...
1
vote
1answer
25 views

why drupal reads js from external url?

at the top of my page drupal reads something like this: <html class="js" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" ...
0
votes
1answer
26 views

GTM container in block appears as regular text even though set to be Full-HTML

I have opened a block at the header of my site and have putted the GTM-container code inside while at Full HTML input-format. Yet, the container code appears as regular text (<p>&<a>) ...
0
votes
1answer
98 views

How to set up html email from rules?

I want to send a HTML email from rules but I cannot get it correct. Installed mime, html, mail. Created rule. only a trigger and action send html email. In the rule: no message key defined, subject ...
0
votes
1answer
36 views

Rendered block doesn't match HTML source

I have entered HTML into the body of a block with the Full HTML filter (with all filtering disabled). I am using CKEditor with ACF completely disabled. The editor shows me the source rendered the ...
2
votes
3answers
145 views

How to create and send an HTML formatted eMail using CSS?

I am going crazy in making a welcome eMail in Drupal. What I want is sending a nicely formatted eMail using HTML and CSS. I do not need to send an eMail to user except a welcome eMail after user ...
0
votes
1answer
43 views

invoking a block and attaching it to a specific html element

I have been having this problem for quite some time now and I don't know how to proceed. I am trying to get a block by invoking it, the simple way: $block2 = module_invoke("module", "block_view", ...
1
vote
1answer
167 views

How to send HTML/Rich text email from /contact

I want to allow other text formats on the /contact form than just plain text. I haven't been able to find a module that does this. Is it possible to do this in D7?
0
votes
1answer
45 views

HTML img code does not work?

I'm using Drupal7 with CK editör. When I add html code for an image (<img src="...") I can see it on the editing page; but when I save it, I can't see anything on the page. How can I solv it?
0
votes
1answer
54 views

HTML comment based tokens in hook_views_post_render()

I am trying to figure out why my HTML comment based tokens are not getting replaced in hook_views_post_render(). I have a view where I've got a couple of fields, let's say, nid and the content title. ...
0
votes
1answer
45 views

Adding html subsites to Drupal 7 installation [closed]

Newbie here, and would appreciate any insight. I have a Drupal 7 site and am looking to create a few small HTML subsites (e.g., Drupal site www.mykittenmittons.com, html subsite ...
0
votes
1answer
147 views

send user registeration mail in html format

I want to send any email of my site in HTML format, I install smtp , mimemail and mailsystem modules, and smpt configured correctly and test it(I check Allow to send e-mails formated as Html), also ...
0
votes
1answer
103 views

How to display plain html

I have inherited a drupal site with a few modules. They're not exactly written according to best practices... they return html code instead of renderable arrays. In other words, they do this: ...
1
vote
2answers
18 views

Is Drupal cache as set in the core enough for simple sites?

Let's imagine a site which is almost completely static. There are news which are rarely updated and from time to time some new content in the form of more news. If there are only anonymous users apart ...
0
votes
0answers
33 views

Adding a styled progress bar under Form Title but above #prefix text in Custom Module

I have a multi page form. This form has a title set in the hook menu function at the top as they are wont to do. It displays the title of the form, with this code: 'title' => 'The Tool', I then ...
1
vote
3answers
727 views

Add <a href> link around each row in views

So basically i want to add a link to original node around each row in views. I have added the following code to the style and row template override in views. Both come up with the same result. ...
0
votes
1answer
86 views

Page Title outputting leading/trailing whitespace within H1

My Drupal 7 site is printing out leading and trailing whitespace and a line break within the page title <h1>. The following is an exact copy and paste of the HTML that's being delivered to the ...
1
vote
3answers
33 views

Export menu to html?

The project I'm working on has a specific requirement where I need to export the main menu as an HTML file. I figured the simplest way to do it would be using views but I found that views doesn't ...