Page 1 of 1

[opgelost] Probleem Cataloger na pretty urls

Posted: Wed Jun 10, 2009 11:26 pm
by jadusdathe
Mensen,

Na wat hulp heb ik de pretty urls voor elkaar gekregen (nogmaals mijn dank hiervoor!)

Ik kan nu dus het volgende krijgen: www.mijnwebsite.nl/portfolio

Nu heb ik alleen op het volgende probleem:

Binnen de Cataloger module heb ik items staan, en die roep ik in de Cataloger Sjabloom als volgt op:



De items staat binnen een Categoriepagina "portfolio".

Het probleem is alleen dat als ik op een item klik, hij nu de pagina www.mijnwebsite.nl/portfolio/project1 oproept (die hij niet kan vinden) in plaats van www.mijnwebsite.nl/project1 (project1 is dan de alias naam).

Heeft iemand enig idee hoe ik ervoor kan zorgen dat hij Categoriepagina er tussen weg laat?

Alvast bedankt voor het meedenken!

Re: Probleem Cataloger na pretty urls

Posted: Thu Jun 11, 2009 6:40 am
by Rolf
config.php:

Code: Select all

#------------
#URL Settings
#------------

#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = true;

#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '/';

#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism?  This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = true;

#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy?  (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = false;

#If using none of the above options, what should we be using for the query string
#variable?  (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';
Groet, Rolf  :)

Re: Probleem Cataloger na pretty urls

Posted: Thu Jun 11, 2009 9:01 am
by jadusdathe
Hoi Rolf,

Bedankt voor je reactie.

Jij hebt hier use_hierarchy op false staan, maar daarboven staat:

Code: Select all

#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = true;
Of zie ik het verkeerd?

Re: Probleem Cataloger na pretty urls

Posted: Thu Jun 11, 2009 9:23 am
by Rolf
Klopt  ;) Beetje tegenstrijdig...
Maar het werkt voor mij zo, op verschillende sites.

Probeer het maar eens, werkt het bij jou niet...  :-\
Dan moeten we even verder zoeken  :D

®olf

Re: Probleem Cataloger na pretty urls

Posted: Thu Jun 11, 2009 12:20 pm
by jadusdathe
Perfect! het is gelukt! Heel erg bedankt!

ik moest alleen even

Code: Select all

#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '/';
de Slash weghalen. :)