Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open fullscreen image Modal #285

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

SharmPRO
Copy link
Contributor

@SharmPRO SharmPRO commented Oct 21, 2016

Add
ng-click="::customPostsItemCtrl.showImageInModal('{{::customPostsItemCtr
l.item.featured_media}}','{{::customPostsItemCtrl.item.title.rendered}}'
)"

this implementation is tied to customPost.
it should be a function available to all modules

Add
ng-click="::customPostsItemCtrl.showImageInModal('{{::customPostsItemCtr
l.item.featured_media}}','{{::customPostsItemCtrl.item.title.rendered}}'
)"
@pinkasey
Copy link

Sounds interesting. I'll try this on my branch as well, maybe I need this behaviour.

@SharmPRO
Copy link
Contributor Author

SharmPRO commented Oct 31, 2016

i tried to implement Modal but just got it on customPosts...
is anybody interested to help ? My ionic/angular skills are basic

@shprink
Copy link
Collaborator

shprink commented Oct 31, 2016

Thanks for sharing this. I will not merge it but it is a good start for us to think about creating this feature for any type of content.

in config.sccs:

.no-padding{padding:0 !important;}

in config.json:

# Page
"page":
    "footer":
        "position": 1 # 1=sticky | 2=content | 0=none
        "icon":
            "openInBrowser": "ion-star" # default "ion-planet"

# Post
"post":
    "footer":
        "position": 2 # 1=sticky | 2=content | 0=none
        "icon":
            "openInBrowser": "ion-planet" # default "none"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants