I know portlets are in Layouts, but I cannot find hooks.
Thanks.
Related
Management has given me a task to add a link(ex. under "People" link) and display a table w/ data from a DB(MongoDB). The user will be then able to insert/update the table and have it saved to the DB.
Using HTML/CSS/JS I am capable to doing it but I don't know how to modify jenkins to do so. I've looked for plugins like "Simple Theme" but from what I saw it only updates CSS and JS of Jenkins UI. I'm new to Jenkins and really have not idea where to start.
Any suggestions?
Thanks!
To customize a jenkins plugin of your own is a graceful solution but complicated for someone who is new to jenkins.
create a new jenkins-plugin project and need to be familiar with java/maven before.
create a java subclass which implements hudson.model.RootAction.
create index.jelly which display the table data from the DB and need to learn jelly before.
SOLUTION
Inline Relational Record Editing is the answer. Handy stuff.
For Documentation
:)
QUESTION
I created a front-end plugin using extension builder in TYPO3 6.1.0. For this plugin, extension builder of course generates few default forms in the backend. However, my intention is to have the forms customized. My plugin has 3 tables related it and all these have to be integrated to be inputted from one common form, than having individual forms, which is not ideal.
Do I configure my TCA stuff for this ?.. If so, please suggest me some good tutorials on that.
Or will using FlexForm do the trick ?...also please suggest some good tutorials.
I also checked out Flux, but did not quite understand the architecture of it.
Thank You :)
EDIT:
I want forms to give the user to fill in records. Lets say I have an extension for creating Calendar Events. I need a form, in the TYPO3 backend, through which an administrator can add events and its details.
This could be a newbie question regarding Liferay - sorry for that:
Is there any chance to hook up the saving process in Liferay CMS?
E.g. we'd like to send content to a CDN and a separate NoSQL-database once it was stored in Liferay.
How can we achieve that? Any hint is highly appreciated.
I think a hook, either a ModelListener-hook for JournalArticle or a ServiceWrapper-hook on the methods that would save the web-content, should do the trick for you.
Or else if you don't want a real-time update you can always create a cron-job in liferay which would look in the specific database tables using Liferay API and do the work for you.
I was wondering if page templates can be built instead of individual components in Teamsite 7? I've seen other cMS systems where it is just a page template that has lots of functionality built I and you can "switch" on and off elements that you want to display instead of having to drag components onto a page? Is this possible?
Old question, but since I just came across it:
Yes, TeamSite supports templates (.template) files which can be partial or full page templates. The default location is iwadmin/main/livesite/template.
I recommend downloading the developer guides from Autonomy's web site for detailed information.
Templates in teamsite/livesite is like a bag that can contain components. But in order for a functionality to be developed in teamsite/livesite we need to create components. certainly we can avoid dragging and dropping components in each page by creating templates and dropping components within it for once. Keep in mind templates are bound to layouts. for each type of layout we need to create a template. Please have a look at TS_7.3_SiteDeveloper_rev1, Chapter 5.
Yes, you can create templates instead of dragging components.
Since, TeamSite supports templates (.template) files which can be partial or full page templates and resides at location : iwadmin/main/livesite/template.
So, whenever you try to create a new page everytime the HTML code required for that page gets automatically added with the template and layouts you selected.
But, again this is not good since you can have any number of templates you need but this could create confusions at times when you try to create a new page since you will need to remember every template name and contents that you will need for a particular page so it's better to have small lists of templates and layouts since then we can say that there is reusability in our application/website which we are going to develop using Teamsite and Livesite.
Please vote the solution if its helpful.
Thanks!
The problem is, say, i am having a page xyz. And in that page there are 20 portlets. How can i find out the names of all portlets placed on the page.
Provided i am having the admin privilege.
In Liferay the easiest way to do this is probably in the theme, you want to get a hold of the Layout object, that will let you explore the layout and pull references to the portlets on a page.
Some references:
http://www.liferay.com/community/wiki/-/wiki/Main/Layout%20Template#section-Layout+Template-AvailableVariablesInTemplate
http://docs.liferay.com/portal/5.2/javadocs/portal-service/com/liferay/portal/model/Layout.html
The two portlet standards (JSR-168 and JSR-286) don't specify any way of finding out the names of the portlets placed on the page.
But, it is possible that each portal provides a proprietary way of achieving what you want to do.