Keyword

more than one question

  • Ali Youssef
  • Ali Youssef's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 8 months ago #92729 by Ali Youssef
more than one question was created by Ali Youssef
Hi all :

excuse my experience in K2 but o really like it so :

I have the following questions :

1- is it any ability to make change for K2 appearance like social network icon, print and E-mail icon (the general theme of K2 page) ?

2- how can I make a warp text around picture cause my picture isn't big size enough to stay alone :D in category and item?

3- Is it ability to change "item" word in SEF to "article" while my site is an E-magazine to make the link like :

home/category/sub.../article/article title

4- i really appreciate if someone can tell me how can I add Item to my Joomla Home page.

 

hope to find help from you

thanx

Please Log in or Create an account to join the conversation.

  • Ali Youssef
  • Ali Youssef's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 8 months ago #92730 by Ali Youssef
Replied by Ali Youssef on topic more than one question
please help

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92731 by BBC
Replied by BBC on topic more than one question
2. - put img-block float:left. Use Firebug.

Please Log in or Create an account to join the conversation.

  • Ali Youssef
  • Ali Youssef's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 8 months ago #92732 by Ali Youssef
Replied by Ali Youssef on topic more than one question
please give some details I'm beginner

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92733 by Ibrahim
Replied by Ibrahim on topic more than one question
Concerning your 2 question.

 

k2.css file, Component:Item View- property span.itemImage img {float:left} or {float:right} depending of do you want image on left or right side.

But, also you have to change something in the com_k2/templates/default/item.php. You have to open that file and

delete clear div <div class="clr"></div> that is in the frame of <div class="itemImageBlock"> </div>.

It would be good that you just in case make a backup of the files before changing. Try it.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92734 by Jiliko.net
Replied by Jiliko.net on topic more than one question
Hi Ali,

 

First, what you have to do before any template updates is to make a template override : community.getk2.org/notes/Templating_in_K2

 

Once you've done that, you can almost do what you want in your new K2 template directory without any K2 future updates problems.

 

1 - You can make changes in the k2.css file to change social images or make modifications in the item.php template file.

2 - Same thing, you have to change the k2.css file file to force the div of the item image on left or right. The image div id in the item layout is 'itemImageBlock'. Just search for this in the k2.css file and set the float property to 'left' or right'. Maybe some other css stuff on margin, etc...

3 - I wouldn't advise you to do that, some K2 core files to change

4 - You have to set your Joomla! home page as a K2 page and not the Joomla! core frontpage. Just change the type of the default page to K2 / itemlist, select your category(ies) to display.

 

As BBC wrote, use firebug or any tool that can help you to see the page html code.

 

Regards,

 

Olivier

Please Log in or Create an account to join the conversation.

  • Ali Youssef
  • Ali Youssef's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 8 months ago #92735 by Ali Youssef
Replied by Ali Youssef on topic more than one question
Thanx for your reply olivier but i haven't HTML background so it's really hard to me to make this modification at that simple maybe if you give more explain or a link to good tutorial !!!

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92736 by BBC
Replied by BBC on topic more than one question
Leave URL of your site. Maybe someone will give you direct file and line to change.

Please Log in or Create an account to join the conversation.

  • Ali Youssef
  • Ali Youssef's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 8 months ago #92737 by Ali Youssef
Replied by Ali Youssef on topic more than one question

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92738 by BBC
Replied by BBC on topic more than one question
You cannot have it nice with so many text lines in Intro.
You can put min-height: 350px; (or something like that) in k2.css, line 585, ImageBlock.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum