Integrating the PHP Based Forum Component in CQ5 Pages.
We have the requirement to integrate the Php based forum product (VBulletin) in our CQ5 pages. Have anyone already integrated the Php based prodcuts with CQ5? Especially i would like to know the feasibilty on the following point.
A. Do we need to implement the Wrapper Service to interact with Php based products / APIs?
Thanks,
Thyshiva.
There of course multiple ways to attempt to integrate with a service like this, the approriate approach will vary based on your requirements.
The first question I would ask is what functionality are you trying to integrate into you CQ5 pages. Are you just trying list summaries of posts - say the 3 most recent posts on topic X, or are you attempting to display the complete forum functionality in a CQ 5 page.
If you doing a light weight integration - for example displaying the most recent posts then I would explore the possiblity of a client side integration using AJAX to pull the data from your PHP system in JSON or XML format. This avoids any caching related issues and keeps the integration loosely coupled. There are of course variations on these methods that use CQ as a proxy to the PHP application, but then you end up having to write a OSGI wrapper service that talks to your PHP app over web services.
If your integration is more complicated and you are looking to enable all the forum functionality. If your PHP app is visually the same as you CQ5 site you can make use of a iframe to include it in a CQ page. This obviously have potential issue (security, layout issues if sizes or CSS aren't consistent). CQ5 includes a foundation component to help with this - the External component which leverages an iframe.
If an iframe or client side approach won't work then you would need to look at creating a set of OSGI wrapper services that communicate with your PHP application via web services. This obvious would be a singificant development effort, and depending on the capabilities of you PHP application may be difficult to implement. In particular user management and security integrations be complex (you can avoid these sorts of issues with a client side or iframe approach, especially if you can sub-domain the PHP app, or use the same apache server to host both dispatcher and you PHP app).
Similar Messages
-
How to integration the third-party forums in Portal?
Hello everyone,
I want to integration an third-party forums into Portal.
How to do it ?
Is there anyone had done that?
Thanks & Regards,
Jianguo ChenHello Holger,
Thank you for your response.
I am familiar with URL-iview,
and it should be ok integration forum as an iview.
But the third-party forum has its own user management system.
I means that the third-party forums need register and logon, then users can enter it.
We want carry out that integration the user management of Portal and the third-party forum,
the user of Portal and the third-party is consistent,
Portal UME can full control the third-party forums's user.
Is this issue possible?
And I am agree with your opinion that we need some develop for UI integration.
Regards,
Jianguo Chen -
OT: Experience with PHP based forum ?
Hey there,
I was curious if anyone has experience with a PHP/MySQL
forum...
I know there are plenty out there, but I also heard that some
have had
some security troubles lately.
I never paid much attention, but now I may have a project
lined up where
I need to implement a forum, so I's just curious for any
recommendations...
Thanks in advance,
AnuragPhpBB is very good, pretty easy to setup and is also
customisable. Well
worth a look. Updates are available often to keep up with
security issues.
Gareth
http://www.phploginsuite.co.uk/
PHP Login Suite V2 - 34 Server Behaviors to build a complete
Login system. -
How extend the Forum component?
Hi I'm trying to extend the Forum component from CQ5.4 but I'm unable to get it working when the user enter the first post for a topic creation the Servlets that ends with the request is the SlingPostServlet, and I ended with the properties for the current node in the parsys added or modified with the title and message for the new topic, for some reason I'm unable to get the com.day.cq.collab.forum.impl.CreatePostServlet, to handle the request. I tried bny extending the com.day.cq.collab.forum.impl.CreatePostServlet creating my own version of the Servlet, but when I display the status of the component in the Apache Felix console the service seems unable to resolve a reference to the UserManagerFactory and says unsatisfied reference.
Any one has tried to do anything like this before? Is this feasible?
thanks in advance.!Hi,
it should be UnifiedImageTag.class in adf-richclient-impl-11.jar
Frank -
When I open the application the following alert appears: "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory." There is a solution on the support site but only for Windows-based Firefox, and I'm a Mac user. I have plenty of room on my hard disk.
== This happened ==
Every time Firefox opened
== Two days ago, for no apparent reason.In Mac OS X v10.7, the $HOME/Library folder is a hidden folder.
Open Finder and use one of these:
* Go > Go To Folder (Shift-Command-G) and in the dialog type: ~/Library
* Open the "Go" menu and hold down the Option key to make the Library appear
You can also use this command in a Terminal window to remove the hidden flag.
* Mac HD > Applications > Utilities > Terminal
* chflags nohidden ~/Library -
Help With Editing The Background Color On PHP-Based Photo Gallery Software!
I recently installed and began using some PHP-based photo
gallery software for my website. I've been able to customize other
areas of the software's appearance (text color, etc), but am unsure
of what need to be done to change the background on the 'Default'
skin from white to black. Any suggestions? Below are copies of the
code from the 'index.php' and the css from the 'default skin'
portions of the software:
<title>BigMusicGeek.com -- Your Online Concert
Photography Authority!</title><?
include "config.php";
include GAZ_DIR_FS_ROOT . "includes/init.php";
include GAZ_DIR_FS_ROOT . "includes/classes/gallery.php";
$gaz_gallery = new gallery();
//$gaz_gallery->gazimage = 78;
echo $gaz_gallery->show();
?>
a.gaz_nav {
color: #FF0000;
a:hover.gaz_nav {
color: #FF0000;
.gaz_path {
font-size : 11px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
.gaz_cat_descr {
font-size : 12px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
color: red;
.gaz_cat_title {
font-size : 12px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
color: red;
font-weight : bold;
.gaz_comment {
font-size : 11px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
color: #FF0000;
.gaz_nav_thumb {
border-color:#f0f0f0;
.gaz_nav_thumb_sel {
border-color:orange;
.gaz_image_info {
font-size : 11px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
color: #000000;BigMusicGeek posted in macromedia.dreamweaver:
>
quote:
Originally posted by:
Newsgroup User
> BigMusicGeek posted in macromedia.dreamweaver:
>
> > Okay, so I've been able to change the background to
black (thanks
> > again, BTW), but I'm still unsure of how to add a
menu bar to the top
> > of the gallery's main page. I keep copying and
pasting in the code,
> > but can seem to make it work.
> >
> > My main gallery page:
http://www.bigmusicgeek.com/gallery/index.php
>
> I see no evidence on that page that you've pasted the
table containing
> your menu bar. When you do paste it, just be aware that
the path to the
> images and links will be slightly different (the images
are not in the
> gallery folder but at the root of your site: "/Home
Navigation
> Photos01.png" *)
>
> <IMPORTANT>
> You have your <title> tag before your DOCTYPE.
Make sure your DOCTYPE
> is the first line. Then make sure the <title> tag
is inside the <head>
> section, not before it.
> </IMPORTANT>
>
> > An example of my menu bar:
http://www.bigmusicgeek.com/Home.html
> > (it's at the top of the screen).
>
> When I paste the table code from there into the gallery
page - and
> changed the paths to match where they are, it appears
just fine. Note
> that you'll need to include the JavaScript from the
gallery page in
> order for all those JS rollovers to work. Probably need
that big onLoad
> section in the <body> tag as well - again,
adjusting paths to match
> where the images are.
>
> * You will very often see recommendations to avoid
spaces or unusual
> characters in your file names. ie: "Home Navigation
Photos01.png"
> should probably be "Home_Navigation_Photos01.png" or
maybe a "-"
> instead of spaces.
> Mark
>
> Thanks for the input...again! Pardon me for being a
novice, but what
> piece(s)
> of the paths for the menu bar need to be changed?
If you've set up your site definition properly in
Dreamweaver, you should
be able to copy the table in design view from home.html and
paste into
gallery/index.php and DW will correct the paths
automatically. It /might/
even copy the relavent JavaScript over (I don't have DW on
this computer to
test that).
But to answer your question, any path to the images must
point to the site
root (where your images are stored). The links will likely
need to point
there as well. For example, the Home button in your table
gets its image
from:
src="Home Navigation Home01.png"
In order for that to work from pages in the gallery folder,
it will need to
be linked with either a site root relative, or a simple
relative path:
src="/Home Navigation Home01.png"
The above example tells the server to look for the image in
the site's root
folder.
src="../Home Navigation Home01.png"
This example tells the server to get the image from one
folder up from the
current folder.
Likewise for the links. ie: href="Home.html" would become
either
href="/Home.html" or href="../Home.html"
href="phpBB3/index.php" could become href="/phpBB3/index.php"
or even
href="/phpBB3/"
HTH
Mark A. Boyd
Keep-On-Learnin' :) -
Revision: 10589
Author: [email protected]
Date: 2009-09-25 10:15:31 -0700 (Fri, 25 Sep 2009)
Log Message:
Updated the readme.txt for the VASTSample based on feedback in the OSMF forum.
Modified Paths:
osmf/trunk/apps/samples/libs/VASTSample/readme.txtA good solution. Liked it very much. Can you please make it a technet blog for others.
[email protected] -
Integrating a PHP Web App with an Existing Azure Mobile Services and Mobile App
I've got an existing mobile app that is integrated with Azure's mobile services. The mobile services are currently connected to Azure Active Directory with MFA enabled. I'd like to build a separate PHP-based web application (Azure VM) that uses this existing
mobile service and authentication.
I reviewed the Azure PHP SDK, but didn't see any tie-ins to the Mobile Service. Additionally, Azure has some great tutorials, but for mobile services they all seem to focus on iOS, Android, and Windows phone. Any insight into how to tie a PHP-app into this
backend would be much appreciated!Although there isn't any client library for PHP, you can still access Mobile Service using the
Azure Mobile Service REST API.
Abdulwahab Suleiman -
Third Party Integration for Template Based Hire in PS 9.1
Hi All,
I am implementing template based hire on PS 9.1.
I am receiving the applicant details from a third party vendor in a xml message.
Requirement is to insert the applicant details into template based hire records (HR_TBH_HDR and HR_TBH_DATA).
I am able to subscribe the field values from xml message. But facing the problem while inserting the values into base records.
I am trying to use Component Interface on HR_TBH_JOB component. The pages on this component are dynamically build and so the records.
If anyone has worked on the third party integration for Template Based Hire in PS 9.1, please let me know your suggestion for insertion into template based hire records.
Thanks,
VijayHi Michel,
I am not getting any error message as I haven't completed the coding yet.
I will go more on the technical stuff so that the issue will be more clear.
I am using the Integration Broker setup to receive the xml message from third party.
I have written the app package and added that as handler into the service operation. as of now I am able to subscribe the xml message. I am having the field values into the variables.
For insertion of those values into template based hire (TBH) records (HR_THB_HDR and HR_TBH_DATA) I created a new CI on HR_TBH_JOB component.
But when I analysed this component I came to know that Pages, Sections on the Pages and the fields of the sections are dynamically build based on the Template.
On HR_TBH_DATA page PeopleSoft is using derived record (HR_TBH_SCR_WRK). Field values are assigned to this record fields bsaed on the section of the template.
Here is issue I am facing while coding. As there is only one record (HR_TBH_SCR_WRK) to store the all the values from the template, I am not able to understand that how to assign the variables to CI variable. I am looking for the logic, so that the CI will work normally.
If you have any sugestion to insert the data into TBH records other than using CI, will be appriciated.
Thanks -
Is there a free java based forum that does NOT require disk write access ?
Hello,
I've been trying to set up mvnForum (www.mvnForum.com) on my site but I've had to give it up as the way the server is set up I can only give write access to Tomcat if I give write access to everyone !
I don't need my forum to have disk access as it can just use the mySQL database the whole time. So is there a good java based forum out there that does not require disk access ? I'm hoping to find one that has e-mail authentication for people who register and things like that.
I know a php forum that will do it already but as the rest of the site is written in jsp it would be nice to be able to integrate it properly. Any help greatly appreciated.Please try mvnForum beta3, it doesnot require disk write. Since RC1 mvnForum use disk access to write Lucene search index and attachment file.
Regards,
Minh Nguyen
mvnForum Developer -
Unable to Edit the View in Custom Component
Hi Experts,
Please help me to resolve this issue !
I am unable to lock the BOL Entity in my custom component using BTAdminH. I have written the below code in the Edit event Handler for Edit Button. The lr_entity->lock( ) condition statement is getting false and it is skipping the "set_view_editable( me )." code statement. Why??
This is code excerpt that I have taken from edit button of the BP_HEAD/AccountViewSet and altered to my component/View
DATA: lr_entity TYPE REF TO cl_crm_bol_entity,
lr_controller TYPE REF TO cl_ZVKH8_bspwdcomponent_impl.
TRY.
lr_controller ?= me->comp_controller.
lr_entity ?= lr_controller->typed_context->btadminh->collection_wrapper->get_current( ).
IF lr_entity IS BOUND.
IF lr_entity->IS_LOCKED EQ abap_false.
IF le_entity->IS_CHANGEABLE EQ abap_true.
IF lr_entity->lock( ) EQ abap_true.
me->view_group_context->set_view_editable( me ).
ENDIF.
ENDIF.
ENDIF.
ENDIF.
and when I directly executed the below code in the Edit event Handler for Edit Button I am receiving the dereferencing NULL value exception. Why in my custom component in many places this happening??
me->view_group_context->set_view_editable( me ).
Exception Details
CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference
Method: ZL_ZVKH8_DETAILSEF_IMPL=>EH_ONBACK
Thanks,
BujjiHi Summit & NishaNC,
Thanks for your responses !
As suggested, I have debugged the code for ->lock( ) method and there are exceptions raised from some methods.
Method GET_LOCK () -> Method GET_ROOT () ->Method GET_PARENT ()
At GET_ROOT( ) method i have received an exception
"Root entity BTAdminH could not be determined" and one more "Entity BTAdminH could not be locked"
Later when I have checked in MODEL Browser, I found that the BOL object "BTAdminH" for my view is an Access object and not the Root Object.
Hence, I have a question? Does the locking can be done only for ROOT Objects?
If this is TRUE then I think this is the major problem with my custom component where even the cross component navigation is also not happening and in many places I am receiving "Dereferencing NULL Value" information.
Also I have gone through some of the Threads and one information that I found from Sumit Mittal
1. An access object is an independent entity, has primary keys of its own.
2. A root object is a special access object that is at the top of the hierarchy based on business rules.
3. A dependent object's primary keys are supplied by access objects and it's lifetime is bound to them. If the parent object is destroyed, the dependent object is also destroyed.
4. Search objects are query objects useful for querying root objects
5. Search result objects - Search objects return the results in the form of a result object together with a relation pointing to the root object.
6. View objects - ?
7. Dynamic search objects - Used in advanced search, supports ranges and operators
Could you please specify in which scenarios we have to go for Access Objects and Root Objects
Thanks,
Bujji -
11i to R12 upgrade and Maintenance Wizard and the Maintenance Wizard Forum
MetaLink doc 215527.1 recommends using the Maintenance Wizard to upgrade from 11i to R12.
The Maintenance Wizard is extolled elsewhere in this Forum to replace the Upgrade Spreadsheet.
And it is referenced a couple times in the 11i forum.
But that's not much press considering Oracle's description below.
Also, all the Maintenance Wizard MetaLink docs below reference a Maintenance Wizard forum.
The forum contains excellent feedback including how to use Maintenance Wizard within a firewall.
LCM: Maintenance Wizard
But the Maintenance Wizard forum was Archived ~two weeks ago.
Some clarification would sure be useful.
What I'm actually trying to confirm is exactly what OAS or iAS or OC4J to use with it.
Thanks in advance to anyone who can help!
From 215527.1:
Oracle Support provides Maintenance Wizard to guide you through the upgrade of Oracle Applications technology stack and products from Release 11i versions to Release 12. It draws on instructions from numerous manuals and other documentation to provide you with a complete picture of the activities required for an upgrade.
Maintenance Wizard helps you to reduce upgrade tasks by dynamically filtering the necessary steps based on criteria it obtains from your Applications environment. The resulting report is a set of step-by-step instructions of exactly what you need to do to complete your specific upgrade, including any critical patches that your system may require. It can also automatically execute many of the tasks for you, so as to reduce the possibility of errors or accidental omission of vital tasks.
These MetaLink documents reference the Archived Maintenance Wizard Forum
434387.1 - Maintenance Wizard Data Sheet
215527.1 - Maintenance Wizard Overview
430732.1 - Maintenance Wizard Downloads
329476.1 - Maintenance Installation Instructions
430734.1 - Maintenance Wizard Users Guide
405263.1 - Maintenance Wizard FAQ
406917.1 - Maintenance Wizard Training
418301.1 - Maintenance Wizard WebcastFYI,
I am investigating what happened to the Maintenance Wizard forum. I was not alerted or consulted before it was moved to an "archived" location.
I will provide an update here once I find out how to get the situation corrected.
In the meantime, please use the other support channels (this forum, FAQ, iTAR's, etc.) for Maintenance Wizard questions and problems.
Sorry for the inconvenience.
-Vikki
Product Manager for the Maintenance Wizard
PS - To answer Tom's imbedded question (What I'm actually trying to confirm is exactly what OAS or iAS or OC4J to use with it.), please look at the Installation Guide (note 329476.1). In step 2 of the prerequisites, it states:
Maintenance Wizard version 2.x requires Oracle RDBMS 10g (10.2.0) with 10g iAS (10.1.3).
Hope this is what you needed, Tom.... -
How can we acess the data of one component into othr component in webdynpo?
How can we acess the data of one component into other component in webdynpro....
I need an Field input from one webdynpro component(comp1) which is away from the line of process to the other component(comp2) we need that data........I mean i need the field info of comp1 where we doesn't navigate through the Comp1 in the portal & directly access the component comp2.........kindly share your ideas.....and possible ways .........
any doughts do post.....
thanks in advance!Hi,
Please post your query in forum Web Dynpro ABAP Forum, under Application server.
You have to define the source component as in the used component in the target one to do that.
after that you will be able to get data from that component.
Regards,
Vaibhav -
Is there a way of not displaying entries in the Blog based on today's date
Hi,
I'm using the Blog layout in iWeb for a calendar.
Somewhere in this discussion forum, I found how to sort the entries by increasing date (many thanks for that).
The question I have: Is there a way of not displaying entries in the Blog overview of which the date is in the past ?
ThanksHi Cyclosaurus,
the link you refer to (http://test.cyclosaurus.com/Site/Blog/Blog.html) seems to be broken. I can't see the script.
Can you sent me a script to automatically hide events from the past (based on today's system date) ?
please note that I use following script to reverse the summary (which i found in the discussion forum):
<script type='text/javascript'>
function reverseSummary() {
blogSummaryWidget = parent.document.getElementsByClassName('com-apple-iweb-widget-blogSummary flowDefining')[0].widget;
blogEntries = blogSummaryWidget.blogFeed.itemCount();
blogSummaryWidgetID = blogSummaryWidget.instanceID;
blogSummaryContentDiv = parent.document.getElementById(blogSummaryWidgetID + '-summary-content');
if (blogSummaryContentDiv.childNodes.length > 0) {
for (be=1; be<blogEntries; ++be) {
bi = (blogEntries - 1) - be;
blogSeparator = parent.document.getElementById(blogSummaryWidgetID + ('-separator-template$' + bi));
blogSummaryContentDiv.appendChild(blogSeparator);
blogEntry = parent.document.getElementById(blogSummaryWidgetID + ('-item$' + bi));
blogSummaryContentDiv.appendChild(blogEntry);
clearInterval(chkSummary);
chkSummary = setInterval('reverseSummary()', 1000);
</script> -
Firefox 3 displays the php code when pages launched from dreamweaver 8
The problem seems to relate to files opening as —
file:///C:/localweb/ .... when sent from Dreamweaver 8.0 to Firefox
The first html/php page loads correctly from dreamweaver as
processed HTML, a second page linked from either an HTML or php
page also loads correctly, but selecting any link from that or
subsequent pages displays the full php code instead of processed
html layout - so this appears to be a third level or greater
problem.
If I manually substitute -
http://localhost/ — the problem
does not arise.
This is a problem with version 3 of firefox, all previous
versions I used worked fine with both — file:///C:/localweb/
and
http://localhost/
Both prefixes also appear with pure HTML sites, but they load
and function correctly.
Not every php site I have loads with file:///C:/localweb/, so
I am wondering if this relates to something in the php code or
Dreamweaver - I have conn.php set to:
mysql_connect("localhost", "root", "") or die(mysql_error());
I use winxp and have xampp installed - everything worked fine
until I installed Firefox 3> but selecting any link from that or subsequent pages
You are being confused by a) not understanding root relative
vs document
relative links, and b) not understanding how DW previews
files.
If I have a document with a link to an image that looks like
this -
<img src="/images/foo.gif"...
That's what's called a root relative link.
If I preview that document in DW, then the browser gets the
document, sees
the leading "/" and reads that as the root of the hard drive,
since the
browser has no idea where the root of the site is. Thus, the
image is
broken in the preview.
If I have temp files enabled, then DW will secretly convert
the file being
previewed into a temporary file, and hand that to the
browser. This temp
file has had all root relative links converted to document
relative links
(as you will see by looking at the code in the browser), and
has had all
include files actually embedded in the page, and has had all
external CSS
and js markup embedded in the page. In other words, DW has
made the
document into a stand-alone page.
If you do not have temp files enabled, all of these links
would be broken on
preview.
Now - if you are using root relative links, AND you have temp
files enabled,
AND you click away from the previewed document, then all of
your links will
be broken, since DW has not made that linked file into a temp
file. This is
what you are seeing.
So - if you want to click away on preview, then you must use
document
relative links for the site -
<img src="../images/foo.gif"... (for example)
These will still work on preview since the browser knows how
to determine
the current file's location and how to follow that path.
Make sense?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"gbiras" <[email protected]> wrote in
message
news:[email protected]...
> The problem seems to relate to files opening as ?
file:///C:/localweb/
> ....
> when sent from Dreamweaver 8.0 to Firefox
>
> The first html/php page loads correctly from dreamweaver
as processed
> HTML, a
> second page linked from either an HTML or php page also
loads correctly,
> but
> selecting any link from that or subsequent pages
displays the full php
> code
> instead of processed html layout - so this appears to be
a third level or
> greater problem.
>
> If I manually substitute -
http://localhost/ ? the problem does
not arise.
>
> This is a problem with version 3 of firefox, all
previous versions I used
> worked fine with both ? file:///C:/localweb/ and
http://localhost/
>
> Both prefixes also appear with pure HTML sites, but they
load and function
> correctly.
>
> Not every php site I have loads with
file:///C:/localweb/, so I am
> wondering
> if this relates to something in the php code or
Dreamweaver - I have
> conn.php
> set to:
>
> mysql_connect("localhost", "root", "") or
die(mysql_error());
>
> I use winxp and have xampp installed - everything worked
fine until I
> installed Firefox 3
>
Maybe you are looking for
-
TS1702 How come my phone won't download any apps?
I have tried to update and download multiple apps. None of then have been successful. How can I fix it?
-
How to retrieve information from server?
Hi, I'm currently working on a project, which is implemented with JSP. The function of the JSP is to connect to different servers within the Intranet(IP address already known) and get database list & file list residing on each server. And then compos
-
Whenever i am clicking search result from Google search bar, it always opens the Google home page. I can only open search result in new tab by double clicking. It started when i installed Firefox 12.
-
I want to use reader with command lines (to print a document for exemple) without open reader with the mouse. Is someone knows the solution ? Thanks
-
When do we need field catalog merge in ALV
Hi all, When do we actually need fieldcatalog merge in ALV's Regards Saroja.