Foren
to move search box over the top banner
Zeeshan Khan, geändert vor 12 Jahren.
to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi every1 !!
i finally able to create a search box on top of my liferay page.........now my manager has asked me to move that search box over the top banner such that the banner image should visible as a background image to that search box........plz help me guyz....how to acheive this requirement......???????
i finally able to create a search box on top of my liferay page.........now my manager has asked me to move that search box over the top banner such that the banner image should visible as a background image to that search box........plz help me guyz....how to acheive this requirement......???????
Kavita Gupta, geändert vor 12 Jahren.
RE: to move search box over the top banner
Junior Member Beiträge: 64 Beitrittsdatum: 12.03.08 Neueste Beiträge
Hi,
You can do this using css and making the input box transparent with the help of css.
Regards,
Kavita
You can do this using css and making the input box transparent with the help of css.
Regards,
Kavita
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !!
its working now.....thnx......
1 more thing i have........can u tell me how to create an ATTCHMENT BOX in webform portlet so that some can upload his/her resume and after submitting it should go to a specific email ID.....???
its working now.....thnx......
1 more thing i have........can u tell me how to create an ATTCHMENT BOX in webform portlet so that some can upload his/her resume and after submitting it should go to a specific email ID.....???
Kavita Gupta, geändert vor 12 Jahren.
RE: to move search box over the top banner
Junior Member Beiträge: 64 Beitrittsdatum: 12.03.08 Neueste Beiträge
Hi Zeeshan,
By default Web form portlet does not provide a feature of Attachment but you can customize Web Form portlet or if your web form structure is fixed then you can modify jsp of Web Form. Add below line to browse file :
<aui:input name="file" type="file" />
Regards,
Kavita
By default Web form portlet does not provide a feature of Attachment but you can customize Web Form portlet or if your web form structure is fixed then you can modify jsp of Web Form. Add below line to browse file :
<aui:input name="file" type="file" />
Regards,
Kavita
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !!
thnx 4 ur reply...
do i need to change any clasess or any other file.....or it is enough.....???
thnx 4 ur reply...
do i need to change any clasess or any other file.....or it is enough.....???
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !!
after adding that line in the WEBFORM jsp file, i am able to see the field of attachin the document but the problem is when i click the SEND button, everything is coming in the mailbox except the attached document.........what to do kavita......
after adding that line in the WEBFORM jsp file, i am able to see the field of attachin the document but the problem is when i click the SEND button, everything is coming in the mailbox except the attached document.........what to do kavita......
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi kavita !!
still waiting for ur reply.......
still waiting for ur reply.......
Kavita Gupta, geändert vor 12 Jahren.
RE: to move search box over the top banner
Junior Member Beiträge: 64 Beitrittsdatum: 12.03.08 Neueste Beiträge
Hi Zeeshan,
Yes you have to modify the class which is used for sending the mail. You need to use the method which is used to send the attachment.
Liferay has that API. Just check the API of mail.
Regards,
Kavita
Yes you have to modify the class which is used for sending the mail. You need to use the method which is used to send the attachment.
Liferay has that API. Just check the API of mail.
Regards,
Kavita
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !!
thnx 4 the reply.....
actually i dint get exactly what u say...sorry........can u explain it in a broad way Kavita.......
thnx !!!
thnx 4 the reply.....
actually i dint get exactly what u say...sorry........can u explain it in a broad way Kavita.......
thnx !!!
Kavita Gupta, geändert vor 12 Jahren.
RE: to move search box over the top banner
Junior Member Beiträge: 64 Beitrittsdatum: 12.03.08 Neueste Beiträge
Hi,
You can use addAttachment method for sending the file. You can check MailMessage.java for more detail.
Use this method in your web form class.
Regards,
Kavita Kumari
You can use addAttachment method for sending the file. You can check MailMessage.java for more detail.
Use this method in your web form class.
Regards,
Kavita Kumari
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !!
i have added this method in WebFormPortlet.java......
public void addAttachment(File attachment) {
if (attachment != null) {
_attachments.add(attachment);
}
}
and have added this line in view.jsp of webform.......
<aui:input name="file" type="file" />
correct me kavita if i have done something wrong.....
but still i am unable to find any attached document in my gmail inbox after clicking on SEND button of webform portlet.......
i have added this method in WebFormPortlet.java......
public void addAttachment(File attachment) {
if (attachment != null) {
_attachments.add(attachment);
}
}
and have added this line in view.jsp of webform.......
<aui:input name="file" type="file" />
correct me kavita if i have done something wrong.....
but still i am unable to find any attached document in my gmail inbox after clicking on SEND button of webform portlet.......
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !!
plz provide some solutions for this.....
plz provide some solutions for this.....
Kavita Gupta, geändert vor 12 Jahren.
RE: to move search box over the top banner
Junior Member Beiträge: 64 Beitrittsdatum: 12.03.08 Neueste Beiträge
You can refer this class SubscriptionSender.java
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !!
i cudnt find any specific thing after googling "SubscriptionSender.java"........i mean how to use this class and where to use this in WEBFORM......
need ur help....
thnx !!!
i cudnt find any specific thing after googling "SubscriptionSender.java"........i mean how to use this class and where to use this in WEBFORM......
need ur help....
thnx !!!
Kavita Gupta, geändert vor 12 Jahren.
RE: to move search box over the top banner
Junior Member Beiträge: 64 Beitrittsdatum: 12.03.08 Neueste Beiträge
In that class they have used the addattachement feature.
They have created an object of MailMessage then they use a addattachement method with object and then they used a method call sendMessage and in which they are passing the object as a parameter.
They have created an object of MailMessage then they use a addattachement method with object and then they used a method call sendMessage and in which they are passing the object as a parameter.
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !
where do i need to do these modifications....??
where do i need to do these modifications....??
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Kavita....r u talking about this link..... http://svn.liferay.com/rdiff/portal?csid=86518&u&N
Kavita Gupta, geändert vor 12 Jahren.
RE: to move search box over the top banner
Junior Member Beiträge: 64 Beitrittsdatum: 12.03.08 Neueste Beiträge
No, I was talking about the java class.
I hope this will help.
MailMessage mailMessage = new MailMessage(from, to, processedSubject, processedBody, htmlFormat); // Create Object of Mail Message
mailMessage.addAttachment(attachment);
MailServiceUtil.sendEmail(mailMessage);
I hope this will help.
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !!
thnx 4 replying......sorry if i am troubling u much.....really sorry...but the thing is am very new to liferay and got trapped in this requirement....
ohkay......can u tell me where to put this code what u posted......???? and this code is enough to accomplish my requirement......???
thnx !!
thnx 4 replying......sorry if i am troubling u much.....really sorry...but the thing is am very new to liferay and got trapped in this requirement....
ohkay......can u tell me where to put this code what u posted......???? and this code is enough to accomplish my requirement......???
thnx !!
Zeeshan Khan, geändert vor 12 Jahren.
RE: to move search box over the top banner
Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Kavita !!
did u get any clue...??
thnx !!
did u get any clue...??
thnx !!