category blog error notice, and page width
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Sat Mar 04, 2017 10:56 pm
- Reply with quote
- Report this post
Hello,
We just installed the latest version of the template before writing this post.
#1 We get an error notice in the source code for a category blog layout:
<div class="items-row cols-1 <br />
<b>Notice</b>: Undefined variable: row in <b>/home/ibmediabuild/public_html/templates/gk_simplicity/html/com_content/category/blog.php</b> on line <b>98</b><br />
row-" itemprop="blogPost" itemscope="" itemtype="https://schema.org/BlogPosting">
You can see an example of this at http://imagebuildingmedia.com/blog. We have also uploaded a screenshot.
If possible, please advise on this issue, and give us what is needed to correct the issue, if possible.
#2 The category blog archive pages are wider than the other pages of the site. http://imagebuildingmedia.com/blog is a example of this when compared with another page like http://imagebuildingmedia.com/blog/40-o ... edia-tools
If possible, please give the CSS to correct this bug.
Thanks!
Allan McNabb
We just installed the latest version of the template before writing this post.
#1 We get an error notice in the source code for a category blog layout:
<div class="items-row cols-1 <br />
<b>Notice</b>: Undefined variable: row in <b>/home/ibmediabuild/public_html/templates/gk_simplicity/html/com_content/category/blog.php</b> on line <b>98</b><br />
row-" itemprop="blogPost" itemscope="" itemtype="https://schema.org/BlogPosting">
You can see an example of this at http://imagebuildingmedia.com/blog. We have also uploaded a screenshot.
If possible, please advise on this issue, and give us what is needed to correct the issue, if possible.
#2 The category blog archive pages are wider than the other pages of the site. http://imagebuildingmedia.com/blog is a example of this when compared with another page like http://imagebuildingmedia.com/blog/40-o ... edia-tools
If possible, please give the CSS to correct this bug.
Thanks!
Allan McNabb
-
- Fresh Boarder
- teitbite
- Wed Mar 08, 2017 7:30 pm
- Reply with quote
- Report this post
Hi
Looks like a validation error. Please make a small test and rename /html/com_k2/templates/default/category.php to _category.php and check the site. If there will be no difference try also renaming /html/com_k2/templates/default/category_item.php to _category_item.php and let me know if it worked.
Looks like a validation error. Please make a small test and rename /html/com_k2/templates/default/category.php to _category.php and check the site. If there will be no difference try also renaming /html/com_k2/templates/default/category_item.php to _category_item.php and let me know if it worked.
-
- Moderator
- GK User
- Mon Mar 13, 2017 6:23 pm
- Reply with quote
- Report this post
Hi,
Neither of the changes made difference, so we have reversed the changes.
FYI: We are not using K2, if that makes a difference.
Please advise what we should try next.
Thanks!
Allan
Neither of the changes made difference, so we have reversed the changes.
FYI: We are not using K2, if that makes a difference.
Please advise what we should try next.
Thanks!
Allan
-
- Fresh Boarder
- GK User
- Mon Mar 13, 2017 6:52 pm
- Reply with quote
- Report this post
FYI: I just checked the template and com_k2 is enabled, but I am not using it.
Allan
Allan
-
- Fresh Boarder
5 posts
• Page 1 of 1