How to customize bootstrap substrings in Drupal?

I'm testing a Bootstrap theme with Drupal 7.30, it's awesome and okay, but if I want to create a custom page using tpl.php files like customnamepage.tpl.php

where can I put files like this and make them work to create my custom pages?

+3


source to share


1 answer


The correct answer requires more information about which exact condition customnamepage.tpl.php

should be used instead of the usual one page.tpl.php

.

As an example, if the system path is for a page node/100

and you want your own template for that page only, you can define it in page--node--100.tpl.php

. This works if you only have this file somewhere in your bootstrap directory theme

, but remember to clear your cache before trying.



There are many ways to do this, the best solution depends on the nature of the pages that the customization should be applied to.

+2


source







All Articles