Keyword

Detail page and different images

  • Philippe Ranc
  • Philippe Ranc's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago #100421 by Philippe Ranc
Detail page and different images was created by Philippe Ranc
Hello,

 

I've a question.

 

Is it possible to change the template between the page "category_item.php" and the page "item.php"?

 

I mean: I've some pictures displayed when I'me reading the summary of the articles when I'm on the page "category_item.php" and I want to hide these pictures and show other one when I'm reading the article (on the page "item.php"). How can I do that?

 

Thank you for you help.

Philippe

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

More
12 years 11 months ago #100422 by troponin
Replied by troponin on topic Detail page and different images
Use Introtext in category_item.php with the Image enabled.

In item.php hide Image and set a Image with the Content Editor after the read more in Fulltext.

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

  • Philippe Ranc
  • Philippe Ranc's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago #100423 by Philippe Ranc
Replied by Philippe Ranc on topic Detail page and different images
Thanks for you answer. 

Just a precision about your answer.

 

I want to add a picture that is outside the "introtext" div, in a wrapper div. They are picture for the layout template.

Is it realy possible?

 

Thanks.

 

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

More
12 years 11 months ago #100424 by troponin
Replied by troponin on topic Detail page and different images
If the Image is defined in you Template it should causes no Problem. Define it in your css.

I hope I understood what you mean...

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

  • Philippe Ranc
  • Philippe Ranc's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago #100425 by Philippe Ranc
Replied by Philippe Ranc on topic Detail page and different images
Well... not sure if I understand whant you mean.

 

Can you give an example of where exactly I need to add code and which one (background-image? )

 

Thank very much for you help
Troponin said:

If the Image is defined in you Template it should causes no Problem. Define it in your css.

I hope I understood what you mean...

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

More
12 years 11 months ago #100426 by troponin
Replied by troponin on topic Detail page and different images
I think the better way would be that you show me what you wanna have. MAybe  a Screen and as a Pic with the things you wanna have and a link to the site would be great.

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

  • Philippe Ranc
  • Philippe Ranc's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago #100427 by Philippe Ranc
Replied by Philippe Ranc on topic Detail page and different images
You've right. I'm sorry I dont have the habits of this kind of forum

 

The URL site is : formidgraphic.ch

 

Well, my question is: 

 

When I'm on formidgraphic.ch/graphisme, I've some background pictures (on the top and on the left). And when I click on the first article (formidgraphic.ch/graphisme/item/47-graphisme-2), I would like to change the pictures of the layout (hide the "C'est qui ça?" picture and "On s'ennuye ici" picture and show 2 others.

 

I hope my question is clearer now.

 

Thanks for your patience :-)

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

More
12 years 11 months ago #100428 by troponin
Replied by troponin on topic Detail page and different images
The things you want to change depend on the Joomla Template and not on the K2 Template specially the K2.css. So you have to get  a workaround in the Joomla Template

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

  • Philippe Ranc
  • Philippe Ranc's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago #100429 by Philippe Ranc
Replied by Philippe Ranc on topic Detail page and different images
Ok. I will try to post my question in a Joomla Forum.

 

Thks!
Troponin said:

The things you want to change depend on the Joomla Template and not on the K2 Template specially the K2.css. So you have to get  a workaround in the Joomla Template

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


Powered by Kunena Forum