Forum Activity for @melih

Melih
@melih
08/15/16 02:49:53PM
198 posts

Suggestions for Lightbox view


Suggestions

Like Michael said, you can open any image in lightbox if you add "data-lightbox" attribute to the link. It is very easy to use. But my personal point of view lightbox2 is a little bit limited functionally. I sick and tired to find ways around to do what i wanted to do with lightbox. So i change it with fancybox. Now i can make it display almost everything in a lightbox with fancybox. I used lightbox to show images with many additional data like title, links, tags... But recently i needed to show an iframe in a lightbox for spherical panoramas. There is no way to display iframe in lightbox at least i couldn't find. Now i am very happy with fancybox. But if you want to display only images in lightbox all you need to do is change the image source code to a link code and add the "data-lightbox" attribute. And you can pass things to lightbox with "data-title" attribute. For example i used data-title to give link to profiles; you can go to a person's profile by clicking a link under that person's photo. You can find more information about lightbox on the web
updated by @melih: 08/15/16 02:50:23PM
Melih
@melih
07/29/16 07:58:55AM
198 posts

Next Item


Jamroom Developers

I didn't see A-Frame before. It looks good and it have VR support!

I used Pannellum. Simple and easy. For now it looks enough for me. But i will examine A-Frame, vr support is tempting :)

My priority was that panoramic images would be easily uploaded by users
Melih
@melih
07/28/16 03:15:37PM
198 posts

Next Item


Jamroom Developers

Thank you Brian! :)

I am planing to add this more than one module. But actaully firts reason is, i made a custom one to display panoramic images. It require some additional script to show. And the lightbox not allowed anyting but images. So I wanted to jump to next one easily ;)
updated by @melih: 07/28/16 03:16:15PM
Melih
@melih
07/28/16 02:47:16PM
198 posts

Next Item


Jamroom Developers

That's ok Brian, i made one by myself with your firts idea!

I am sharing that piece of code so it could help someone...

/// If you add this code to the item_details.tpl it will navigate you to other items of profile owner.
//Captures for Nest & Previous Links:
{capture name="template" assign="next_tpl"}
    {literal}
        {jrCore_module_url module="myModule" assign="murl"}
        {foreach $_items as $item}
            <a href='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}'>Next</a>
        {/foreach}
    {/literal}
{/capture}

{capture name="template" assign="prev_tpl"}
    {literal}
        {jrCore_module_url module="myModule" assign="murl"}
        {foreach $_items as $item}
            <a href='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}'>Previous</a>
        {/foreach}
    {/literal}
{/capture}

// If items ordered to new to old in item_list next one actually will be older one. If you are using another method to order items you can change order_by and search parameters
{jrCore_list module="jrGenStory" order_by="_item_id numerical_desc" profile_id="`$item._profile_id`" search1="_item_id < `$item._item_id`" limit="1" template=$next_tpl assign="next_link"}

{jrCore_list module="jrGenStory" order_by="_item_id numerical_asc" profile_id="`$item._profile_id`" search1="_item_id > `$item._item_id`" limit="1" template=$prev_tpl assign="prev_link"}

<div class="nextprev">
	<div style="float:right;">
		{$next_link}
	</div>
	<div style="float:left;">
		{$prev_link}
	</div>
</div>

updated by @melih: 07/28/16 02:51:26PM
Melih
@melih
07/28/16 02:09:43AM
198 posts

Next Item


Jamroom Developers

But unfortunately i don't have gallery module :( Coldu you just give me the jrCore_list call?
Melih
@melih
07/27/16 03:58:26PM
198 posts

Next Item


Jamroom Developers

Thank you Brian, i will try to make somethings.
Melih
@melih
07/27/16 02:11:03PM
198 posts

Next Item


Jamroom Developers

Hello everyone,

I hope you are all having a great day!

I have a question, is there a easy way to make links to get next and previous items in a page for example item_detail template?

I want to put links to easly jump to next or previous post like wordpress without going back to item_list

I know it is possible because in here your documentation pages has it, but how i don't know :)
updated by @melih: 11/03/16 11:19:41AM
Melih
@melih
07/26/16 01:38:53PM
198 posts

Notification Settings


Jamroom Developers

Here some ideas

Like i mentioned before, maybe you can add an option for choosing between old one and new one
or
sections can be manage with a field like the module category on the module's settings for ACP
Melih
@melih
07/26/16 04:13:13AM
198 posts

Notification Settings


Jamroom Developers

Hello,

I have a problem about the new page of notification settings. There is a problem about the translations of the module names in the new one but since there was no module names in the old one, there was nothing to translate about module names.

From my point of view old one was easy and better. Would it be possible to add an option for choosing between old one and new one? If this is not possible, module names must be able to be translated.
new.PNG.png new.PNG.png - 18KB

updated by @melih: 11/01/16 09:40:24AM
Melih
@melih
07/26/16 03:59:39AM
198 posts

JrCore_list in email template


Jamroom Developers

Thank you Michael ;)
  8