1
00:00:00,180 --> 00:00:05,190
Hello, friend, and welcome back in a previous video I have already discussed about that, things with

2
00:00:05,190 --> 00:00:08,050
you, how can add that bootstrap into the triangle?

3
00:00:08,490 --> 00:00:13,800
So now in this video, I want to discuss about how can I inherited this template for doing this.

4
00:00:13,800 --> 00:00:19,210
Better to do to create some of the piece like that is our home page.

5
00:00:19,230 --> 00:00:25,260
And also, if you go to that about I have already created one of the world's about and here before I

6
00:00:25,260 --> 00:00:27,960
have passed on the TDB response data.

7
00:00:27,960 --> 00:00:28,230
Right.

8
00:00:28,530 --> 00:00:33,410
So here I also want to Lautz on the template for the board and also for the contact.

9
00:00:33,420 --> 00:00:35,850
So I know better.

10
00:00:35,880 --> 00:00:38,370
I just simply will be it will be it.

11
00:00:38,400 --> 00:00:40,870
And the racial profiling stimuli will be OK.

12
00:00:41,280 --> 00:00:44,910
So now into that template area, so into the main template area.

13
00:00:44,910 --> 00:00:47,250
I want to create some of the file I create.

14
00:00:47,250 --> 00:00:57,470
I want to ask about all this HTML and also I want to create another one for the contact contact as well.

15
00:00:57,690 --> 00:00:59,040
So just simply save it.

16
00:00:59,040 --> 00:01:04,590
And now in our index I just simply copy everything from here and now in our about us.

17
00:01:04,590 --> 00:01:08,970
I just simply pasted Cecil Will as a about face.

18
00:01:10,110 --> 00:01:10,390
Right.

19
00:01:10,530 --> 00:01:17,460
It will be as about Pei's and also you have to update the title and that will be our contact.

20
00:01:17,460 --> 00:01:22,710
So better I just simply copy everything from the index and in our contact to General Assembly passed

21
00:01:22,760 --> 00:01:26,490
it, which will be as a contact right.

22
00:01:26,490 --> 00:01:31,740
Contact space and also still be as a contact piece.

23
00:01:32,610 --> 00:01:34,770
Right now I just click the Savol.

24
00:01:35,130 --> 00:01:38,990
So now also we have to do have to load it, we have to load it in our portfolio.

25
00:01:39,000 --> 00:01:44,130
If we go to that you I have already created all the what as about the result, contact us.

26
00:01:44,130 --> 00:01:45,690
And here is the view idea.

27
00:01:45,690 --> 00:01:50,320
I have already created all that our function that is about function and the contact function.

28
00:01:50,730 --> 00:01:54,420
So now go to our portfolio and that is our views here.

29
00:01:54,420 --> 00:02:00,740
You can see I posit that things with our response now to actually proceed with our render.

30
00:02:02,280 --> 00:02:05,590
So here I just simply palsied and also here I pass it.

31
00:02:05,970 --> 00:02:11,280
So with this render request, first of all, I want to look for our about one shall will be redacted.

32
00:02:11,280 --> 00:02:16,910
All about my thoughts will be lowered, our about estimate about that decimal.

33
00:02:16,920 --> 00:02:17,190
Right.

34
00:02:17,550 --> 00:02:19,440
And also have created another one.

35
00:02:19,450 --> 00:02:23,640
As for the contact, that will be as a contact list.

36
00:02:24,360 --> 00:02:30,480
So now if you click at the all and now if you refresh it.

37
00:02:31,740 --> 00:02:32,070
Yeah.

38
00:02:32,100 --> 00:02:35,640
You can see surpassingly getting a bootstrap and that is all about pace.

39
00:02:36,210 --> 00:02:39,840
And if you go to that contact, contact us.

40
00:02:40,140 --> 00:02:41,700
That is a Gloriavale here.

41
00:02:41,700 --> 00:02:44,250
You can see so perfectly that our contact space space.

42
00:02:44,910 --> 00:02:45,460
Perfect.

43
00:02:45,810 --> 00:02:48,690
So now I want to do an inheritance because of all.

44
00:02:48,690 --> 00:02:53,060
As I told you, you can see every time we have to write the same code.

45
00:02:53,070 --> 00:02:55,280
So that is all that is set aside.

46
00:02:55,620 --> 00:02:59,430
So if you want to update anything in your menu area, you have to update it.

47
00:02:59,430 --> 00:03:02,730
In our estimate, Bayes into the Pontac base.

48
00:03:02,730 --> 00:03:03,990
Write every position.

49
00:03:03,990 --> 00:03:05,290
We have to update it.

50
00:03:05,760 --> 00:03:09,090
So right now, I don't want to a display like that here.

51
00:03:09,090 --> 00:03:10,980
I want to use that inheritance.

52
00:03:10,980 --> 00:03:15,930
That means here I want to actually manage that our segment, our header part differently.

53
00:03:16,290 --> 00:03:18,670
So I show you then it'll be very much clear to you.

54
00:03:18,690 --> 00:03:23,970
So right now, for doing this into the template, into the template folder area on the page of the new

55
00:03:23,970 --> 00:03:24,450
file.

56
00:03:24,450 --> 00:03:29,710
And here I named one of the file as a layout estimator.

57
00:03:29,910 --> 00:03:31,740
So I just simply save it.

58
00:03:32,160 --> 00:03:38,070
And here you noticed one thing like here you can see every time our header is the same for the contact

59
00:03:38,070 --> 00:03:45,630
us for the about for the about every time our haidary same only our dispositioned that means or this

60
00:03:45,630 --> 00:03:46,760
part is different.

61
00:03:46,770 --> 00:03:47,090
Right.

62
00:03:47,400 --> 00:03:53,380
And if you go to our home you can see our header is the same, only our this part is different.

63
00:03:53,400 --> 00:03:56,090
So for the business here I want to do and take that out.

64
00:03:56,100 --> 00:04:00,090
This never let me this put this network differently.

65
00:04:00,090 --> 00:04:03,650
So into the template area, better indexes html.

66
00:04:03,660 --> 00:04:06,060
I just simply copy everything.

67
00:04:07,080 --> 00:04:10,050
And here in our layouts here I just simply paste it.

68
00:04:10,060 --> 00:04:13,080
So here I have better, I make the things as the PSP.

69
00:04:14,340 --> 00:04:16,620
So that is the BHB.

70
00:04:16,740 --> 00:04:24,600
OK, so now you can see that these are all that bootstrap CDN just fine and that is our neighbor.

71
00:04:24,870 --> 00:04:27,390
That neighbor will be common for debris pages.

72
00:04:27,390 --> 00:04:34,470
The title will be common for the pages and also that is our city end up in the city and access for the

73
00:04:34,470 --> 00:04:35,000
bootstrap.

74
00:04:35,010 --> 00:04:35,260
Right.

75
00:04:35,640 --> 00:04:41,310
So here only we have to do we have to update our dispositioned that this portion will be dynamically

76
00:04:41,310 --> 00:04:43,200
changed for our Web pages.

77
00:04:43,440 --> 00:04:46,710
So for the regions here, I want to do I want to make that as a dynamic.

78
00:04:46,720 --> 00:04:52,890
So in Laravel, actually, if you only knew about Lilibet, we have actually connected with our yeild.

79
00:04:53,190 --> 00:04:54,540
So into the jungle.

80
00:04:54,540 --> 00:04:57,240
How we can do that work is pretty simple here.

81
00:04:57,240 --> 00:04:59,880
You have to do the CARLEBACH the the double.

82
00:04:59,990 --> 00:05:06,080
Our cities with the development centers here, you have to create one of the block, that is which position

83
00:05:06,080 --> 00:05:10,540
you want to update always, which position you want to admit.

84
00:05:10,820 --> 00:05:13,240
So here you have to add the things with the block.

85
00:05:13,940 --> 00:05:15,920
So I just simply added that as a block.

86
00:05:16,160 --> 00:05:21,740
And then you have to do we have to maybe that means you have to name that block so you can name whatever

87
00:05:21,740 --> 00:05:23,790
you want if you want to name the change.

88
00:05:25,460 --> 00:05:28,790
OK, if you want to name that, the change is perfectly OK right then.

89
00:05:28,790 --> 00:05:30,570
Right now I'm actually using the container.

90
00:05:31,100 --> 00:05:33,290
OK, so you can also use that content.

91
00:05:33,590 --> 00:05:35,420
So they told you it depends on you.

92
00:05:35,450 --> 00:05:36,380
It's not like that.

93
00:05:36,380 --> 00:05:39,240
You have to use that container, whatever the things you choose.

94
00:05:39,260 --> 00:05:40,370
You can choose that name.

95
00:05:40,380 --> 00:05:41,710
That means this block name.

96
00:05:42,020 --> 00:05:44,750
And also here we have to do we have to end this block.

97
00:05:45,170 --> 00:05:50,240
So with the same color bracket and the double percentages and you have to end this block.

98
00:05:51,020 --> 00:05:53,210
OK, so I just simply add this block.

99
00:05:53,630 --> 00:05:54,130
Perfect.

100
00:05:54,860 --> 00:06:00,480
That means right now, whatever the things will put in this position will be our dynamic place.

101
00:06:00,500 --> 00:06:05,060
So that is actually our block I have created and I just put that block name as a content.

102
00:06:05,450 --> 00:06:08,780
So right now, if you that is our index piece right now.

103
00:06:08,780 --> 00:06:11,270
I want to do our index e-mail here.

104
00:06:11,270 --> 00:06:13,070
I just simply remove everything.

105
00:06:13,100 --> 00:06:19,710
OK, so now I have because I save all and now if you refresh it, narcosis, not totally blank.

106
00:06:20,120 --> 00:06:23,620
So here now, first of all, we have to do we have to extend it.

107
00:06:23,630 --> 00:06:27,580
We have to extend our this layout because of all the layout area.

108
00:06:27,590 --> 00:06:30,220
I have already all that our bootstrap CDN.

109
00:06:30,500 --> 00:06:30,930
Right.

110
00:06:30,950 --> 00:06:34,590
That is a neighbor and then the real success also.

111
00:06:34,970 --> 00:06:38,150
So first of all, here we have to do we have to take out this layout.

112
00:06:38,280 --> 00:06:45,290
So I just simply want to do undertake that layout with the Double-Click bracket and then the percentages.

113
00:06:45,530 --> 00:06:53,420
And then you have to add that to the extent that the extent of that is actually the most common things,

114
00:06:53,420 --> 00:06:56,120
we will use a lot of the time with the same concept.

115
00:06:56,150 --> 00:06:58,650
OK, so that is the main procedure.

116
00:06:58,880 --> 00:07:03,280
So you have to add that extents and into the extent of which file you want to extend.

117
00:07:03,360 --> 00:07:05,510
I want to extend our this layout this.

118
00:07:06,260 --> 00:07:15,370
So I just simply added as a layout dot estimates, I just simply extend our this is our estimate.

119
00:07:15,650 --> 00:07:20,290
So you don't if you click the save all and now that is our index HTML.

120
00:07:20,750 --> 00:07:27,530
And now if you refresh it, you can see into the layout's area we get all the TurboChef and also get

121
00:07:27,530 --> 00:07:29,750
that our part right.

122
00:07:29,990 --> 00:07:36,490
But our content part is not totally blank because of all here I want to do I make that things as a dynamic.

123
00:07:36,770 --> 00:07:38,360
So that is a clever, dynamic part.

124
00:07:38,360 --> 00:07:42,840
I have all it with the creator of the blog and I just named that blog as a content.

125
00:07:43,040 --> 00:07:47,930
So now with this blog, we can actually mention our different based like here into the index.

126
00:07:48,300 --> 00:07:52,930
OK, so here after that here I want to do I want to add our SEM blog.

127
00:07:53,540 --> 00:07:55,650
That means I have created that blog.

128
00:07:56,600 --> 00:07:58,930
So that is our blog and the blog area.

129
00:07:58,940 --> 00:08:01,250
I put that name blog as a content.

130
00:08:01,400 --> 00:08:01,830
Right.

131
00:08:01,850 --> 00:08:03,220
So that is our content blog.

132
00:08:03,470 --> 00:08:05,980
And also here we have to do we have to finish it.

133
00:08:06,560 --> 00:08:13,070
So I just simply finish our and blog so that our end blog and here I want to do I want to show one of

134
00:08:13,070 --> 00:08:14,130
the S to the tag.

135
00:08:14,240 --> 00:08:21,440
And here I want to display I want to display our same things, like if you go talk about here, I have

136
00:08:21,440 --> 00:08:23,340
created one of the the right.

137
00:08:23,370 --> 00:08:24,680
So now I just simply copy it.

138
00:08:25,310 --> 00:08:31,400
I want to load our disposition that we saw Dave class in particular this block area.

139
00:08:31,730 --> 00:08:33,890
OK, so now what exactly should we do?

140
00:08:33,900 --> 00:08:35,230
So that will be our home page.

141
00:08:35,240 --> 00:08:38,910
The better I name it as a home, that means you should be as a homepage.

142
00:08:39,380 --> 00:08:45,800
Now, if you click the save ball and now if you refresh it, yes.

143
00:08:45,800 --> 00:08:49,870
You can see it's now perfectly getting our D day.

144
00:08:50,300 --> 00:08:55,280
So how much easier it is now can see that now they have only the little shortcode.

145
00:08:55,490 --> 00:09:02,860
And also our this part is not a dynamic that we saw layout for common for our Web pages and now also

146
00:09:02,860 --> 00:09:05,660
on to do the same things for our about Sabater.

147
00:09:05,660 --> 00:09:11,960
I just simply copied Ghadar about and here we don't need to write this code, I just simply remove everything

148
00:09:12,830 --> 00:09:18,610
it I extend our layouts fast and then in our block content area I take one of the tape.

149
00:09:18,860 --> 00:09:22,920
So whatever the things will put in particular that area, it should be updated.

150
00:09:22,940 --> 00:09:28,670
OK, after that Meiburg that means this portion is for apart and after that maybe it should be this

151
00:09:28,670 --> 00:09:30,630
portion of this block will be updated.

152
00:09:30,800 --> 00:09:35,720
OK, so that will be our about that will be our about base.

153
00:09:36,440 --> 00:09:40,630
And now I just simply copy it and that will be our contact.

154
00:09:41,510 --> 00:09:44,150
I just simply posted that will be our contact.

155
00:09:46,970 --> 00:09:55,070
OK, that will be our contact base, and now if you click the save all and now your freshet and now

156
00:09:55,070 --> 00:10:00,410
if you access our about, yes, you can see we are perfectly loaded.

157
00:10:00,470 --> 00:10:08,840
What about if you use that one to access that contact, contact us perfectly loaded, our contact,

158
00:10:08,840 --> 00:10:09,440
our space.

159
00:10:09,690 --> 00:10:12,620
And also I have created another one of the employee.

160
00:10:14,060 --> 00:10:14,590
Right.

161
00:10:14,600 --> 00:10:20,960
So that is the employee profile so that the employee profile right now also on the disposition.

162
00:10:20,990 --> 00:10:23,270
So here I have used a lot of the code.

163
00:10:23,540 --> 00:10:28,990
That means if you go to our employee, so that is our employee folder, there is a profile.

164
00:10:29,000 --> 00:10:33,560
It's generally because a lot of the code so that, no, we don't need it, everything will get from

165
00:10:33,560 --> 00:10:34,290
our extent.

166
00:10:34,910 --> 00:10:43,460
So now I just simply copy from here and go to our profile, updated, cancel it and passed it.

167
00:10:43,570 --> 00:10:45,410
So here will be as a profile.

168
00:10:47,450 --> 00:10:48,530
OK, profile page.

169
00:10:48,980 --> 00:10:51,050
No click as a save all.

170
00:10:52,580 --> 00:10:54,350
No, refresh it.

171
00:10:55,440 --> 00:11:01,860
Yeah, you can see it's not pretty the same logic and also Harrisville to change the rules of the uptakes

172
00:11:01,860 --> 00:11:02,350
gender.

173
00:11:02,760 --> 00:11:08,790
OK, that class as a danger, so sorry, that will be the next danger.

174
00:11:10,230 --> 00:11:17,100
So just name it as a text and save and refresh it here.

175
00:11:17,130 --> 00:11:18,680
You can see it's perfectly updated.

176
00:11:19,170 --> 00:11:21,060
I hope you can well understand about it.

177
00:11:21,110 --> 00:11:23,580
Friends, right now I have only our this part.

178
00:11:23,580 --> 00:11:28,960
That means that I just simply inherited and now you can see how much easily we can actually do that

179
00:11:28,980 --> 00:11:29,290
work.

180
00:11:29,310 --> 00:11:37,750
So now with the simple code that without this block we can actually inherit our all that base, I hope

181
00:11:37,760 --> 00:11:39,630
friend is very much clear to you.

182
00:11:39,630 --> 00:11:46,410
So everything in our layout area and here I have created that blog and now I just simply load out this

183
00:11:46,410 --> 00:11:49,920
blog portion I hope is very much clear to your friend.

184
00:11:50,190 --> 00:11:56,610
And also here they have on things like if you go to our title in the title area, all of it's showing

185
00:11:56,610 --> 00:11:57,440
as the home page.

186
00:11:57,450 --> 00:12:00,720
If you go to that our about base.

187
00:12:01,650 --> 00:12:07,190
Now, you can see for about pages also showing as a title because of all that is our accounts from our

188
00:12:07,230 --> 00:12:09,390
where which places accounts for our layout.

189
00:12:09,390 --> 00:12:09,660
Right.

190
00:12:09,930 --> 00:12:10,980
And into the layout.

191
00:12:10,980 --> 00:12:12,070
That is the common.

192
00:12:12,570 --> 00:12:15,120
So that is the layout is come on into the layout here.

193
00:12:15,120 --> 00:12:16,230
You consider the title.

194
00:12:16,260 --> 00:12:21,360
So if you also want to make the things dynamic, you can also create another block.

195
00:12:21,840 --> 00:12:23,010
It'll be just like that.

196
00:12:23,020 --> 00:12:24,930
Same here for the title.

197
00:12:24,930 --> 00:12:31,380
I want to make the things the dynamic that we say here I want to create another block is pretty simple

198
00:12:31,380 --> 00:12:33,950
things as a block, OK?

199
00:12:34,020 --> 00:12:36,580
I just name it as a block name whatever you want to.

200
00:12:36,600 --> 00:12:37,750
Just name it as a title.

201
00:12:38,100 --> 00:12:40,110
OK, that will be our block title.

202
00:12:40,110 --> 00:12:43,510
And also after that we have to do we have to finish it.

203
00:12:43,530 --> 00:12:44,670
That means the end block.

204
00:12:44,820 --> 00:12:51,000
OK, so to simply and this block so we can actually update our D block, that means that we can actually

205
00:12:51,000 --> 00:12:53,290
use it for our index.

206
00:12:53,290 --> 00:13:00,900
So for the index here before this block here, I want to make the things as a this is home base.

207
00:13:02,240 --> 00:13:03,600
OK, this is home based.

208
00:13:03,840 --> 00:13:09,360
Now if you click on the Savon now if you refresh it.

209
00:13:10,730 --> 00:13:19,850
Now go to our home, you can see snowshoeing as a this is home base and also for the about, I want

210
00:13:19,850 --> 00:13:24,010
to update it, so I just simply copy it for about here.

211
00:13:24,020 --> 00:13:31,280
I just simply passed it and I just name it as a this is about base, OK?

212
00:13:31,310 --> 00:13:33,470
This is about peace or just about peace.

213
00:13:34,880 --> 00:13:36,980
Now if you like, as a Savol.

214
00:13:37,860 --> 00:13:42,590
Now if you refresh it, go to our about.

215
00:13:43,760 --> 00:13:44,140
Yup.

216
00:13:44,150 --> 00:13:46,930
You can see it's not perfectly show our about base.

217
00:13:47,300 --> 00:13:50,870
And also I want to do the same things for our contact.

218
00:13:52,070 --> 00:13:59,000
So that will be our contact base and also for the profile.

219
00:13:59,510 --> 00:14:01,850
I just simply added that profile.

220
00:14:02,330 --> 00:14:04,190
It will be as a profile base.

221
00:14:05,630 --> 00:14:07,460
OK, this should be the profile page.

222
00:14:07,460 --> 00:14:08,360
No click as I say.

223
00:14:08,360 --> 00:14:14,900
Well, now if you refresh it and go to our contact us.

224
00:14:17,970 --> 00:14:24,570
Yeah, you can see suffering and contact us if you go to that profile that is in our employee employee

225
00:14:24,570 --> 00:14:25,180
profile.

226
00:14:25,770 --> 00:14:27,410
Yeah, you can see it's not perfectly sure.

227
00:14:27,420 --> 00:14:29,660
Our title updated as a profile.

228
00:14:29,700 --> 00:14:30,840
That means a profile piece.

229
00:14:31,350 --> 00:14:34,040
So, friend, I hope you can well understand about it.

230
00:14:34,050 --> 00:14:36,110
How can inherited your pace?

231
00:14:36,120 --> 00:14:37,140
So don't worry little.

232
00:14:37,170 --> 00:14:42,750
We will go more deep and we will learn more about it, you know, next video and discuss about that

233
00:14:42,750 --> 00:14:44,330
you all pattern in Django.

234
00:14:44,640 --> 00:14:48,060
So thanks for watching and I'll see you in the next video.
