GJR i did give a try to apply fresh zpfocus and it gave me same issue. also tried disabling plugins as well before i raised question but it was same will try fresh 2nd install on my xampp laptop and apply zpfocus without enabling plugins..
I modified printLatestNewsCustom in customfunctions.php so that it would include the "(...) Read More" link like ZenPage does. I can't attach a patch file here, so I hope I escape this properly! The old file's line 668 changed from:
got problem after upgrading to 1.3 the left side Random image shows but above that getting some checkPassword issue
Warning: Missing argument 1 for checkforPassword(), called in C:\Inetpub\vhosts\kevincreation.com\httpdocs\themes\zpfocus\sidebar.php on line 2 and defined in C:\Inetpub\vhosts\kevincreation.com\httpdocs\zp-core\template-functions.php on line 4338
Warning: Missing argument 2 for checkforPassword(), called in C:\Inetpub\vhosts\kevincreation.com\httpdocs\themes\zpfocus\sidebar.php on line 2 and defined in C:\Inetpub\vhosts\kevincreation.com\httpdocs\zp-core\template-functions.php on line 4338
I think this is a great theme and have just implemented it on my site replacing a custom theme that I didnt have the time\knowledge to implement properly.
I am getting the above error
Warning: Missing argument 1 for checkforPassword(), called in /home/jameskil/public_html/themes/zpfocus/sidebar.php on line 2 and defined in /home/jameskil/public_html/zp-core/template-functions.php on line 4338
Which i believe is being generated by
`
<?php if (!checkForPassword()) { ?> { ` I have tried removing `(!checkForPassword())` but am just getting parse error's could someone post an example please
I think this is a great theme and have just implemented it on my site replacing a custom theme that I didnt have the time\knowledge to implement properly.
I am getting the above error
Warning: Missing argument 1 for checkforPassword(), called in /home/jameskil/public_html/themes/zpfocus/sidebar.php on line 2 and defined in /home/jameskil/public_html/zp-core/template-functions.php on line 4338
Which i believe is being generated by
`
<?php if (!checkForPassword()) { ?> { ` I have tried removing `(!checkForPassword())` but am just getting parse error's could someone post an example please
Yes I did try what was suggested immediately above my question but I couldn't figure out how to do it because of the if statement. I tried for about an hour before posting ( I'm not a coder) I build networks usually... I have got it working now with some help and will post an example if anyone else needs help.
Warning: Missing argument 1 for checkforPassword(), called in /home/jameskil/public_html/themes/zpfocus/sidebar.php on line 2 and defined in /home/jameskil/public_html/zp-core/template-functions.php on line 4338
Hi Derek are you using version 1.3 of zen ? I can post a version of my sidebar.php if you want. It's prob not the most elegant way of making the required changes but it worked for me
Comments
will try fresh 2nd install on my xampp laptop and apply zpfocus without enabling plugins..
and report here
did try enabling all those plugins i had and applied zpGalleriffic and it worked so i think the issue is with the zpFocus code somewhere.
appreciate if you can look at that. using current latest version.
Set Theme Option :
Albums per page: 8
Thumbnails per page: 24
the sub level dosent show pagination nor it show complete 10 category
http://kevincreation.com/index.php?album=bittern-heron-and-egret
if you see through top menu it shows some more links but not pagination on this page.
what can be the reason ?
`echo "
".truncate_string($content, $contentlength)."
\n";`To:
`
if(strlen($content) > $contentlength) {
$shortenindicator = getOption("zenpage_textshorten_indicator");
$readmore = getOption("zenpage_read_more");
$content = shortenContent($content, $contentlength, $shortenindicator.
" ".$readmore."\n");
}
echo "
".$content."
\n";`
`
echo "
".truncate_string($content, $contentlength)."
\n";`
To:
`
echo "
".getNewsContentShorten($content, $contentlength, '', $link)."
\n";`
Warning: Missing argument 1 for checkforPassword(), called in C:\Inetpub\vhosts\kevincreation.com\httpdocs\themes\zpfocus\sidebar.php on line 2 and defined in C:\Inetpub\vhosts\kevincreation.com\httpdocs\zp-core\template-functions.php on line 4338
Warning: Missing argument 2 for checkforPassword(), called in C:\Inetpub\vhosts\kevincreation.com\httpdocs\themes\zpfocus\sidebar.php on line 2 and defined in C:\Inetpub\vhosts\kevincreation.com\httpdocs\zp-core\template-functions.php on line 4338
http://kevincreation.com/
I am getting the above error
Warning: Missing argument 1 for checkforPassword(), called in /home/jameskil/public_html/themes/zpfocus/sidebar.php on line 2 and defined in /home/jameskil/public_html/zp-core/template-functions.php on line 4338
Which i believe is being generated by
`
<?php if (!checkForPassword()) { ?> {
`
I have tried removing `(!checkForPassword())` but am just getting parse error's could someone post an example please
I am getting the above error
Warning: Missing argument 1 for checkforPassword(), called in /home/jameskil/public_html/themes/zpfocus/sidebar.php on line 2 and defined in /home/jameskil/public_html/zp-core/template-functions.php on line 4338
Which i believe is being generated by
`
<?php if (!checkForPassword()) { ?> {
`
I have tried removing `(!checkForPassword())` but am just getting parse error's could someone post an example please
Warning: Missing argument 1 for checkforPassword(), called in /home/jameskil/public_html/themes/zpfocus/sidebar.php on line 2 and defined in /home/jameskil/public_html/zp-core/template-functions.php on line 4338
Wong