Forum Activity for @the-patria-company

PatriaCo
@the-patria-company
08/11/16 06:50:46PM
349 posts

ISkin4 Lightbox - video support


Design and Skin Customization

Hey Nate,

Does the lightbox in iSkin4 support video?
updated by @the-patria-company: 11/15/16 04:25:44PM
PatriaCo
@the-patria-company
08/09/16 10:52:16AM
349 posts

iSkin4 Feedback Buttons


Design and Skin Customization

Hey Nate,

I need the feedback buttons to operate differently on a detail page as compared with timeline posts. I was thinking that the best way to do this would be to create a separate feedback_action.tpl with a corresponding:

{xxClonediSkin4_feedback_action_buttons module="jrAction" item=$item}

I am not sure where to go to set the additional tpl file and if statement.
Is this even possible?

Thanks :)
updated by @the-patria-company: 11/30/16 12:37:12PM
PatriaCo
@the-patria-company
08/05/16 04:14:30PM
349 posts

iSkin4 Module Template Override


Design and Skin Customization

Ok, I got it figured out. Unnecessary extra div tags in the Tags tabs.tpl at the very bottom.

And my custom module was using some js from my other skin that I neglected to add in.

Thanks for the help. :)
PatriaCo
@the-patria-company
08/05/16 02:02:57PM
349 posts

iSkin4 Module Template Override


Design and Skin Customization

So I wonder why my custom module default index.tpl is not working? I have not created a template for it in the skin. Where would you start looking to find out what is going on?
PatriaCo
@the-patria-company
08/05/16 12:26:11PM
349 posts

iSkin4 Module Template Override


Design and Skin Customization

Hey Nate,

Recently Brian helped me through a problem by explaining to me:

Quote:
The profile pages are constructed using:
profile_header.tpl
profile_item_index.tpl (this middle template changes to item/detail).
profile_footer.tpl

How are the module index pages constructed in iSkin4? Maybe I can track that pesky code down and get my custom module page to work.

Thanks :)
PatriaCo
@the-patria-company
08/05/16 08:43:58AM
349 posts

iSkin4 Module Template Override


Design and Skin Customization

Also, I have a few custom modules. Is there a way to override the override? ;)

Or do I need to make a xxCustom_index.tpl and add it to the skin?
PatriaCo
@the-patria-company
08/05/16 08:06:36AM
349 posts

iSkin4 Module Template Override


Design and Skin Customization

Hey Nate :)

I am really enjoying the flexibility of having the skin override the module templates, but I ran into a little issue trying to track down the code trail for each module's index.tpl.

After the header.tpl I think your structure is using the module's header.tpl, but... for example, dissecting the jrTags_index page there is code between the Tag module's header.tpl and the jrTags_index.tpl and I can not at all figure out where it is coming from.

<table class="page_content"></table> // I know this is the tabs, but how does it get called?
<div class="block">
     <div class="block_content">


Thanks!
updated by @the-patria-company: 11/04/16 05:07:42AM
PatriaCo
@the-patria-company
07/28/16 07:40:29PM
349 posts

If statement from an array


Jamroom Developers

Thank you so much, I am very close. I need to set the "outer" parameter for the comment being displayed. It makes up this part of your code:

{if $item.comment_parent_id == "something"}

Something needs to be the $item._item_id for the comment being displayed.

{jrCore_module_url module="jrComment" assign="murl"}
// select each comment in the array
{foreach $_items as $item}
// set the item_id as the parent_id to be used later -- !! This is the part I have wrong !! --
{$_item._item_id = $parent_id}
// code that displays the top portion of the comment
{$a_flag = false}
{if (isset($_items) && is_array($_items))}
  {foreach $_items as $item}
       {if $item.comment_parent_id == $parent_id}  // here is where I need to have the outer param
            {$a_flag = true}
       {/if}
   {/foreach}
{/if}

{if $a_flag}
    Show Replies
{/if}

Currently this code is returning true all the time and a debug does not generate any results for $parent_id... so I know I have something wrong.

Thanks again :)
PatriaCo
@the-patria-company
07/28/16 05:38:57PM
349 posts

Custom Domains - Custom Logos


Suggestions

JR should identify if a custom domain and custom logo are in use and if so when the custom logo is clicked it should return the visitor to the profile's index page not the root site's index page.

Just a thought :)
updated by @the-patria-company: 11/07/16 10:35:13AM
PatriaCo
@the-patria-company
07/28/16 04:45:51PM
349 posts

If statement from an array


Jamroom Developers

I am trying to construct an if statement that checks all the array data in $_items for $_items.comment_parent_id "that == its own" $_items._item_id

This would indicate that the item has been replied to with threading enabled.

{if $item._item_id == $_item.comment_parent_id (check all records within the array to see if one exists and if yes return true)}

Thanks for the help.
updated by @the-patria-company: 10/30/16 10:34:11PM
  20