FC2 - endif at the wrong place in default_results.php

More
12 years 7 months ago #30029 by Rehne
Hi,

when I created the J2.5 FC2 - FC-Views - HTML5 & Bootstrap Template-Overides
flexicontent.org/forum/index.php?f=28&t=5312&rb_v=viewtopic
i have found the following in the default_results.php
i think the <?php endif; ?> on line 31 must be in line 19

this ... original ...
<?php if ( $result->href ) :
if ($result->browsernav == 1 ) : ?>
<a href="<?php echo JRoute::_($result->href); ?>" target="_blank">
<?php else : ?>
<a href="<?php echo JRoute::_($result->href); ?>">
<?php endif;
echo $this->escape($result->title);
if ( $result->href ) : ?>

<?php endif;
if ($this->params->get( 'show_section', 0 ) && $result->section ) : ?>
<br />
<span class="small<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
(<?php echo $this->escape($result->section); ?>)
</span>
<?php endif; ?>
<?php endif; ?>


... must be ... i think so
<?php if ( $result->href ) :
if ($result->browsernav == 1 ) : ?>
<a href="<?php echo JRoute::_($result->href); ?>" target="_blank">
<?php else : ?>
<a href="<?php echo JRoute::_($result->href); ?>">
<?php endif;
php endif;
echo $this->escape($result->title);
if ( $result->href ) : ?>

<?php endif;
if ($this->params->get( 'show_section', 0 ) && $result->section ) : ?>
<br />
<span class="small<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
(<?php echo $this->escape($result->section); ?>)
</span>
<?php endif; ?>


Regards

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

More
12 years 7 months ago #30034 by micker
thanks for reporting

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 #30045 by ggppdk
Improving search view layout is the second part of search feature

I have finished unifying/improving code for search (advanced/basic) index functions in all plugins into a helper class, and also improved backend indexer,

next step is updating model and layout (e.g. i am changing the filter from select drop-down to be clickable toggle buttons, since this is not difficult) also possibly ranges for text field


-- 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 7 months ago #30048 by Rehne

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.293 seconds
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
Save