Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
Old-Trainee

CCS - index.php als Startseite

Recommended Posts

Ich bekomme es leider nicht mehr hin.

Wie muss ich das schnelle noch machen, damit ich die index.php von ccs als Startseite habe?

While the above are suitable solutions, and can be used in any situation, you may also (or in place of the above) want to access CCS pages outside of your forum root directory. A good example for this would be to have CCS power your main website, while your forums remain in the /forums subfolder as in the previous examples. CCS is perfect for this scenario, but does require some work on your part to successfully set this up.


You will need to take the following steps in order to set CCS up in the root of your site (using the previous examples)


1) Take the "index.php" file from the Tools folder of your CCS download and open it in a text editor. At the top of the file you will see the following



/**

 * You must define the path to your IPB installation here, with a trailing slash.

 * THIS IS A PATH, NOT A URL. So, for example if this file is located in the root

 * of your site at /home/account/public_html and your forums are in a subfolder

 * named forums, you would set this to /home/account/public_html/forums/

 */

$path_to_ipb = './forums';



Edit the $path_to_ipb variable to point to the directory you will be uploading this index.php file to. If in doubt, verify the correct path with your host.


2) Upload the file to the folder you specified


3) In the IPB ACP navigate to My Apps -> Community Content System. Click on "Advanced" in the left hand menu. Configure the "URL to index.php" setting appropriately. In the above example you would set it to "http://www.yoursite.com". Click Update Settings.


4) At this stage, you can access pages from your forum root directory using the following URL structure


http://www.yoursite.com/index.php/pages/parent/child-folder/test.php


5) If you would like to remove /index.php/ from the URL, go back to the IPB ACP and on the same "Advanced" page, change the setting "Use .htaccess mod_rewrite" to "Yes". Again, click "Update Settings".


6) Click the button at the top right of the page to "Download .htaccess" and download this file to your computer. Now upload it to the same folder you uploaded the index.php file to in step 2. You should now be able to successfully access CCS pages without the /index.php/ in the URL like so


http://www.yoursite.com/pages/parent/child-folder/test.php

Da bin ich wieder............habs hinbekommen!!

Jedoch würde ich noch gerne den Page link wegbekommen und finde den Code nicht!

Da bin ich wieder............habs hinbekommen!!

Jedoch würde ich noch gerne den Page link wegbekommen und finde den Code nicht!

post-4174-1254935682,06_thumb.jpg

Edited by Helge

Share this post


Link to post

Da bin ich wieder............habs hinbekommen!!

Jedoch würde ich noch gerne den Page link wegbekommen und finde den Code nicht!

  • Adminbereich
  • Applications & Modules
  • Manage Applications & Modules
  • Rechts neben Community Content System auf Edit Application Details...

Dort TAB ausblenden auf Ja stellen.

Ich möchte dich noch bitten, in Zukunft am besten vorher Probleme etwas länger selbst versuchen zu lösen, meistens kommt man schnell darauf und erspart sich so einen entsprechenden (Doppel)Beitrag.

Bearbeiten von Beiträgen ist übrigens 30 Minuten nach erstellen eines Beitrages problemlos möglich! :)

Share this post


Link to post

ok Danke für den Tipp,

aber ich verstehe eines nicht! Wie haben die das auf der Englischen Seite gemacht!! Denn die Seite wurde auch mit CCS gemacht und der Tab ist auch aktiv?

post-4174-1254942947,47_thumb.jpg

Share this post


Link to post

Wenn man den Tab NICHT ausblendet dann kann man den Tab natürlich auch umbenennen (an selber Stelle wie oben beschrieben).

Danach ist der Tab dann auch aktiv, wenn man auf einer der Seiten "surft". Natürlich nur dann, wenn man auch das IP.Board Template in den CCS-Seiten benutzt.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×