php - How to change the view displayed at the beginning in Yii? -


डिफ़ॉल्ट रूप से, वर्ग नियंत्रक में है:

  सार्वजनिक $ लेआउट = '// लेआउट / कॉलम 2 ';   

इस दृश्य को पहले क्लाइंट के रूप में प्रदर्शित नहीं किया जाना चाहिए, मुझे साइट / इंडेक्स पर प्रदर्शित करने की जरूरत है एकल-कॉलम दृश्य लोड किया गया था, लेकिन इस पृष्ठ से लिंक लेआउट / कॉलम 2 का उपयोग किया गया था। दूसरे शब्दों में, उपयोगकर्ता वेबसाइट देखता देखता है:

1 कॉलम

मेनू पर क्लिक करता है और इसमें दो-स्तंभ साइट प्रदर्शित होती है:

2 आप उपयोग किए गए लेआउट को किसी दृश्य आधार पर बदल सकते हैं: </ p> <pre> </ p> </ div> <p> <code> फ़ंक्शन क्रिया इंडेक्स () {$ this- & gt; लेआउट = '// लेआउट / कॉलम 1'; } फ़ंक्शन क्रियाकुशलता () {$ this- & gt; लेआउट = '// लेआउट / स्तंभ 2'; // यदि डिफ़ॉल्ट लेआउट स्तंभ 2 है तो आप इस रेखा को छोड़ सकते हैं} </ code> </ pre> </ div> </ html><br /><br /> 
</div>
<div class='post-bottom'>
<div class='post-footer float-container'>
<div class='post-footer-line post-footer-line-1'>
</div>
<div class='post-footer-line post-footer-line-2'>
</div>
<div class='post-footer-line post-footer-line-3'>
</div>
</div>
<div class='post-share-buttons post-share-buttons-bottom invisible'>
<div class='byline post-share-buttons goog-inline-block'>
<div aria-owns='sharing-popup-Blog1-byline-8809891841378153562' class='sharing' data-title='php - How to change the view displayed at the beginning in Yii? -'>
<button aria-controls='sharing-popup-Blog1-byline-8809891841378153562' aria-label='Share' class='sharing-button touch-icon-button' id='sharing-button-Blog1-byline-8809891841378153562' role='button'>
<div class='flat-icon-button ripple'>
<svg class='svg-icon-24'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_share_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
</div>
</button>
<div class='share-buttons-container'>
<ul aria-hidden='true' aria-label='Share' class='share-buttons hidden' id='sharing-popup-Blog1-byline-8809891841378153562' role='menu'>
<li>
<span aria-label='Get link' class='sharing-platform-button sharing-element-link' data-href='https://www.blogger.com/share-post.g?blogID=6533728561598268208&postID=8809891841378153562&target=' data-url='https://sertt121.blogspot.com/2012/02/php-how-to-change-view-displayed-at.html' role='menuitem' tabindex='-1' title='Get link'>
<svg class='svg-icon-24 touch-icon sharing-link'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_link_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Get link</span>
</span>
</li>
<li>
<span aria-label='Share to Facebook' class='sharing-platform-button sharing-element-facebook' data-href='https://www.blogger.com/share-post.g?blogID=6533728561598268208&postID=8809891841378153562&target=facebook' data-url='https://sertt121.blogspot.com/2012/02/php-how-to-change-view-displayed-at.html' role='menuitem' tabindex='-1' title='Share to Facebook'>
<svg class='svg-icon-24 touch-icon sharing-facebook'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_facebook_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Facebook</span>
</span>
</li>
<li>
<span aria-label='Share to X' class='sharing-platform-button sharing-element-twitter' data-href='https://www.blogger.com/share-post.g?blogID=6533728561598268208&postID=8809891841378153562&target=twitter' data-url='https://sertt121.blogspot.com/2012/02/php-how-to-change-view-displayed-at.html' role='menuitem' tabindex='-1' title='Share to X'>
<svg class='svg-icon-24 touch-icon sharing-twitter'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_twitter_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>X</span>
</span>
</li>
<li>
<span aria-label='Share to Pinterest' class='sharing-platform-button sharing-element-pinterest' data-href='https://www.blogger.com/share-post.g?blogID=6533728561598268208&postID=8809891841378153562&target=pinterest' data-url='https://sertt121.blogspot.com/2012/02/php-how-to-change-view-displayed-at.html' role='menuitem' tabindex='-1' title='Share to Pinterest'>
<svg class='svg-icon-24 touch-icon sharing-pinterest'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_pinterest_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Pinterest</span>
</span>
</li>
<li>
<span aria-label='Email' class='sharing-platform-button sharing-element-email' data-href='https://www.blogger.com/share-post.g?blogID=6533728561598268208&postID=8809891841378153562&target=email' data-url='https://sertt121.blogspot.com/2012/02/php-how-to-change-view-displayed-at.html' role='menuitem' tabindex='-1' title='Email'>
<svg class='svg-icon-24 touch-icon sharing-email'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_email_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Email</span>
</span>
</li>
<li aria-hidden='true' class='hidden'>
<span aria-label='Share to other apps' class='sharing-platform-button sharing-element-other' data-url='https://sertt121.blogspot.com/2012/02/php-how-to-change-view-displayed-at.html' role='menuitem' tabindex='-1' title='Share to other apps'>
<svg class='svg-icon-24 touch-icon sharing-sharingOther'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_more_horiz_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Other Apps</span>
</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>

<script async src=

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -