Featured content button link not working

Permalink Browser Info Environment
Hi there,
First; thank you for this great theme!

I have one issue: The button link in the featured content button is not working. The link doesn't get inserted in the output html.

I do have an url filled in, but in the output the href is still blank:
<a class="btn btn-default btn-lg" href="">Subscribe now!</a>


Can you please help me getting this solved?

cheers! Maura

Type: Discussion
Status: In Progress
buurvrouw
View Replies:
buurvrouw replied on at Permalink Reply
buurvrouw
I have temporarily solved this by putting an html button in the text and leave the button filed empty. But my clients are not gonna catch this when editing...
MichaelG replied on at Permalink Reply
MichaelG
Good catch. I'll try and have an update on monday for this.
garyjhills replied on at Permalink Reply
garyjhills
Any news on the update for this issue? mine is doing the same just takes you back to the Homepage all the time
aileesh replied on at Permalink Reply
aileesh
my solution: < instead of > and correctly loading the navigation-helper...

in view.php:
if($btnLink<0){
        if(is_object($page)){    
            $theLink = $nav->getLinkToCollection($page);
        }
    }


shoud be
$nav = Loader::helper('navigation');
if($btnLink>0){
        if(is_object($page)){    
            $theLink = $nav->getLinkToCollection($page);
        }
    }
garyjhills replied on at Permalink Reply
garyjhills
Which file is this in Aileesh?
aileesh replied on at Permalink Reply
aileesh
oops
it's in view.php from line 5
FischerVision replied on at Permalink Reply
FischerVision
It's in /packages/fruitful/blocks/full_width_content_fruitful/view.php on line 5
litteraria replied on at Permalink Reply
litteraria
Thanks loads! I was having the same issue, and this solved it. :D
lmestep replied on at Permalink Reply
lmestep
Thanks! Even now this is still an issue, but your solution seemed to work fine. Thank you!

concrete5 Environment Information

# concrete5 Version
5.7.2.1

# concrete5 Packages
Editor Comment (7.0), Fruitful (1.1.1), List files from set (1.0.7), Opt-In Free (0.9.12), Spacer (0.9.0), Touch Gallery (2.0.3).

# concrete5 Overrides
blocks/hero_featurette_fruitful, languages/de_DE, languages/tr_TR, languages/ja_JP, languages/fi_FI, languages/sv_SE, languages/el_GR, languages/da_DK, languages/it_IT, languages/fr_FR, languages/nl_NL, languages/ru_RU, languages/sl_SI, themes/fruitful

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2

# Server API
apache2handler

# PHP Version
5.5.18

# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 64M
sql.safe_mode - Off
upload_max_filesize - 64M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.