Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by ReyDev
-
-
I've developed an app, And I want to add menu items of this app to this section.
How can I do it?
-
2 hours ago, Nathan Explosion said:
Show your code...
Selector :
nav[data-controller='core.front.core.navBar'] > div.ipsNavBar_primary.ipsLayout_container
content :
{template="navBar" group="plugins" location="global" app="core" params=""}
And navBar.phtml is something like this :
<ips:template parameters="$preview=FALSE"/> <div> <div class=myMenu"> <ul> <li>Item 1 </li> <li>Item 2 </li> </ul> </div> </div>
As I said, It works in developer mode but in production mode doesn't.
-
Hi,
I've created a template hook for a plugin. Everything is ok when I'm in developer mode(IN_DEV = TRUE) but in production mode(IN_DEV = FALSE), I get this error :
[[Template core/front/global/navBar is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] -
5 hours ago, Noble~ said:
So the only place you can use this app is in the admin panel
You can Upload an image, Add the spots with tons of customization options, And you can use the hotspot widget in the frontend.
Please check Demo -
2 hours ago, KenuFHR said:
Very cool idea - this seems like it could be very handy in an FAQ section
Thanks.
Of course, this app can also be used for this purpose. 🙂
2 hours ago, KenuFHR said:So if I understand correctly, it should theoretically work across applications and even 3rd party plugins that utilize the editor(?). 🙂
You can use the widget of this app on any page and wherever you want but it can not be added inside the editor. You can use its output as a image (we're working on it) in any editor.
-
No.
But we are going to add a new feature to the app that you can get jpg and png from images and their hotspots and use them wherever you want.- bernardprejean and Noble~
- 1
- 1
-
34 minutes ago, kmk said:
What I am thinking is use the spot to create a map of funny content for kids, similar a game map.
It's a good idea for a LMS system.
-
18 minutes ago, kmk said:
Example, I would like place 3 items of contents with criterias, that mean member need complete criterias of fisrt, then the 2 and 3 will be unblocked and available to see the contents.
This is a special feature and is not currently in our development planning.
-
1 hour ago, kmk said:
I missed something?what I found on that image are 3 pop up messages of prices...link is a redirect of URL?
I added to the demo after reminding you.
Yes, you can set a URL for contents.The spot content is very complete and powerful and supports any content you want
Check it please here :
http://ips.valacoding.com/index.php?/online/
Your content can be :
- simple text with link
- Image with link
- Movie ,that you can upload a video or use an external link (youtube , ... )
- Text using text editor (you can use the IPS editor to add any content you want )
please look at this screenshot. as you can see, it supports all type of content
-
Just now, Telemacus2 said:
Amazing! what are the requirements? like, do you need the gallery or pages app for this to work?
Thanks,
No application or plugin is required.
You can use it wherever you want. -
1 hour ago, ReyDev said:
In this hotspot, I used the link
You can see it here: -
1 hour ago, kmk said:
Using mobile, I found 2 pictures with responsive issues... It will be fixed?
Any issues you send us will be resolved as soon as possible.
Please send a screenshot of the issue in mobile mode.
We are also checking for such cases and all cases will surely be resolved.1 hour ago, kmk said:What others features we can wait for more(or some roadmap of more features will be implemented) ?
There are some things that we will add in the new versions. Of course, this app is one of the most complete apps in similar widgets on other platforms. But we will make it better.
-
7 hours ago, bing11 said:
very nice
The content can be link or html code ?( I see text image and movie only )
2 hours ago, kmk said:Same question, I would like place a link to open other tab of page.
You can definitely use link with text and image .You can also use text using Text Editor (it can be html) and video as well . You can add any type of content.
-
-
2 minutes ago, jair101 said:
Can you please share some screenshots from the admin panel/configuration screen as well?
Thanks for the reminder.
I will add now. -
VALA Image Hotspots Application
The Image Hotspot is a creative application that lets you bring life into an image
This Application allows you to create beautiful and professional hotspots with tooltips and tons of customization options.Please use this topic for support request or suggest new ideas.
-
19 hours ago, ReyDev said:
\IPS\Output::i()->jsFiles = array_merge( \IPS\Output::i()->jsFiles, \IPS\Output::i()->js( 'admin_scriptfile.js', 'myAppName', 'admin' ) );
19 hours ago, Nathan Explosion said:Do you see the files called in the page source or not? Forget about what the script itself is going to do - check the page source. If they are loading there, then worry about the content...if they aren't, then you haven't got the call to them correct.
Thanks , it was finally done.
-
Thanks, it worked. Works on ACP, but does not work on widgets. Can I attach JS files to widgets in the same way?
Another question, should all JavaScript files be registered?
And can we use regular JavaScript files? . Like : -
37 minutes ago, Martin A. said:
\IPS\Output::i()->jsFiles = array_merge( \IPS\Output::i()->jsFiles, \IPS\Output::i()->js( 'admin_scriptfile.js', 'myAppName', 'admin' ) );
I did it according to the instructions you said and I am sure it is correct, but it still does not work.
I think the problem could be from permission or something!!
-
19 minutes ago, Nathan Explosion said:
Show the files, and their locations, then...give more detail than you are providing.
I said before that nothing works. even dbl-click event.
-
13 minutes ago, Martin A. said:
Whether you're just switching IN_DEV off, or building and installing it elsewhere is also going to make a difference.
It does not work in both cases
19 minutes ago, Nathan Explosion said:That statement only isn't going to get much of a response - you're going to have to show your code (how you are calling the JS file, where it is stored etc)
\IPS\Output::i()->jsFiles = array_merge(\IPS\Output::i()->jsFiles, \IPS\Output::i()->js('script.js', 'myAppName', 'front'));
I have stored some files in the JS Admin controller folder and some in the front section.
-
I have developed an app and when working in developer mode everything goes well (IN_DEV = TRUE), but in production mode(IN_DEV = FALSE), JS doesn't work at all.
-
1 hour ago, Martin A. said:
I'm not sure this is the approach you want to take. What would happen if your widget is used on 10 different pages? If you remove it from one of them this would change the setting for all other pages. You haven't said what this "clean up" is all about.
You should look into using the configuration() method in the widget. And/or deal with the settings in the ACP. Look at the relatedContent or stream widget in the core app to see how that's done.
If you look at the topContributors widget, the delete method is used to delete a custom language string that's part of the widget configuration.
58 minutes ago, Daniel F said:Why would you want to change a global setting when the widget is removed?
What are you trying to achieve?I solved my problem in another way. But I think this can be useful.
When I add the widget, I add a value to the array that is stored in the settings. I do this when configuring the widget. (configuration() method)
Now I want to remove this value from the array I defined, when deleting the widget. (I thought the delete method would do that) -
1 hour ago, ReyDev said:
\IPS\core\modules\front\system\widgets::saveOrder().
Do I have to do this by HOOK?! (I'm new to this platform 🙂 )
How to add a CSS file to the theme hook in Application
in Developer Connection
Posted
I've hooked a theme in my application, And I'm going to add a css file to this theme.
I've added the css file ( here : myapp > dev > css ), but it doesn't attach automatically to the theme like plugins.
How can I do it?