Documentation

Title and help integration

Fast-track local install for getting running on your computer or setup for doing development

🍭 Submit forms with AJAX

dg asgd jagd jasgdj sagdhj gsahjd gsahj dgjsah

Axios

dg asgd jagd jasgdj gsahjd gsahj dgjsah

December 29, 2019 9:58 PM undefined
Michael McSwain
Team mm@maksuco.com

sadsdsa adds

public function addMessage()
    {
        ray($this->message,json_encode($this->message));
		$this->alert('success', __('Saved'));
    }
December 28, 2021 9:58 PM undefined
Michael McSwain
mm@maksuco.com
Hola xx
December 29, 2021 9:33 AM undefined
Michael McSwain
Team mm@maksuco.com
hljs.highlightAll(); document.querySelectorAll("code").forEach(function(element) { element.innerHTML = element.innerHTML.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"); }); document.addEventListener('alpine:init', () => { });
December 29, 2021 2:18 PM undefined
Michael McSwain
Team mm@maksuco.com

Hi

$dom = new DOMDocument;
$dom-&gt;loadHTML($htmlString);
$preTags = $dom-&gt;getElementsByTagName('pre');
foreach($preTags as $pre)
{
    echo $pre-&gt;nodeValue, PHP_EOL;
    if ($pre-&gt;hasAttributes())
    {//if there are attributes
        foreach($pre-&gt;attributes as $attribute)
        {
            //do something with attribute
            echo 'Attribute: ', $attribute-&gt;name, ' = ', $attribute-&gt;value, PHP_EOL;
        }
    }
}
December 29, 2021 9:58 PM undefined
Michael McSwain
Team mm@maksuco.com

sadsdsa adds

public function addMessage()
    {
        ray($this-&gt;message,json_encode($this-&gt;message));
		$this-&gt;alert('success', __('Saved'));
    }
      
        namespace App\Http\Livewire;

        use Livewire\Component;

        class Notification extends Component
        {
            public function getListeners(): array
            {
                $authId = auth()->id();
                return [
                    "echo-private:users.{$authId},.Illuminate\\Notifications\\Events\\BroadcastNotificationCreated" => 'sendNotify',
                ];
            }

            public function sendNotify(mixed $notify): void
            {
                // Do things!
            }
        }
      
    

Hope and deliverance ⌘F

in the middle of the jasgdj night in the middle of the in the middle of the in the middle of the

PHP JS
            
                use Maksuco\BizHelpers\Rules\NoLink;
        
                public function processTicket($api_key, Request $request)
                {
                    //DATA
                    $referer = isset($request->referer) ? trim($request->referer) : (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : false);
                    $domain = parse_url($referer, PHP_URL_HOST);
                    $ip = $request->ip();
                }
            
        
            
                function contactForm() {
                      return {
                        formData: {
                            subject: 'none',
                        },
                        submited: false,
                        btn_disabled: false,
                        buttonLabel: 'Submit',
                        submitData() {
                          this.buttonLabel = 'Sending...'
                          this.btn_disabled = true;
                          
                          let formIdData = new FormData(formElement);
                          for (var value of formIdData.values()) {
                            console.log(value);
                          }
                          //let formJson = JSON.stringify(formIdData);
                      
                          fetch('https://cs-contact.test/api/post/4/4?ajax', {
                            method: 'POST',
                            body: formIdData
                          })
                        },
                      };
                    };
            
        

Developer install guide

Follow our setup guides for any platform, from local development to production environments.

Get started →
XXXX(Pro) Ubuntu Local Docker

How the documentation is organized

platform has a lot of features and, as a result, a lot of documentation. The documentation is organized into the following sections

  1. Platform concepts Some extensions require frontend development. This section contains frontend-specific information that may apply to multiple extensions.
  2. Post URLs: Information relevant to specific extensions. When you start developing an app, this is where you'll spend most of your time.
  3. Contains posts with: a primary_tag of podcast

☞ Unsorted List

  • Appears on: site.com/podcast/
  • Post URLs: site.com/podcast/my-episode/
  • Contains posts with: a primary_tag of podcast

🔥 Sorted List

  1. Appears on: site.com/podcast/
  2. Post URLs: site.com/podcast/my-episode/
  3. Contains posts with: a primary_tag of podcast
Option Type Default Description
selector string .glightbox Name of the selector for example '.glightbox' or 'data-glightbox' or '*[data-glightbox]'
elements array null Instead of passing a selector you can pass all the items that you want in the gallery.
moreLength number 60 Number of characters to display on the description before adding the moreText link (only for mobiles), if 0 it will display the entire description.
closeButton boolean true Show or hide the close button.
touchNavigation boolean true Enable or disable the touch navigation (swipe).
slideHTML string 'See themes' You can completely change the html of the individual slide. See the Themeable section in the README.
autoplayVideos boolean true Autoplay videos on open.

Community

BACK
SOmethings goes here
NEXT
SOmethings goes here

Back to the top

On this page
  1. How to install locally, How to ixxx y
  2. How to install locally
  3. Prerequisites
  4. Install
  5. Starting & Stopping
  6. Developing Stuff
    1. Live reloading
    2. Validating with api
    1. Reloading
    2. Validating data