[solved]image field

More
12 years 1 week ago - 12 years 1 week ago #30629 by mdma
[solved]image field was created by mdma
Hello!!
Created image field
assigned to template default/category
imagefield is shown.
1.)how does the image field automatically routs to its item?
Code:
[<span class="value field_<?php echo $field->name; ?>">[url=<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($items[$i]->slug, $this->category->slug)); ?>]<?php echo $field->display; ?>[/url]</span>

doesn't work.

2.)I have 2 different blog templates assigned to 2 different menus.
i have only one option for blog templates and one for itemlayouts(S,M,L)

how to code into template:

imagefield-> link to item + image size Medium for example


cheers
Last edit: 12 years 1 week ago by mdma.

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

More
12 years 1 week ago #30632 by ggppdk
Replied by ggppdk on topic [solved]image field
You want to use the image field manually in your templates?

i mean select a thumbnail and use it and at the same time link it to the item?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 1 week ago #30642 by mdma
Replied by mdma on topic [solved]image field
i dont understand clearly so try again

1.)image size:
there are 3 image sizes S,M,L
i need one category-blog layout with S
another category-blog layout with M

2.)image fields in these above layouts are thumbs that should link to items
automatically

i need to know, how to change this per php in templates/default/category items.php
field15 image display size M[url=<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($items[$i]->slug, $this->category->slug)); ?>]<?php echo $field->display; ?>[/url]

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

More
12 years 1 week ago #30645 by ggppdk
Replied by ggppdk on topic [solved]image field
mmm, do not add the image field to the template positions,

instead, you can select an image, in each category in the parameters (for blog template) at bottom of the category edit form


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 1 week ago #30659 by mdma
Replied by mdma on topic [solved]image field
Hello!
Thanks alot!

flexicontent.org/forum/index.php ... pic#p30652

is the solution for me to implement

image field+ linked to its item+with different size (than blog config.)

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

More
12 years 1 week ago #30660 by mdma
Replied by mdma on topic [solved]image field
additionally i have to mention

put image field into" render only"- position of table-(default/category) template

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.442 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline