1. backend
root\administrator\components\com_content\admin.content.html.php
line 833
root\administrator\components\com_content\controller.php
line 450
function editContent($edit)
line 565
function saveContent()
or use page breaker as a summary / article separator
2. frontend
root\templates\theme-green\html\com_content\category\default_items.php
var_dump($item->images); //list layout
root\templates\theme-green\html\com_content\category\blog_item.php
var_dump($item->images); //blog layout
root\templates\theme-green\html\com_content\section\blog_item.php
var_dump($this->item->images);
3. blog page
we could use (Menu Item - Parameters (System) - Page Class Suffix) and css to control the style of single blog page
root\administrator\components\com_content\admin.content.html.php
line 833
<tr>
<td>
<label for="sectionid">
<?php echo JText::_( 'Images' ); ?>
</label>
</td>
<td>
<?php echo $lists['images']; ?>
</td>
<td>
</td>
<td>
</tr>
root\administrator\components\com_content\controller.php
line 450
function editContent($edit)
$lists['images'] = '<input type="text" value="'.$row->images[0].'" maxlength="255" size="100" id="images" name="i" class="inputbox">';
line 565
function saveContent()
$getImages = JRequest::getVar( 'images', null, 'post', 'array' );
$row->images = $getImages[0];
or use page breaker as a summary / article separator
2. frontend
root\templates\theme-green\html\com_content\category\default_items.php
var_dump($item->images); //list layout
root\templates\theme-green\html\com_content\category\blog_item.php
var_dump($item->images); //blog layout
root\templates\theme-green\html\com_content\section\blog_item.php
var_dump($this->item->images);
3. blog page
we could use (Menu Item - Parameters (System) - Page Class Suffix) and css to control the style of single blog page

本文深入探讨了前端开发与后端开发的紧密联系,阐述了如何通过合理的技术选型和协作,实现两者的无缝对接,以提升整体项目的效率和用户体验。重点介绍了关键开发工具和框架在不同场景下的应用策略,以及如何利用这些工具来优化工作流程,最终实现高效开发和高质量交付。

155

被折叠的 条评论
为什么被折叠?



