theme contact form block

theme contact form block

I am using contact_form_blocks-7.x-1.x-dev module. Using this module I have embedd contact us form in my website. For themeing I have created file named block–contact.tpl.php. Cleared cache, but it doesnt result anything. How should I theme this contact us... read more
Ajust the position of autocomplete fields

Ajust the position of autocomplete fields

I working with the theme base bootstrap and my problem is that in autocomplete fields it’s a bit offside of position, see the screenshot. How fix this ? I need this more to the left and below the textfield. Greetings. read more
theme contact form block

How to show both currencies at once in the node page for price field

I am using Drupal commerce kickstart, Here I have two types of currencies like $ and INR. In the node page I am showing INR currency by default. Using Curreny Selector Module I am showing Dropdown to select the currency. If currency selected by user then calculated $... read more
theme contact form block

Uploading file, parsing and displaying data

For a site i am building right now, there is one component that I would want the user to upload a file, where it will be parsed (currently a python script, but can be ported to something else). The data from the parser will then be used populate a node. what will be... read more
How to print child fields from embedded view in a webform

How to print child fields from embedded view in a webform

I’ve got an embedded view (articles) in a webform with two child fields (article_title, article_body). I need to print/generate a PDF of the webform submission. The default template works, but looks messy in a table. What is the right syntax to call the data... read more
theme contact form block

Multi Page Selection VBO

Is there a way to achieve multi-page selection. Everytime I go to the next page, my selection gets lost. Any chance to keep my selection over multiple pages? read more
theme contact form block

How to turn off panels in-place edit bar

I know this maybe a silly question but how do you hide panels in-place editor bar?(The bar that has layout adjustment buttons.) I found a post that said there’s a on/off setting on general settings page that I can use to hide it but I couldn’t find that... read more
theme contact form block

Shipping calculator for shipping service

In my Product Add page, Seller can select Shipping service. I am using FedEx, USPS and UPS for my website. Here there would be a link for shipping cost calculation. By clicking on that link, it would open up a Shipping Calculator window from where Seller can add... read more
theme contact form block

Wildcard Search in Views

Is there a way to use Wildcards (like *) in Views filters. I do not want to give the user the dropdown with all the operators but use a wildcard. For example, when he writes name it will use “ends with”, on name “begins with”, on name... read more
theme contact form block

How to open product detail when user click on product image?

I am new in Drupal and I am working on one commerce website using drupal commerce module. The problem is arise in my website is–> I am used views for display products with product image,title, price etc fields. But I want to know that when user click on... read more
theme contact form block

How to remove default form tag while rendering output in hook_theme

I am customizing the login form. I have to put all the three forms(login, register, forgotpassword) into one page. I don’t want that unwanted root form tag, how can i remove that one? I am using drupal 7. This is my code. template.php function bartik_theme() {... read more
theme contact form block

How to receive JSON data in controller with Drupal 8?

I’m using AngularJS one of my module’s settings page, so I have a javascript object in client side as a model. Could anyone help me please, how to catch this data in a controller if I send it as JSON with ajax? This is the model I assembled is angular: var... read more
theme contact form block

How to make form update/rebuild every page load?

Part of my custom form that gathers petition signatures includes some markup saying "last signer: Bob, 3 minutes ago", looked up from a database. But if the user does not submit the form, eg they reload the page, or look elsewhere then come back to the page,... read more
theme contact form block

Embed a node add form on a parent node

I have a product display node and I’m trying to add a rental form to the node so that anyone can submit a rental form and have that reference the node. I was thinking of making the rental form a new Content Type so that the author information is automatically... read more
theme contact form block

How to export custom module form content as PDF file in drupal 7?

I have a custom module with some form fields. I want to submit this form and generate pdf file of user filled values in new tab. I am trying with TCPDF but it doesn’t display any fieldset ( as border ). In submit funciton , I am taking $form array and using... read more
theme contact form block

Drush Hangs on wget but wget Works

Every drush command I run hangs on wget. However, if I run wget outside of drush, it works just fine. I am behind an http proxy and suspect that’s factoring into the problem. I don’t understand why wget isn’t looking at my http_proxy environment... read more
Workbench: How can I reorder display of Workbench Tabs?

Workbench: How can I reorder display of Workbench Tabs?

I’m running Workbench, workbench access, workbench moderation and workbench media on Drupal 7. I added a new state “Needs publish” for “Waiting to be published”, which is under “Configuration > Workbench > Workbench Moderation... read more
theme contact form block

Printer – PDF format: How can I change the header info and add page count on the footer?

I like this Printer module on my Drupal 7 site. But, when it generates PDF, it contained breadcrumb and no page-count on the footer. Is there a way to add name of “Content type” and node “Title”, instead of breadcrumb? I also would like to have... read more
theme contact form block

How to make galleries relative to particular nodes?

I have a site with news and I want to make it possible for admin to add image gallery to Articles (nodes) the admin wants. So, the idea is to make gallery image field for every content type from which images should be taken. If admin wants gallery for that article the... read more
theme contact form block

Showing block in specific urls and content types

I’m using this code to show block in specific urls and content types. <?php $match = TRUE; // block is visible on the content types entered here $types = array(‘product_display’ => 1, ‘page’ => 1); $url = request_uri(); if... read more