Jump to content

Square Wheels

Members
  • Posts

    2,517
  • Joined

  • Last visited

  • Days Won

    5

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Square Wheels

  1. 14 hours ago, Balto said:

    Are you sure you want to add THAT MANY countries anyway? I suggest you to be careful with that, some "real" users from those countries would maybe like to register to your website and they would not be able to.

    It's a neighborhood HOA site.  The only allowed members live in this small community.  Are there other downsides to clocking all other countries?

  2. 38 minutes ago, Marc Stridgen said:

    Sorry its not actually clear what you are showing me there. You appear to have added Afghanistan then saved.

    Am I able to see what countries I've blocked?  In that example, I don't see Afghanistan on a list of blocked countries AND it's still in the dropdown to try to list.

  3. On 9/5/2023 at 12:51 AM, WP V0RT3X said:

    Looks good so far, but what I can't see on the video is the page itself, especially this ...

    Could contain: File, Text Could contain: File, Page, Text, Webpage, Electronics, Mobile Phone, Phone

    And don't forget this ...

    Could contain: Page, Text

    While I greatly appreciate your help, I am shocked at how hard this is.  I cannot figure this out.

    It is so convoluted and has so many steps.

    Your guidance has been helpful.

    I am very disappointed in what feels like false advertising here: https://invisioncommunity.com/features/pages/

    IPS makes it sound like anyone can do this.  There are hundreds of drag-and-drop options out there that also include database management.  IPS has made this next to impossible for the average site owner to develop.

    For now, I am too frustrated to continue and will give up.

    @WP V0RT3X, you have been most gracious with your time.

  4. 15 hours ago, WP V0RT3X said:

    And here it is ...

    Could contain: File, Page, Text, Webpage

    1. Import the database
    2. Edit database and change key to "docs"
    3. Create a page like in the tutorial
    4. Create a block for the sidebar

    {{$recordClass = null;}}
    {{$catClass = null;}}
    
    {{if count($records)}}
    {{$recordClass = get_class($records[0]);}}
    {{$catClass    = '\IPS\cms\Categories' . $recordClass::database()->_id;}}
    {{endif}}
    
    {{$firstRecord = null;}}
    {{$currentUrlPath = \IPS\Request::i()->url()->data['path'];}}
    
    {{if count($records) and $catClass and count($catClass::roots())}}
    <ul class="ipsList_reset cDocs" data-controller="docs.front.devDocs.main">
        {{foreach $catClass::roots() as $root}}
        <li>
            <h2>{$root->_title}</h2>
            {{if count($root->children())}}
            <ul class="ipsList_reset">
                {{foreach $root->children() as $child}}
                <li class="cDocs_closed">
                    <h3 data-action="expandSection">{$child->_title}</h3>
                    {{foreach $records as $record}}
                    {{if $record->container()->_id == $child->_id}}
                    <ul class="ipsList_reset">
                        {{if $firstRecord == null}}
                        {{$firstRecord = $record;}}
                        {{endif}}
                        <li>
                            <a {{if $currentUrlPath === $record->url()->data['path']}}class="cDocs_active"{{endif}} href="{$record->url()}">
                                {{if $record->customFieldDisplayByKey('docs-short', 'raw')}}{$record->customFieldDisplayByKey('docs-short', 'raw')}{{else}}{$record->_title}{{endif}}
                            </a>
                        </li>
                    </ul>
                    {{endif}}
                    {{endforeach}}
                </li>
                {{endforeach}}
            </ul>
            {{endif}}
            <ul class="ipsList_reset">
                {{foreach $records as $record}}
                {{if $record->container()->_id == $root->_id}}
                {{if $firstRecord == null}}
                {{$firstRecord = $record;}}
                {{endif}}
                <li>
                    <a {{if $currentUrlPath === $record->url()->data['path']}}class="cDocs_active"{{endif}} href="{$record->url()}">
                        {{if $record->customFieldDisplayByKey('shortened_title', 'raw')}}{$record->customFieldDisplayByKey('shortened_title', 'raw')}{{else}}{$record->_title}{{endif}}
                    </a>
                </li>
                {{endif}}
                {{endforeach}}
            </ul>
        </li>
        {{endforeach}}
    </ul>
    {{endif}}

    That should be it.

    Dokumentation.xml 79.33 kB · 1 download

    Getting closer (maybe?).

    I cannot add the custom block.

    https://www.awesomescreenshot.com/video/20484729?key=6b6492459fa0ca0ed6f4a154916bda6d

  5. On 8/23/2023 at 10:01 AM, WP V0RT3X said:

    You mean the documentation? Check this out, it's even for free 😄

    https://invisionfocus.de/pages-tutorials/dokumentation/

    Well, it seemed easy enough, I tried it and failed.  The link is just what I'd like for one project.  A simple page that has 3, maybe 10, items in the menu on the left, and a page of info on the right.  All static, nothing that needs to be interacted with.  It's to provide info only.  Thanks anyhow.

    I am still unhappy with IPS's approach here.  What I'm asking for should be simple to do.  There should be tools built in to help me.  I'm trying to develop content for people to consume, not learn CSS and JS.  We have a "powerful tool" to create content, but it seems our only option to use this feature is to hire a programmer.

  6. On 8/21/2023 at 2:43 AM, Marc Stridgen said:

    This is not something available. It is custom templating for our site, built on a pages database. We do also have other custom developed things built into there

    OK, how about releasing a guide on how you built your guide?  🙂

  7. On 8/21/2023 at 2:43 AM, Marc Stridgen said:

    This is not something available. It is custom templating for our site, built on a pages database. We do also have other custom developed things built into there

    Hi,

    The first two things mentioned whenever I see someone ask for help is to update to the current version (makes sense), then turn off all third-party apps.  Instead of me buying third part Pages apps, it would be nice if IPS were to include some usable examples inside the application.  Or make something like the Providers directory downloadable for users.

    Thanks

  8. OK, so this is where it gets very strange.  The site was relatively new.  I gave up on fixing it as I knew the S3 was set correctly.  I asked for a restore from yesterday morning if they had it.  It seems either they did, or they made another edit to the site, as it's working now, and images are moved to S3.

    Either way, it seems to be working now.

  9. 6 hours ago, Marc Stridgen said:

    This is not something available. It is custom templating for our site, built on a pages database. We do also have other custom developed things built into there

    I'm not asking if it's available for download.  Is there a guide for how to build useable tools with Pages?

  10. 2 minutes ago, Miss_B said:

    It looks like it is a file permission issue. 

    Thank you.  It was working fine before it saved the S3 settings.  I was able to upload images and other items.

    I looked around and can't find guide documents that list what the file permissions should be.  Do you know where they are?

  11. 22 minutes ago, Jim M said:

    You would need to ensure there is correct permissions on your S3 bucket. It cannot write at the moment. 

    I don't understand, there is nothing trying to write.  I created the bucket, user, and keys.  I entered the info.  The first time or two, it seemed to need adjustments to the credentials, the third time I am pretty sure I got it correct.  I never set any files to be saved there.  As soon as I saved the credentials, I got that error.

  12. I put in my S3 settings, clicked save, and now I can't access the site.

    TemporaryRedirect: Please re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.
    IPS\File\Exception: CANNOT_WRITE (3)
    #0 /home/crosswyndhoa/public_html/system/File/File.php(351): IPS\File\_Amazon->save()
    #1 /home/crosswyndhoa/public_html/system/Theme/Theme.php(5498): IPS\_File::create('core_Theme', 'f3d61c0ab17a1b8...', ' @media screen ...', 'css_built_0', false, NULL, false)
    #2 /home/crosswyndhoa/public_html/system/Theme/Theme.php(2647): IPS\_Theme::writeCss(Array)
    #3 /home/crosswyndhoa/public_html/system/Theme/Theme.php(646): IPS\_Theme->compileCss('core', 'admin', 'responsive', 'responsive.css')
    #4 /home/crosswyndhoa/public_html/system/Dispatcher/Admin.php(98): IPS\_Theme->css('responsive.css', 'core', 'admin')
    #5 /home/crosswyndhoa/public_html/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Admin->init()
    #6 /home/crosswyndhoa/public_html/admin/index.php(13): IPS\_Dispatcher::i()
    #7 {main}

    I didn't set the files to be stored on Amazon yet, I can't do anything at this point.

    https://www.crosswyndhoa.com/

×
×
  • Create New...