- Posts: 3
COMMUNITY FORUM
Removing Subcategory title
- Shanto Gnucci
- Topic Author
- Offline
- New Member
Less
More
14 years 2 months ago #87190
by Shanto Gnucci
Removing Subcategory title was created by Shanto Gnucci
Hello guys,I'm a new member of K2, and have to say it's more
amazing then it looks like! There are a lot of features but also alot of
features missing.First off all I need some help by removing the
category title. I was searching this for hours and couldnt find it,
also not in the template files.It's about this html code line; <3><cufon class="cufon cufon-canvas" alt="Subcategorieën" style="width; 150px; height; 22px; "><canvas width="164" height="23" style="width: 164px; height: 23px; top: 0px; left: -1px; "><cufontext>Subcategory</cufontext"></cufon></h3>
amazing then it looks like! There are a lot of features but also alot of
features missing.First off all I need some help by removing the
category title. I was searching this for hours and couldnt find it,
also not in the template files.It's about this html code line; <3><cufon class="cufon cufon-canvas" alt="Subcategorieën" style="width; 150px; height; 22px; "><canvas width="164" height="23" style="width: 164px; height: 23px; top: 0px; left: -1px; "><cufontext>Subcategory</cufontext"></cufon></h3>
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 2 months ago #87191
by william white
Replied by william white on topic Removing Subcategory title
Since you may want to have the category title sometimes, first check the docs here in the forum, community.getk2.org/notes/Templating_in_K2
and at simon.getk2.org here community.getk2.org/notes/Templating_in_K2
If you use the k2 templating method you can have the best of both!
To remove the catetogy title from the category view - open the file
/components/com_k2/templates/default/category.php and edit or comment the line that says
echo $ this - > category - > name around line 59 (ver 2.3) (comment that entire block of code)
or
if you are using the above mentioned k2 templating, edit the same file in your k2 subtemplate
and at simon.getk2.org here community.getk2.org/notes/Templating_in_K2
If you use the k2 templating method you can have the best of both!
To remove the catetogy title from the category view - open the file
/components/com_k2/templates/default/category.php and edit or comment the line that says
echo $ this - > category - > name around line 59 (ver 2.3) (comment that entire block of code)
or
if you are using the above mentioned k2 templating, edit the same file in your k2 subtemplate
Please Log in or Create an account to join the conversation.
- Shanto Gnucci
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
14 years 2 months ago #87192
by Shanto Gnucci
Replied by Shanto Gnucci on topic Removing Subcategory title
Hello William,
Thanks for your fast reply, I tried to remove the $this -> category line 59 from /components/com_k2/templates/default/category.php but it still shows.
I also removed all files from /components/com_k2/templates/default directory, but it seems that's not the template directory that I'm using as I dont have any other template.
I dont get it anymore....
Thanks for your fast reply, I tried to remove the $this -> category line 59 from /components/com_k2/templates/default/category.php but it still shows.
I also removed all files from /components/com_k2/templates/default directory, but it seems that's not the template directory that I'm using as I dont have any other template.
I dont get it anymore....
Please Log in or Create an account to join the conversation.
- Shanto Gnucci
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
14 years 2 months ago #87193
by Shanto Gnucci
Replied by Shanto Gnucci on topic Removing Subcategory title
My bad!
There was a template in my template folder! /templates/gk_corporate2/html/com_k2/templates/default/category.php I just removed the code between the "h3" tag as showed in the source code and everything is as my wish.
Thanks for your time buddy, topic can be closed :)
There was a template in my template folder! /templates/gk_corporate2/html/com_k2/templates/default/category.php I just removed the code between the "h3" tag as showed in the source code and everything is as my wish.
Thanks for your time buddy, topic can be closed :)
Please Log in or Create an account to join the conversation.
- CHARALAMPOS LIONTIS
- Offline
- New Member
Less
More
- Posts: 1
14 years 2 months ago #87194
by CHARALAMPOS LIONTIS
Replied by CHARALAMPOS LIONTIS on topic Removing Subcategory title
thank you very much!!!! 3 days now im trying to remove this thing from there Q)))))
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 2 months ago #87195
by william white
Replied by william white on topic Removing Subcategory title
If you adopt k2 templating with onecss4k2 at the beginning....FireBug will show you whats going on more better!
Please Log in or Create an account to join the conversation.