Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Recommended Posts

Good Day - and this is totally not urgent!

 

I ventured into creating my first block in Pages. It is a plugin and for what I want it to do, I think I might have to do a custom block (am totally intimidated at the thought).

 

I want to add a block that displays the newest character added in our Pages Character Directory (you're so awesome @Morrigan, we love our character pages). Where / How would I go about figuring this out and creating it to pull only the most recently added character record?

 

Give it to me in Village Idiot's Pages for Extreme Dummies language please! 'Cuz, I'm like a total doofus when it comes to this stuff.

 

Thank you all! 

 

Site URL: Sagas of the Wild West

 

Screenshot of current block - which I'd also like to figure out how to get it to only display the character name (title) and who added it (member/player).

 

780748127_ScreenShot2018-05-15at11_42_22AM.thumb.png.43204dac30ef23dc3de4c5ff30095231.png

Someone somewhere went to sleep and dreamed us all alive.
Dreams get pushed around a lot, and I doubt if we'll survive.
We won't get to wake up, dreams were born to disappear.
And I'm pretty sure that none of us are here.
~ None of Us Here by Jim Stafford ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png   aereth5.png    Smuggler's Blues RPG

 

RPG-Initiative

*your one-stop RPG resource site!

Link to post
Share on other sites
  • Go to Blocks, Create New Block.
  • Type is plugin and you want to select feed from your character's page. Whatever that may be called. It'll be near the bottom of the list. Click Next.
  • Give it a name.
  • Click on Feed Configuration.
    • Title: Character Added
    • Categories: Approved Characters
    • Honor Permissions: Yes
    • Visibility: Visible.
    • Sort By: Record ID.
  • Click Save.

 

  • Navigate to where you want to display the block. 
  • On the left hand side of your screen is the arrow. Click on it.
  • Click on pages
  • Drag Custom Block to where you want it.
  • Click on Edit, where you dragged the custom block.
  • Select your block.
  • Click Save.

That should do it! Let me know if I have misunderstood the question. 

 

sig.png.30b42565d04d922988370bf14e1447bc.png

PSI: an Occult Investigations RP

Roleplay Architects: Grab a friend (or many friends!) and just write.

You can also find me at:

static-historicalrp.jpg  B8CB4x.png rpabutton.png

Link to post
Share on other sites

@Kit the Human  Very awesome and I got it to display at the bottom of my forum! Thank you mega much!

 

I think what I want might require a custom block - not sure. I am going to reread @Mousie's guide.

 

What I am looking to display in the block is sort of like your get with the Newest Members block. Screenshots and confusing description to follow! 

 

I want to create a block similar to this only with the new characters information....

 

1522770175_ScreenShot2018-05-16at10_53_54AM.thumb.png.0adb20939db2f3d425de9b8bb3ba772a.png

 

With this information (image optional although it'd be great to have it). What I want might be beyond what can be done with IPS. If so, no biggie.

 

1610991627_ScreenShot2018-05-16at10_31_30AM.thumb.png.f3128c5bfc6243b8c8a4d1e3bee6fda2.png

 

Here is what the new custom block currently displays!

 

1097633357_ScreenShot2018-05-16at10_47_16AM.thumb.png.d0a49458bf134a00516eef6dee5ce794.png

Edited by Stormwolfe

Someone somewhere went to sleep and dreamed us all alive.
Dreams get pushed around a lot, and I doubt if we'll survive.
We won't get to wake up, dreams were born to disappear.
And I'm pretty sure that none of us are here.
~ None of Us Here by Jim Stafford ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png   aereth5.png    Smuggler's Blues RPG

 

RPG-Initiative

*your one-stop RPG resource site!

Link to post
Share on other sites

Go back to the block you just created and edit it. Click on the Content Tab. There is a drop down box with Use this template as-is selected. Click on it and click on Use as a base for a custom template.

 

A new textarea will appear with the HTML code. So you can edit that to appear like you want it to and add in the custom fields. The code for the custom field displays is this

{$record->customFieldDisplayByKey('play-by', 'listing')|raw}

where play-by is replaced with the field display key. 

 

I imagine you want to delete the comment field on the right (the zeros). So find and delete below:

<div class="ipsCommentCount ipsPos_right {{if ( $record->record_comments ) === 0}}ipsFaded{{endif}}" data-ipsTooltip title='{lang="num_replies" pluralize="$record->record_comments"}'>{expression="$record->record_comments"}</div>

 

  • Love 1

 

sig.png.30b42565d04d922988370bf14e1447bc.png

PSI: an Occult Investigations RP

Roleplay Architects: Grab a friend (or many friends!) and just write.

You can also find me at:

static-historicalrp.jpg  B8CB4x.png rpabutton.png

Link to post
Share on other sites

YAY!  Thank you so very much. I'll work on this after a suitable amount of caffeine has been assimilated.

 

@Kit the Human  You're awesome!

  • You're Welcome 1

Someone somewhere went to sleep and dreamed us all alive.
Dreams get pushed around a lot, and I doubt if we'll survive.
We won't get to wake up, dreams were born to disappear.
And I'm pretty sure that none of us are here.
~ None of Us Here by Jim Stafford ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png   aereth5.png    Smuggler's Blues RPG

 

RPG-Initiative

*your one-stop RPG resource site!

Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.