Warning: include_once(/home/amadeus/web/yieldmore/site-vars.php): Failed to open stream: No such file or directory in /home/amadeus/web/amadeus/framework/files.php on line 81

Warning: include_once(): Failed opening '/home/amadeus/web/yieldmore/site-vars.php' for inclusion (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/amadeus/web/amadeus/framework/files.php on line 81
Docs - Amadeus Web

Rich Home Pages — [Docs] — Assistant

...scanning for sections

Engage with Amadeus / Know about us

See our v4 release or our services. We are the backbone of the yieldmore promotions network. Click the button below to engage with us! Engage with Amadeus Web

Amadeus' Documentation

Rich Home Pages — Documentation

Prerequisites

Once the website is setup locally, do the following

  • Look at the new theme and understand its various elements.
  • Compare it with BizLand to know that rich page sections can vary.
  • See ./amadeus/themes/cv-yoga/home.php / view source of the output to understand the html.
  • See Rich Pages built in Amadeus that are sheet driven.
  • Start correlating the content with the sheet and take a note on what section to be done.

Understanding the System

Basic Syntax

Load Sheet

This command will load the 'home' sheet from the data folder of the website <?php $sheet = get_sheet('home', 'homeSection'); ?>

Looping

This will let you loop through rows matching a given section. Once you start a flower brackets { and switch to html by typing ?> then you need to make sure there is a closing bracket.

<?php foreach ($home->sections['hero'] as $item) {?>
//html that may use item_r
<?php } ?>

Load Column

An item_r function is defined in functions.php and it handles any needed substitutions and strategies for the website. It will include | to newline character replacement as sheets do not support multiline content. For Example, to render the Heading, you may say

<h1><?php item_r('title', $item); ?></h1>

Full Sample

<ul>
  <?php foreach ($home->sections['abouts'] as $item) {?>
  <li>
    <i class="<?php item_r_or('css', $item, 'bx bx-store-alt'); ?>"></i>
    <div>
      <h5><?php item_r('title', $item); ?></h5>
      <p><?php item_r('content', $item); ?></p>
    </div>
  </li>
  <?php } ?>
</ul>

Wrapping Up


Warning: Cannot modify header information - headers already sent by (output started at /home/amadeus/web/amadeus/framework/macros.php:62) in /home/amadeus/web/amadeus/framework/entry.php on line 117

Could NOT find file "docs"

in /home/amadeus/web/amadeus/content/

Amadeus' SEO Info - meta tags on local server

SEO Description

Voice Controls — Assistant

Click Play in the TOC / Sections above to see the voice conrols.

Text to Speech

Select Voice

Volume

1

Rate

1

Pitch

1

Go back to Table of Contents

Amadeus' Share - generate tracking links