Last update: 08/09/2023 11:30 AM PHT
Output:
https://sgendefault.seogstage.com/sgenv2
Download SGEN
https://sgendefault.seogstage.com/downloads/
NOTE: Files that are allowed to customize or edit
- assets/front/css/custom.css
- assets/front/js/custom.js
- models/CustomizerModel.php
- models/CustomizerTheme.php
- views/Front/home.php
- views/_partials/tmp/header-inner.php
- views/_partials/tmp/footer-inner.php
- ****views/Front/ (folder) to add page files
Helpers;
** example snippet of code to extract image with the alt using PIPE
application/models/CustomizerTheme.php
$image_arr = explode('|', trim($rows['values'][%cell_number%][$i]));
if($image_arr && is_array($image_arr) && isset($image_arr[0])) {
$image = $image_arr[0];
if($image && !empty($image)) {
$image_dimensions = @getimagesize($image);
$data['image'] = [
'url' => $image,
'alt' => @$image_arr[1],
'width' => @$image_dimensions[0],
'height' => @$image_dimensions[1],
];
}
}
** this example function (application/helpers/global_helper.php) can be used to get image element by submitting the array value
echo get_image_html(%image_array%);