SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75!  1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Bootstrap - page.tpl.php files location

6 years 4 weeks ago - 6 years 4 weeks ago #117036 by ahmedsiddiq
Bootstrap - page.tpl.php files location was created by ahmedsiddiq
Hi

I am using two platforms on my laptop,

1 is local host via xampp
2 is acquia drupal dev desktop

Now using the acquia drupal dev desktop, I want to maximize the width of my container while using bootstrap theme.

I want to add class="main-container container-fluid" in my page.tpl.php file and following is the location of page.tpl.php file.




The question is should i make the changes in this file or should i 1st copy it and place is somewhere and then add on the change ?
Because, while using the local host I had placed the page.tpl.php in the templates folder, as shown below.



But in case of dev desktop scenario the same file does not works if placed in the templates folder, where should the page.tpl.php file be placed, please guide.

Should the changes be made here reference following path.






regards
Ahmed

This message has attachments images.
Please log in or register to see it.

Please Log in to join the conversation.

6 years 4 weeks ago #117088 by Valentin
Replied by Valentin on topic Bootstrap - page.tpl.php files location
Hi Ahmed,

It should be the same location. Please check the paths starting from sites/ folder to follow the same structure in both sites

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

6 years 4 weeks ago #117112 by ahmedsiddiq
Replied by ahmedsiddiq on topic Bootstrap - page.tpl.php files location
Thank you

regards
Ahmed

Please Log in to join the conversation.

6 years 4 weeks ago #117114 by steve
Replied by steve on topic Bootstrap - page.tpl.php files location
Hi Ahemd

Your 2nd image here is correct. It's always worth using a subtheme in cases like this.

Otherwise, whenever there is an update to the Bootstrap theme itself, you'll lose all your changes.

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!