HTML is language used for rendering the structure and content of a web page.
2
votes
0answers
23 views
How to convert bold to strong, italic to emphasis on pasted text?
I'm using Paste Format to clean up all text pasted into CKEditor (setup with WYSIWYG API), and it does a great job at this. Both the text format for users, and the text format that pasteformat uses ...
1
vote
1answer
26 views
How to control the order in which the markup for fields appears in the outputted html source for content?
Is it possible to control (as in change) the order in which the fields appear in the html markup?
On admin page for a content type admin/structure/types/manage/<content type>/fields and in the ...
-1
votes
0answers
30 views
Changing some HTML and CSS in a theme design [closed]
Whoever wants to see the website for reference go to http://mscair.tk
Also, the sidebar contents are visible on any other page but the front page.
So I am using the Blue Masters Theme, now I wish to ...
0
votes
2answers
34 views
How to add HTML tag in Drupal block ?
I would appreciate your help in my problem with html tagging or css class in blocks.
I've tried Field Formatter Class and Field Formatter CSS Class modules, but with those I only could add class to ...
1
vote
1answer
45 views
how to add parameters to html email template
I have a working html email using modules: Mail System, HTML Mail, SMTP Authentication Support.
And I want to include some parameters/variables in the html email template file:
...
2
votes
3answers
71 views
How to convert an HTML website to Drupal 7 nodes?
I have a website that I want to move to Drupal 7. It is in HTML. I want the content to be in nodes. I don't know much about Drupal and so I need help doing this. I don't want to create a new theme ...
0
votes
0answers
20 views
Deleting unwanted code [closed]
I am not sure how this happened, but an undesired banner with links to some unknown company appeared at the bottom of my website in all the pages. It almost looks like malware, but it is definitely ...
0
votes
1answer
27 views
Force using specific filter text on a content type
How can I limit the text filter type upon a textarea field.
Example (the needed result would be like this) :
Authuser is a role that can change the value of textarea_1 and textarea_2 on ...
0
votes
1answer
27 views
Adding and reading a static html page with
I have an interesting assignment.
The requirement is that the user can upload a folder,containing static html, css, js files.
And a link is generated
So, then I don't want to have any drupal styling ...
0
votes
2answers
25 views
banner image showing on all pages except forum and views result pages
My image is showing on all pages except the forum and classifieds result pages.
How can I make sure it shows on all the pages?
In the block I have selected all pages and not checked any of diff ...
0
votes
0answers
25 views
Menu link - send value to drupal view
think I am on the last leg of this drupal site, but I can't figure something out. I have a book feed that is pulling in from amazon. I have a created a collapse-able tree menu using simpleTreeMenu.js ...
0
votes
0answers
28 views
Keep Drupal Content HTML in uglified/indented state [closed]
When I am adjusting content, I click on the source I want the html to be in an uglified state, so it is easier to navigate, without having to copy and paste the html into HTMLLint, then into Sublime ...
1
vote
0answers
51 views
How to show html <input> marks to Views Custom text - field?
I need to put < input > - html tag to my Views Custom text field, but it wont show up? Somehow these codes will be disabled? What I need to do?
I tried to find solutions from web, but I didnt ...
4
votes
3answers
88 views
Issue in converting a HTML Link to Drupal Link using l() function
I have created a HTML anchor link. Now i need to convert this link to Drupal's link using l() function. But i am not getting what i want. I am new to this Drupal environment.
HTML Link :
<a ...
-1
votes
1answer
57 views
How can I add keywords in my site without module?
I'm using Drupal 7 and want to add meta tags in my theme. How can i do it without any module?
0
votes
0answers
17 views
Theming Panels (html) [duplicate]
I'd like to render my html / dom a bit simpler, more semantic, as Panels seem to add some unnecessary divs..
On Drupalcontrib I saw some theming helpers, but the only that seemed to have a real ...
0
votes
1answer
51 views
Simple HTML block with edit permissions [duplicate]
I often come across the need to add a block, typically using panels, in order to add basic custom html content. This content might be below a view or form, or in a sidebar.
The main purpose is to ...
0
votes
0answers
107 views
Add Anchor Link To Comment Form
Hello i have an anchor link set up bottom etc etc. I am finding it hard to locate what tpl file i should be adding or altering to ad the link so as i link to the comment box itself. I can get it in ...
0
votes
1answer
99 views
How to make the pdf files downloadable?
I am able to display file with url: For example
echo '<a href="'.$file_url.'" target="_blank">'.$path_parts['basename'].'</a>';
How can I make this file downloadable? In case of pdf ...
1
vote
2answers
41 views
Stripping the wrappers in a custom field d7
I have a custom field in d7 and I output it as
<?php print render ($content['field_product_image']);
The problem is it wraps around a whole load of stuff. How can I get in and edit this html? ...
0
votes
1answer
53 views
How to Add DOCTYPE?
In Css Child selector is not working in IE 7 and IE 8. I google this problem and found that after adding a DOCTYPE it will solve. I add a DOCTYPE in maintance.tpl.php but it is not showing in souce. ...
0
votes
1answer
65 views
Use custom HTML file for page created by Views?
I use Views to create new content and a new page for the content, but how am I supposed to customize the HTML layout of the page? I can style elements of the page via CSS, but what if I wanted to have ...
-1
votes
1answer
36 views
Using custom CSS3/HTML on generated pages? [closed]
I created new pages on my (soon to be) photography website using Panels and Views. I want to have my own hover effects for pictures on my albums page. How am I supposed to use custom HTML and CSS3 ...
0
votes
3answers
79 views
Drupal equivalent of wget (with permissions)?
I'm working on a drupal 6 module and need a way to save a static html version of a node to the server, using the user's permissions. Basically I need the equivalent of "wget -O out.htm ...
0
votes
2answers
74 views
How can I modify body class based on non-taxonomy node data?
I need to add a custom class to my html <body> tag when certain elements are present in content (namely, either a featured image or image gallery, both of which are added to content using Entity ...
0
votes
0answers
71 views
Send Drupal HTML Formatted Email with SMTP
I'm trying to send html formatted emails through drupal using smtp module, i've also enabled mail system and html mail for enabling that but for some reason it's still not sending them formatted. Any ...
-2
votes
3answers
126 views
Is there a Drupal 7 module or theme where you can stretch a big JPG as the body background? [closed]
I'm looking to make a big jpeg as my background where it stretches and also stays static even if the browser is resized or viewed with a bigger monitor. Was wondering if there was a module that gave ...
0
votes
0answers
123 views
Mime Mail & HTML Mail modules
Simplenews & Send by email (Print)
The following settings enable the send by email function to work
Site-wide default - DefaultMailSystem
HTML Mail module class - HTMLMailSystem
Mime Mail module ...
1
vote
1answer
63 views
Image not showing in page footer.
I need to display an image in the page footer using tag. In my page.tpl.php I have the following block.
<div id="copyright">
<img src="../images/logo.png">
<p ...
-1
votes
1answer
73 views
how to display an image in theme using img tag?
I need to display an image in the page footer using tag. In my page.tpl.php I have followed block.
<div id="copyright">
<img src="../images/logo.png">
<p ...
0
votes
0answers
89 views
Prevent Drupal 7 from adding whitespace to the source code
I like to use HTML when adding content to the body of my nodes. I like to keep the HTML clean and uncluttered. I like HTML that has semantic meaning.
I indent using 2 spaces instead of a tab, which ...
0
votes
0answers
34 views
Views Template Images
I try to make my first views template. I need following for a image gallery based on ZURB Foundation 3 Clearing.
<ul class="block-grid three-up" data-clearing>
<li><a ...
0
votes
1answer
352 views
How to enable Ckeditor for email templates?
I have installed HTML Mail module, to send HTML emails and it is working fine and sending email in HTML format. Now i wanted to load CKeditor for email templates textarea, as html email will be ...
0
votes
1answer
314 views
How to add html to title output of taxonomy terms in Drupal 7?
I just cant figure it out. How can change the title output of a term?
I have a content type which displays the selected terms. The term is displayed as a link. How can I change this:
<div ...
0
votes
0answers
87 views
Html gets converted to plain text
I'm working in a module that allows users to add notes to images. I'm using the Form API reference to create the form field. In edit-mode the HTML works (links get rendered correctly, etc.), but when ...
1
vote
2answers
168 views
Calendar module: Where is the pager markup? How can I translate it?
This is so driving me insane. I installed this: http://drupal.org/project/calendar
Now I'm trying to get the 'Next' and 'Prev' links in the monthly calendar to translate. Those strings don't show up ...
1
vote
2answers
391 views
Allowing HTML in block title - where is $block->subject created?
I want to get a <br> tag into a block-title but by default the brackets are turned into html characters. My theme's block.tpl is
<h2<?php print $title_attributes; ?>><?php print ...
0
votes
2answers
90 views
How to update a field programmatically and keep the fields format and array structure?
I'm trying to update a field with the format full_html. But when I'm updating the field, all the html tags will disappear and the old text is still there in the safe_value. So how can I update the the ...
0
votes
2answers
332 views
<class=“”> in product title on new product type drupal commerce kickstart
I created a custom product variation called Switch Plate and on the product displays it is showing Product Name on the title I installed from the 2.0 version of Commerce Kickstart it only shows on my ...
2
votes
1answer
541 views
How to create html page via module drupal 7
I am new in Drupal. I have created a form which saves the values to custom table how ever I want to display those items in a tabular format. Does any one know how to create a custom page where I can ...
1
vote
0answers
73 views
How can I conditionally insert extra header data on Drupal 6 pages?
I'm using Drupal 6 with the WebForms module, and my entire site uses https.
I need to insert some cache-control statements in the page headers of only certain pages (ones with forms on them). Is ...
0
votes
1answer
78 views
Inserting div wrappers - changing hierarchy of the html
I have placed a number of blocks in my Main Section of the site. I have finished all the standard styling for the site, but now that I've moved on to the mobile/phone layouts, I find that I need more ...
2
votes
3answers
224 views
Customizing menu html
How do you set an id for the menu's root <ul> tag?
I know about the module "Menu Attributes" but that doesn't let me add an ID to the root <ul>, or at least I do not know how.
Also, I've ...
0
votes
0answers
73 views
Webforms components node view html output
Can anyone tell me where in the webforms module the HTML ID of the components is set?
My form has a postcode field with the following ID: "edit-submitted-postcode".
I am just trying to find the code ...
0
votes
1answer
61 views
source code shows proper img tag from $row output, but no actual image in browser
In my tpl file that has custom code for a block view, I have an object $perfomer which I use to display it's picture with custom code. So I've written code as follows:
<?php $picture = ...
1
vote
2answers
135 views
How to exclude fields from print page version (html, pdf)?
As in question, excluding node fields from HTML print page is easy via CSS, but what about PDF version (PDF version module)?
0
votes
1answer
90 views
How to add java script in a content type: article or blog or basic page
I need to add following kind of java script and html element in one of my computer programe coding tutorial article:
what I want to add a java script + html to create a text box to add function to ...
0
votes
1answer
31 views
What would be a comprehensive but safe set of html tags to use with the HTML Filter but compatible Markdown?
I want to use the Markdown filter on my pages, but using the HTML filter messes it up. However I still want to use it. Does anyone have an idea what other tags should be allowed beside these and what ...
0
votes
0answers
177 views
problem with rewrite result in views
i'm trying to display a button in field's rewrite result but noting showing up
<div class="main-btn">
<a href="example.com"><input type="button" value="Example" /></a>
...
0
votes
0answers
104 views
Banner Code Corrupt in Views Text Field
High for some reason one of my Views seem to have been corrupted in some way. this behaviour wasnt happening yesterday. What behavouir Reg come on spill the beans.
I have a View which shows random ...