5 Posts
jodafatass
10 years ago
8
Topic
Hi all.
I'm working on my new portfolio, with Joomla! 3.2.3 and Seblod 3.3.2.

I want to display a list of a content type (portfolio_project), and render them as a list in a slider with this script : http://www.idangero.us/sliders/swiper/.
I've created a list module, and that's fine.

But to use my Jquery plugin I need to remove the <div> around each item (I need a specific class on the first child div).

They're set in the /plugins/cck_storage_location/joomla_article/tmpl/item.php file.
For the moment I've made a hack on the file, and it work fine.
But I'd prefer to override the file, to keep the possibility to upgrade Seblod later.
But I can't find the proper way to do it !!

is it : 
[my_template]/html/plugins/cck_storage_location/joomla_article/tmpl/item.php ?
[my_template]/html/plugins/cck_storage_location/joomla_article/item.php ?
[my_template]/html/plugins/cck_storage_location/item.php ?
[my_template]/html/plugins/item.php ?

or
[my_template]/html/cck_storage_location/joomla_article/tmpl/item.php ?
[my_template]/html/cck_storage_location/joomla_article/item.php ?
[my_template]/html/cck_storage_location/item.php ?
[my_template]/html/item.php ?

I've tried them all,  but it doesn't seems to work :(
Do I miss something ? 

Can anyone give me advice on this problem ?
Are cck_plugin override possible ?

Thanks for help, and have a good day

Jonathan
Get a VIP membership
10 years ago
0
Level 1
Check documentation for override positions in seblod.

http://www.seblod.com/v2/documentation/seblod-2x/templates/1758-templating-101-overrides.html
233 Posts
pepperstreet
10 years ago
0
Level 1
Following…!
(interested in answers and tips, too)
4229 Posts
Kadministrator
10 years ago
0
Level 1
Hi,


have you tried [my_template]/html/joomla_article/item.php ?
4229 Posts
Kadministrator
10 years ago
0
Level 1
Google search also suggests to try [my_template]/html/plg_cck_storage_location_joomla_article/item.php   (folder has basically the same name as its language file )
5 Posts
jodafatass
10 years ago
0
Level 1
Hi @ll,
Sorry I didn't answer the previous messages.
In fact I've decided to change my slider plugin (with this one I don't need to remove the "wrapper seblod div"...

@Klas, I've tried your proposals, but they don't seem to work sorry ;(

I'll make some other test to try all the imaginable path for the override, we need to keep the faith ;)

Have a good day
++ Jo
10 years ago
0
Level 1
Hi,

there's a quite extensive topic about removing unwanted Seblod divs that I started a while ago. In that topic you can find various ways of achieving what you want.
10 years ago
1
Level 1
In the Joomla Documentation for overriding plugins they state:

Joomla provides a mechanism to override a plugin but this feature is not supported by all the plugins

So I guess, the Seblod cck storage location plugin doesn't support overrides.

Maybe Octopoos can confirm this?
5 Posts
jodafatass
10 years ago
0
Level 2
Hi geeber,

Thanks for your answer.

I use a custom template to display my content type, so I don't need to remove "div.cck13_mainbody" etc.
Most of time I use <?php get( 'art_title' )->value; ?>.

It's for the wrapping div around each article (and the <hr> between elements in the list)


"So I guess, the Seblod cck storage location plugin doesn't support overrides.
Maybe Octopoos can confirm this?"

That would be nice yes ! ;)
have a nice day !
Get a Book for SEBLOD