Witam,
Zaciągnąłem komponent integrujący OpenRealty z Mambo, zainstalwalem testowo oba skrypty, poczyniłem zgodnie z instrukcja którą sobie pozwole zacytowac pod koniec bo sam jej troche szukałem, więc niech już tutaj będzie.
Pierwsza strona działa, jednak jak już linkuje do konkretnych komponentów to mambo dodaje mi do URLa
Itemid=38 czyli jest
/index.php?action=searchpage&Itemid=38 gdzie samo index.php jest juz strona z OpenRealty. Co dziwne
/index.php?option=com_openrealty2&Itemid=37 czyli z feralnym suffixem tez dziala - inne kombinacje (np.
/index.php?action=listingview&listingID=1&Itemid=39) nie.
Skasowanie ręcznie &Itemid= rozwiazuje problem i strona sie poprawinie wyswietla. Wartosc &Itemid= rosnie z kazdym nastepnym linkiem. Linki dodaje przez "Link - URL" - moze to jest zle :? ale czy mozna jakos inaczej? Moje Mambo core_mambo_4.5.2.1_stable_pl
Z góry dzieki za pomoc.
Instalacja OR@Mambo
Quote:
1) Install Mambo 2) Install Open-Realty 3) Setup the Mambo-OR Component
Login to the admin section in Mambo and install the com_openrealty2 component.
Log on to your Mambo administrators page, e.g. www.yoursite.com/administrator
Go to the Components menu and select Install/Uninstall (the top item)
From this page select the Browse button and select the com_openrealty2.zip file from your local drive.
Hit the Upload File & Install button.
Assuming you get a Success message the component should now be installed. To configure it:
From the Components menu select Open Realty 2
Enter the full URL (with http:// and trailing slash) of your Open Realty installation, e.g. http://www.yoursite.com/or/
Click Save 4) Create Menu Items
Create at least one menu item to point to Open-Realty by creating a Component menu item and selecting Open Realty 2 from the component list.
Important - one of these menu items must be your Mambo home page. That means it must be the first item in your mainmenu. Once you do this you may want to disable the Home menu item as it will no longer point to your home page.
Displaying Your Mambo Frontpage
Create an OR component menu item as described above. Since this will be your home page make sure it is the first item in your mainmenu.
Type the word mambo into the menu items' parameter text area and save it.
Unpublish (but do not delete) your existing Mambo Home menu item.
Displaying Open Realty Pages
You can point to different sections in OR by adding OR query string paramentes to the Mambo menu parameters. For example:
To point to the OR search page add the following to the menu parameters:
action=searchpage
To point to listing 1, create a menu item and add the following parameter:
action=listingview&listingID=1 5) In the Open-Realty 2 admin go to the Site Config and select the cms_integration template. 6) Add this line to your Mambo template (optional, but recommended):
<link rel="stylesheet" type="text/css" href="http://localhost/or/template/cms_integration/stylesheet.css">
Make sure you update localhost to point to your domain.
|