This forum is for assistance with theme development.

multi user registration

Drupal 7 v7.42

I am supporting a site originally built by another. I have a "vendor" role that is registered at /vendor/register and normal users register at user/register. I have two questions.

1) I cannot see where the /vendor/register page is defined and built. If I wanted to add a new field or modify what the user must enter to register where would I find it? It is already customized. I cannot find any reference to customized code in our themes directory.

Cache breaking entity/node display - only on live server instance

Hi there,

We're experiencing a weird issue/bug where our blog node is displaying incorrectly at random but occasionally fixes with a cache clear. Interestingly enough, a cache clear can also break the display again...

From a Twig Debug comparison of the working version and broken version there's a few values that stand out most.

Bootstrap-drupal-Slideshow

I have a problem with my bootstrap theme development. I can't create any slideshow with my local server. Everytime I do so then I get a message like ' Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\vexel\includes\database\select.inc on line 1377 '. Please help me with that.

Check anchor for specific class

How to check if anchor tag in a generated menu link (eg. by main navigation block) has a certain class. For the container li there is the item['attributes']->hasClass() method. However there is nothing of the form item['url']->hasClass(). Can item['url']['urlGenerator'] has something to offer in this regard ?

custom view displaying multiple values fields drupa7

hell guys

i'm new in drupal 7

i've created content type with following fields:

title
body
pic: (one or more than one values in this values)

it works when i display content type node sperately

now i would like to display it in view .
it was working for one value pic as follwing:

Custom user-profile-edit.tpl.php

Hi everybody.

Hello everybody.

I wanted to change the edit profile page with the user-profile-edit.tpl.php.

I added this function in template.php .

function minimi_theme() {
	return array(
		// The form ID
		'user_profile_form' => array(
		// Forms always take the form argument.
		'arguments' => array('form' => NULL),
		'render element' => 'form',
		'template' => 'templates/user-profile-edit',
		),
	);
}

I created the file user-profile- edit.tpl.php .

Pages

Subscribe with RSS Subscribe to RSS - Theme development