Liferay widget not visible on a specific liferay site/page - widget

I am working on a Liferay project and we developed our own widgets. And also our own sites of course. Now I have the problem that a specific widget is not available for a certain site. I can deploy it everywhere else, but not on this site.
Does anybody have an idea where this problem is coming from?
Greetings,
Michael
P.S. Please let me know if my question is not specific enough, I dont know how to be more clear here.

As you mention that
you can deploy the widget on any other site
you can't deploy the widget on any page in a specific site
I'm assuming that you're suffering from a lack of permissions. You can try to work around by becoming a global Administrator (I'm assuming that you're Site Administrator or Organization Administrator in the other sites, where you can add the widget).
Another alternative is that you're trying to add the widget to a site (or page) that's built from Templates that can't be changed: In that case, you'd not have any widget in the "Add Widget" menu though, if you have the "Add Widget" menu at all.
You may also want to check the overall permissions available for your custom widget in the Roles/Define Permission dialog and make sure that you're defining the correct permissions for your widget (e.g. check your widget's default.xml and its declaration)

Related

How to get custom functionality in Django admin. Are there cases where it's recommended to do your own admin page from scratch?

This is a quick question for any experienced Django developers.
I have been trying to implement an admin page for 'Products' for an e-commerce store.
My vision for it was to have the top half of that form being used to enter information about a product which is a model I have defined. In the bottom part, I wanted to create some kind of inline to create ProductVariant (which is also a model I have) objects. Within the ProductVariant, I need some type of JavaScript behavior which displays or hides fields based on information entered at the Product section.
My question is would you recommend just completely throwing away the admin framework provided for that specific page and doing my own thing from scratch because I have just been struggling to get the custom functionality I want.
Yes to get the custom functionality you are describing, you’d probably need to implement, on your own, certain parts of the admin site (most likely overriding the templates). Some people even go as far as creating an entirely new admin site if they intend to work with frameworks like React.
That said, I’d look into the templates of the admin site in the Django libraries and, perhaps, copy most parts of the template then style and and add JavaScript as desired because you might miss certain key elements of the original if you do your own from scratch.

Is there a no-code way to add a widget to a website that does not require changing the website's code base?

Is there a way to add a widget to a website (e.g. a small button that hovers in the corner that you can click to be redirected to another site) without having to add a code snippet like e.g. intercom requires?
Context: looking at a user base for a service that all don't know how to code or change their website code base, but would benefit tremendously from a widget on their website.
Thanks!
Are you using WordPress for your site-building? widget is a very very simple thing to add-on it without doing any coding... All the designing matters on which tool you are building your site...
You can easily find a code script on the internet, however if you still feels that you can't add it successfully to your website, you can always find online freelancers to do it for you on very minimal prices correctly.

Simulate "Tabs" with Wirecloud

I am working with wirecloud platform and I would like to know the following:
1.- Is is possible to resize the widget's width and height dinamically?
2.- Is it possible to fill a dashboard with widgets and ops dinamically?
Both questions aims to have a menu(widget) where users can click and change between different tabs.
Any help or idea would be highly appreciated.
EDIT 06/08/15
I am able to answer the second question: NO. As I can see in this request, the ability to add/remove widgets dinamically is not available, although is thought to be in future releases of the platform. Next question: when is it going to be available?
EDIT 13/08/15
I expected using:
MashupPlatform.widget.drawAttention();
could trigger a tab change, but no luck.
EDIT 27/08/15
Finally, we found a workaround. We take advantage of the iFrame property by which you can access to parent's document. From there, we are able to read the elements representing the tabs and generate their clicks at will.
Support for adding widgets and operators dynamically will be added on version 0.8.0, you can experiment with this feature if you install WireCloud from the develop branch on github. We are working on improving the documentation and polishing it for a new release at the end of September.
Although is great you find a work around using the iframe property for moving between tabs :), I recommend you to request the addition of such a feature using the WireCloud's issue tracker ;-).
P.D. MashupPlatform.widget.drawAttention(); need some fixes, but the idea is to provide some visual highlighting of widgets so user know there are updates in the widget. Something similar to the way google hangouts uses a green color for indicating the chat has new messages.

How to add client specific login to my site so they can access a page only they can see

I am not a programmer and rely on products such as wix, weebly, and wordpress to "cheat" by drag and dropping what I need. I am trying to build a site which will mostly have informational pages but I also need the ability for clients to be able to login and submit/change forms as well as upload documents. Thanks to sites such as the ones mentioned above I am able to setup the informational site and have a log in - but I need a log in where it will direct each individual to a "personal page" where they can edit their forms and upload more documents. Any ideas? Is there perhaps an html embed code or plugin of some sort that could do this?
Weebly, to my knowledge, can't handle custom login screens. Not familiar with Wix, but I assume it is the same.
Consider looking into Wordpress. It is much more friendly to non-programmers, and is very easy to customize. The default WordPress build comes with a login system.
Customization looks easy enough. Hope that helps.

How to edit and add Customer Services, Extras & My Account pages from admin side in Opencart

I have searched everywhere but not succeed. Does anybody know? Please help me.
You can't add custom pages for them. You need to edit the templates directly through FTP, if you need new pages add them in the controller and also add the .tpl file for it too. You do need to know what your doing though so you should probably contact a developer if you need it to be done. It is basic MVC style coding so almost any PHP developer should be able to pick it up quite quick.