Skip to topic | Skip to bottom
Home
Search:

Local
Local.ImcMarseilleCoupdeMainLoGr1.2 - 14 Mar 2005 - 02:52 - DaViDtopic end
You are here: Local > ImcMarseille > ImcMarseilleEchangesSavoirs > ImcMarseilleSavoirsFugitifs > ImcMarseilleCoupdeMainLoG

Start of topic | Skip to actions
[550]: hi

[550]: I'm triing to understand something in SF-A

[550]: in catgories

[550]: when you select central column typ

[550]: and no central column

[550]: what is it supposed to happen?

quinten: [550]: that means when you visit the category page, there is no center column

[550]: ok

[550]: I hoped that it would have placed the news instead of the central column for that categorie

quinten: that would be cool actually

[550]: that's what we are triing to do

quinten: [550]: you can change the template for the category to do what you want, i believe

[550]: where do I fond these templates?

18:50

quinten: the default template is feature_list

[550]: ok

quinten: you'd have to look at it to see if you could do what you want

[550]: I can read

[550]: ROWS

[550]: and nothing else

[550]: can I creat nex templates

[550]: and select it from the categorie edit form?

[550]: "new"

quinten: you could replace it with

quinten: or something like that

[550]: sounds like this is what I'm looking for smile

quinten: look at index_category.tpl

[550]: yes...

quinten: i think you'd have to manually edit the includes for the category that you want

quinten: edit index.php in /features/blah

quinten: remove the line that includes index_right.inc, etc

[550]: oh wait, I'm not sure I followed everything...

quinten: index_category.tpl is the template for creating a new category

[550]: where do I find this index.php

quinten: you need access to the server

18:55

[550]: ok

quinten: or: temporarily make a change to index_category.tpl, recache that category index, and then change the template back

[550]: ok

quinten: it sounds like it would be a good idea to allow what you're talking about though...it would require allowing one to use a different index_category template for each category

19:00

quinten: i'm not sure what the point is of the current use of the different template per category

[550]: Maybe it's because of the translation but the category edit form is a bit confused

19:05

[550]: name of the template

[550]: default template

[550]: and later

[550]: central column typ

[550]: e

[550]: hard to know who does what

quinten: yeah

quinten: default template is the template for a feature

[550]: yes

[550]: but the confusion is about template's name

quinten: template name seems to be to control the presentation of the list of features

quinten: so this hierarchy:

[550]: ohhhh ok

quinten: index_category.tpl contains feature_list.tpl which is a wrapper around a list of default_template (or other, non default template)

quinten: feature_list.tpl seems a little redundant

quinten: there's not much you can change with just that template

[550]: ok

quinten: hey, send an email to the list; maybe we could make a change to that for the next release of sf-active

quinten: that only requires a few lines of code, i think


Plus tard avec turlututu, une soluce plus bricolo :

turlututu: /features/nom_de_la_catégorie/index.php

[...]

turlututu: ok, ça doit être dans /imc/sf-active/marseille/features/nom_de_la_catégorie/index.php

turlututu: enfin si je ne me trompe pas

[550]: k

turlututu: il faut virer cette ligne: include(SF_INCLUDE_PATH. '/index_center.inc');

turlututu: mais ça dépend aussi de la structure de votre site, faut voir si il n'y aura pas de bug

-- DaViD - 05 Nov 2004
to top


Local.ImcMarseilleCoupdeMainLoG moved from Local.LoG on 05 Nov 2004 - 18:36 by DaViD - put it back
You are here: Local > ImcMarseille > ImcMarseilleEchangesSavoirs > ImcMarseilleSavoirsFugitifs > ImcMarseilleCoupdeMainLoG

to top

Copyright © 1999-2008 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding this tool? Send feedback (in English, Francais, Deutsch or Dutch).