Skip to content

Open fullscreen image Modal#285

Open
SharmPRO wants to merge 6 commits into
wordpress-clients:developfrom
SharmPRO:develop
Open

Open fullscreen image Modal#285
SharmPRO wants to merge 6 commits into
wordpress-clients:developfrom
SharmPRO:develop

Conversation

@SharmPRO

@SharmPRO SharmPRO commented Oct 21, 2016

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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

@SharmPRO

SharmPRO commented Oct 31, 2016

Copy link
Copy Markdown
Contributor Author

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

@shprink

shprink commented Oct 31, 2016

Copy link
Copy Markdown
Collaborator

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.

3 participants