Template dans la version 1.5.6 RC3

More
12 years 8 months ago #23139 by Chabi01
Ok, the code of the template can help :)

For the category item in blog list, i used the original code provide in FC1.5.3 slightly modified :
Code:
<div class="image<?php echo $this->params->get('lead_position') ? ' right' : ' left'; ?>"> <?php if ($this->params->get('lead_link_image', 1)) : ?> <a href="<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($items[$i]->slug, $this->category->slug)); ?>" class="hasTip" title="<?php echo JText::_( 'FLEXI_READ_MORE_ABOUT' ) . '::' . $this->escape($items[$i]->title); ?>"> <img src="<?php echo $thumb; ?>" alt="<?php echo $this->escape($items[$i]->title); ?>" /> <?php else : ?> <img src="<?php echo $thumb; ?>" alt="<?php echo $this->escape($items[$i]->title); ?>" /> <?php endif; ?> <div class="clear"></div> </div> <?php endif; // case source endif; ?>
The image shown was linked directly to the article.
Now i have no image...

In my item template, when i have a "Notice: Undefined index", it's ok : i put my field in a template position.

When i have a "Notice: Undefined offset: 0", that's because i did this : i use a field "extended weblink" and i used the field in an image for the link like this :
Code:
<?php // recup de l url de visite virtuelle $recupvarvis = $this->fields['visite_virtuelle']->value[0]; $visitvir = explode("\"",$recupvarvis); <td style="vertical-align: top; width: 50%; text-align: center;"><?php if ($this->fields['visite_virtuelle']->display!="") : ?> <?php echo "<a href=\"$visitvir[3]\" target=\"_blank\"> <img title=\"Visite virtuelle de cet hébergement...\" alt=\"Visite virtuelle de cet hébergement...\" src=\"http://www.clevacances-ain.com/images/stories/flexicontent/visites-virtuelles.jpg\" /> "; ?> <?php endif; ?> </td>
What is changed now (FC doesn't find the index...)

If you can enlight me on this point, it will be great :)
Thanks in advance for your help,
Regards

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

More
12 years 8 months ago #23176 by Chabi01
One point solved : the image in the category view
When the update is done, the image field is set in the template to "extract the image in the text" and i use the main image.
I change to "main image" and the image is shown.
I have to take a look to the template : only the first image is shown, the others lines are empty.
I keep going on the other point..

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

More
12 years 8 months ago #23210 by ggppdk
About the notice message:

Notice: Object of class JDate could not be converted to int in /xxxx/xxxx/xxxx/plugins/system/nnframework/helpers/assignments/datetime.php on line 203

maybe contact author of the plugin?

i think this plugin is used to control display of module by universal module manager?


-- 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 8 months ago #23218 by Chabi01
JDate is solved tonight : a plugin from "nonumber" was to reinstall to solved the notice.
Do you have clue about the image in category view ?
Thanks :)

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

More
12 years 8 months ago #23221 by micker
essai de mettre ton image dans le renderonly de ton template pour voir

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 8 months ago #23231 by Chabi01
Elle y est déjà...

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

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