Problem with include

7 posts by 4 authors in: Forums > CMS Builder
Last Post: November 11, 2009   (RSS)

Re: [willbegood] Problem with include

By Damon - October 17, 2009

Hi,

I noticed when I went to this page
http://www.richard-riahi.com/v2/fr/interventions-sous-categorie.php
that the "Catégorie parente (FR)" was a word not a number.

So instead of this query:
http://www.richard-riahi.com/v2/fr/interventions-sous-categorie.php?fr_parentcateg=3
I used this and got results:
http://www.richard-riahi.com/v2/fr/interventions-sous-categorie.php?fr_parentcateg=Ventre

Here is some others I tried that worked:
http://www.richard-riahi.com/v2/fr/interventions-sous-categorie.php?fr_parentcateg=Visage

http://www.richard-riahi.com/v2/fr/interventions-sous-categorie.php?fr_parentcateg=Silhouette

I hope that helps.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] Problem with include

Hello Damon, i've noticed, that it works only with that kind of link

http://www.richard-riahi.com/v2/fr/interventions-sous-categorie.php?fr_parentcateg=Seins

not with this :

http://www.richard-riahi.com/v2/fr/interventions-sous-categorie.php?fr_parentcateg=M%C3%A9decine%20esth%C3%A9tique

when fr_parentcateg is a simple word (one word), my footer infos are displayed, when it is 2 words or more it doesn't.

Other thing, the "remove accent" plugin does not work... i tryed to activate / desactivate it, it doesn't change anything to my problem.

I know my problem came from here (accent and/or the way fr_parentcateg is displayed in my url.

Please help

Re: [Damon] Problem with include

Hi again dave, i've worked around my problem and found something interesting.

See this : http://www.richard-riahi.com/v2/fr/interventions-sous-categorie.php?Silhouette-2

on this link my footer say "Pas de contenu" (No record)

If i just remove the NUM at the end of the url like this

http://www.richard-riahi.com/v2/fr/interventions-sous-categorie.php?Silhouette

My footer display my data.

So i've search on the forum if there is a way to remove the num at the end of the irl... somebody asked for this but no response.

Could you help?... this will solve my problem.

Thanks

Re: [willbegood] Problem with include

By Chris - November 11, 2009

Hi willbegood,

Did you get this sorted out? I went to the URL you gave above and didn't see the word "contenu" anywhere on the page or in the source.
All the best,
Chris

Re: [willbegood] Problem with include

By Dave - November 11, 2009

Hi willbegood,

Try removing this line from footer.php

list($pied_de_pageRecords, $pied_de_pageMetaData) = getRecords(array(
'tableName' => 'pied_de_page',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
'allowSearch' => '0',
));


Let me know if that fixes it for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Problem with include

just perfect. It works thanks