Forum Activity for @the-patria-company

PatriaCo
@the-patria-company
12/16/16 01:49:30PM
349 posts

Quick Share Modal Window - item_share_modal.tpl


Design and Skin Customization

OUTSTANDING!!!

Thank you so much @michael :)

I hope this will find its way into some documentation. "How to determine the name of a custom template" (or something similar). This is also great for us new developers.

Slightly off topic, as I am new to PHPstorm. I tried to follow your instructions in order to search for the function. I only see the .tpl files in the search results. How do I see the associated functions in the search results?
PatriaCo
@the-patria-company
12/15/16 11:53:29AM
349 posts

Quick Share Modal Window - item_share_modal.tpl


Design and Skin Customization

Exactly! :)

There is nothing. Again this is the default template (item_share_modal.tpl) in the newest version of the timeline module. It has me very confused. I need to make changes to the template that generates the modal window, but I can not figure out how to or better yet, what I should name a custom .tpl as. I am hoping that it works the same the site search, in which each module can have a unique search results template.

Thanks for any help on this mystery! :)
updated by @the-patria-company: 12/15/16 11:54:11AM
PatriaCo
@the-patria-company
12/15/16 11:35:59AM
349 posts

Birthday Module - Quota Config


Suggestions

Can a Quota Config be added to the Birthday Module? We have several quotas that this would not apply to. That way a birthdate field would not even show up in the profile_settings.

Thanks!
updated by @the-patria-company: 03/19/17 04:11:33AM
PatriaCo
@the-patria-company
12/15/16 11:25:03AM
349 posts

PHPstorm xdebug setup on JR Hosting


Suggestions

I actually have a development site set up on my JR Hosting account. Would that work?
PatriaCo
@the-patria-company
12/15/16 09:53:18AM
349 posts

PHPstorm xdebug setup on JR Hosting


Suggestions

Would someone have time to put together a little tutorial video, for us JR Hosting folks, of how to set up and check xdebug on PHPstorm? I am finally making the jump and have a lot to learn.

It would be a great help. Thanks! :)
updated by @the-patria-company: 03/15/17 11:38:15PM
PatriaCo
@the-patria-company
12/15/16 09:36:05AM
349 posts

Quick Share Modal Window - item_share_modal.tpl


Design and Skin Customization

PatriaCo:
Sorry. Yes, this is the default item_share_modal.tpl found in the timeline module. I just need to know how the $template is supposed to function so that I can make adjustments.

<div id="share_item_box">
            {if $template}
                {jrCore_list module=$module search="_item_id = `$item_id`" limit=1 template=$template}
            {else}
                {jrCore_list module=$module search="_item_id = `$item_id`" limit=1}
            {/if}
        </div>

Thanks!
PatriaCo
@the-patria-company
12/15/16 08:40:52AM
349 posts

Quick Share Modal Window - item_share_modal.tpl


Design and Skin Customization

PatriaCo:
I am wondering how I change the tpl format inside the share it modal window?

<div id="share_item_box">
            {if $template}
                {jrCore_list module=$module search="_item_id = `$item_id`" limit=1 template=$template}
            {else}
                {jrCore_list module=$module search="_item_id = `$item_id`" limit=1}
            {/if}
        </div>

The formatting I use for each timeline item does not work inside the modal window.

Thanks for the help! :)

I am actually looking for the code that is called by $template - as I cannot see any reference to it in the datastore.
PatriaCo
@the-patria-company
12/15/16 07:36:29AM
349 posts

Quick Share Modal Window - item_share_modal.tpl


Design and Skin Customization

PatriaCo:
Sorry. Yes, this is the default item_share_modal.tpl found in the timeline module. I just need to know how the $template is supposed to function so that I can make adjustments. For example, can I create a jrModule_item_share.tpl?

Thanks

Can anyone give me a little hint on this please?
PatriaCo
@the-patria-company
12/15/16 07:25:27AM
349 posts

Help with GuestBook Button (new function, similar to Follow Button)


Design and Skin Customization

I was wondering if I could get a little help with a new function very similar to the jrFollower_button.

I am hoping that the data stored in $item.action_data.guestbook_pending will make this rather easy. I see "0" when a guestbook is signed and approved. Does "1" indicate pending and "2" indicate not signed?

As you can see from my screenshot (timeline > GuestBook action entry), I have placed the Follow_Button where I want a GuestBook_Button that responds very similarly - "Sign Now" or "Pending" or "Signed".

This should greatly increase the use of the guestbook and encourage more member-to-member interaction.

Thanks!
Screenshot 2016-12-15 09.11.23.png Screenshot 2016-12-15 09.11.23.png - 189KB

updated by @the-patria-company: 03/20/17 04:22:32AM
  15