[opgelost] Probleem Cataloger na pretty urls

Nederlandse ondersteuning voor CMS Made Simple

Moderator: velden

Post Reply
jadusdathe
Forum Members
Forum Members
Posts: 54
Joined: Sat Sep 20, 2008 3:50 pm

[opgelost] Probleem Cataloger na pretty urls

Post 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!
Last edited by jadusdathe on Mon Jun 15, 2009 7:56 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Probleem Cataloger na pretty urls

Post 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  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jadusdathe
Forum Members
Forum Members
Posts: 54
Joined: Sat Sep 20, 2008 3:50 pm

Re: Probleem Cataloger na pretty urls

Post 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?
Last edited by jadusdathe on Thu Jun 11, 2009 9:03 am, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Probleem Cataloger na pretty urls

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jadusdathe
Forum Members
Forum Members
Posts: 54
Joined: Sat Sep 20, 2008 3:50 pm

Re: Probleem Cataloger na pretty urls

Post 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. :)
Post Reply

Return to “Dutch - Nederlands”