Put image on the left

More
12 years 7 months ago #23768 by micker
Replied by micker on topic Put image on the left
cool now in 1.5.6 send a link regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
12 years 7 months ago #23772 by igor35
Replied by igor35 on topic Put image on the left
Hello,

I found in the forum this topic:http://www.flexicontent.org/forum/index.php?f=28&t=763&rb_v=viewtopic

Now it works but it doesn't display the date creation and the author.
And How to put title in the same zone too with image and description text?

Thanks

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

More
12 years 7 months ago #23776 by micker
Replied by micker on topic Put image on the left
could you explain more
witch template ?witch modification code ?
did read faq and tutorial ?
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
12 years 7 months ago #23777 by igor35
Replied by igor35 on topic Put image on the left
I duplicated blog template and I followed this tutorial:
The question was:
Hi - I would like to have an image field in the same zone as description.

The text would wrap around the image. I tried to do this but failed.

I am unable to identify the class so that I could can change the CSS. I am using JA Purity as a template.

I have tried to change the div.description and div.desc-content but just cant seem to manage. The other class where you can change is the img.hasTips but the problem is that affects all the images.

In the item.php, you add:
Code: Tout sélectionner
<!-- BOF descriptionimage block -->
<?php if (isset($this->item->positions)) : ?>
<?php foreach ($this->item->positions as $field) : ?>
<div class="descriptionimage field_<?php echo $field->name; ?>">
<?php echo $field->display; ?>
<div class="clear"></div>
</div>
<?php endforeach; ?>
<?php endif; ?>
<!-- EOF descriptionimage block -->

just after
Code: Tout sélectionner
<!-- BOF description -->
<div class="description">


In your item.xml file, you add :
Code: Tout sélectionner
<group>descriptionimage</group>

just after
Code: Tout sélectionner
<group>top</group>


Now, you have a new zone in your template where you can add your image fields in the flexicontent template manager

And in your item.css, you add :
Code: Tout sélectionner
div.descriptionimage{
float:left; /* for example */
/*and all your css attributes*/
}


That's all

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

More
12 years 7 months ago #23779 by micker
Replied by micker on topic Put image on the left
put image at first
Code:
image title description
after use css width and float left to do it
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.423 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