WeStandWithUkraine

18 Posts
hugo
8 years ago
17
Topic
Hello,

I'm completly lost with this new version.
Could you help me ?

I've created a custom content type.
Now i would like to get those data into a module (using search & list module) and create my own template for those data for this particular module.

I do i do that ? What's the template, the file, the directory to do that ?
Thank you for your help, i'm stuck for 3 days now .. Looking on internet forum, old forum, ...
Tk's.
Get a VIP membership
691 Posts
rpoy
8 years ago
16
Level 1
Hi hugo,

Have you seen this Templating article and/or this Templating video?

Here is some module information on how to create a List Module.

Let us know if that helps.

thanks,

Randy


18 Posts
hugo
8 years ago
1
Level 2
Hello,

Thank you for your help !
Well i'm using your component since version 1.

I've seen those articles + look carefully the video.
I can get the data using the module.

But i can't find the way to custom the list module template.
I would like to have my own module presentation and in that presentation call the foreach and get('')->value where i want.
18 Posts
hugo
8 years ago
0
Level 3
To be more specific:

I have created  a custom form named: News.
Then i have created a search News with List Table template.
Then i have added to my page a List Module with search on News.

Then i want to custom the way it appear on my page.
So i have created in the table template: table/positions/news/search
In search folder created column-a.php ...
Call the getValue without success. It is not using the template ...
I tried the same file in other folder like content / intro ... nothing.
The module is not using the template (custom position) i'd like.

I think i missed some things.
18 Posts
hugo
8 years ago
13
Level 2
Any update for me please ?
179 Posts
Codigo Aberto
8 years ago
12
Level 3
Waht´you want override ? The list module or the list component/template ?

If is the module you override like a normal module.


table/positions/news/search ??!! if news is the content type  waht´s the search folder ? replace search folder by the folder view (intro/content....).
18 Posts
hugo
8 years ago
11
Level 4
Hi, Thank you for your help.
Well, Yes this is the list module i want to override.

In the previous version i had to created a template from the custom form component, then create the search and choose in the list module the template i'd like to be used.

Then in this template i was able to make all changes like HTML/CSS arrangement.

Now, could you please confirm that, I would have to use Joomla module override system ?
And, In this case how will do, if I need to use 5 times the list module with 5 different presentation ? Witch is my case ?
Thank you.
179 Posts
Codigo Aberto
8 years ago
10
Level 5
need to use 5 times the list module with 5 different presentation.
Yes, override the default.php and default_items.php in mod_cck_list/tmpl to template/html/mod_cck_list
18 Posts
hugo
8 years ago
9
Level 6
Okay, so the previous system is not wokring anymore.
So i checked the folder  /modules/mod_cckjseblod_list/tmpl/ there is no default_item.php is it important ?

I'm not sure yet, but can i control the way items are display ?
Then if i have understand, i apply this module variation in module avanced settings ?

Thank's.
179 Posts
Codigo Aberto
8 years ago
8
Level 7
mod_cckjseblod_list ??!!
18 Posts
hugo
8 years ago
7
Level 8
yes in the modules folder i have:

mod_cckjseblod_list
mod_cckjseblod_login
mod_cckjseblod_search
mod_cckjseblod_siteforms

... :-(
179 Posts
Codigo Aberto
8 years ago
6
Level 9
You don´t have the seblod version 3.x ?? in 3.x version the module is mod_cck_list
18 Posts
hugo
8 years ago
0
Level 10
I'm using Version 3.3.2 ...
18 Posts
hugo
8 years ago
0
Level 10
Sorry my mistake. I was looking in the wrong Joomla folder ....
I have both default and item php.
18 Posts
hugo
8 years ago
3
Level 10
Could you quickly brief me how to proceed for default.php and default_item.php ?
179 Posts
Codigo Aberto
8 years ago
2
Level 11
http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core

Remember the template base is the joomla active template, not the seblod temlates.
18 Posts
hugo
8 years ago
1
Level 12
Sure thank you.
I'm doing it at the moment.

But i'm wondering, as in the search list i have to choose a template for list (Table or Blog) did the joomla module template override will override the SEBLOD (Blog or Table) template ?

I mean, will i have the template (blog or table) code with is own "look" to manage inside module override ?
Because the goal of this is to change and manage completly the way items are displayed.

That's why i said in the previous version i used list module custom template.
Thank you.
18 Posts
hugo
8 years ago
0
Level 13
Any update please ?
Get a Book for SEBLOD