Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Coa
#13
Thumbs Up 
Hey Benjamin - you ROCK!!

What I have, as follows, makes me a happy camper: (line 65 was the breakthrough)

in CoaPlugin/inc/constant.objects.php.....on line 29
if (isset($OA['allTrue']) && $OA['allTrue'] == 1 && $OA['type'] == 'config') {

in CoaPlugin/inc/template.php.....on both line 29 and line 65
if (isset($OA['allTrue']) && $OA['allTrue'] == 1) {

in CoaTheme/coa/constant.coa.php
meta
headerGS=none
viewport = width=device-width, initial-scale=1.0
robots = index, follow
description = new-page description
keywords = new-page meta keywords
only = new-page

...which renders: (quoted verbatim from page source)

<link rel="stylesheet" href="theme/CoaTheme/css/crack.css">
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
<title>New Page &rarr; My Site Name</title>
<base href="https://localhost/cccc/">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
<meta name="description" content="new-page description">
<meta name="keywords" content="new-page meta keywords">
<link rel="canonical" href="https://localhost/cccc/new-page.html">
<!--[if lt IE 9]><script src="theme/CoaTheme/js/respondjs+html5shiv.js"></script><![endif]-->
</head>

A bit odd that the stylesheet is right at the top, but hey, I'm not complaining.

Again, thanks a million for a brilliant framework!

(2013-10-09, 02:48:21)plue Wrote: To get rid of the PHP Notice, we need the same solution again: Adding the isset() check, here on line 29 the same way it is there.

Do you mean the attribute "only" isn't doing anything in your template? If yes, to which object did you apply it? Then I try to reproduce it.

(It's ok that it doesn't fit into "main/meta/css/...", because only objects have to)


(2013-10-09, 01:01:11)Trooper Wrote: It's the "only = index, about-us" that is still a problem, I think.
Notice: Undefined index: allTrue in ...... plugins\CoaPlugin\inc\template.php on line 29

1) There doesn't seem to be a way to add the attribute.
2) It doesn't seem to fit into any of "main/meta/css/script/text/place, as a constant object
Reply


Messages In This Thread
Coa - by plue - 2013-04-23, 21:51:23
RE: Coa - by Kida - 2013-04-29, 21:40:59
RE: Coa - by plue - 2013-04-30, 00:05:44
Changes in Coa 1.8.1 - by plue - 2013-06-19, 18:08:22
Coa 1.9 is ready - by plue - 2013-08-25, 02:05:00
RE: Coa - by belotte - 2013-09-13, 16:59:49
RE: Coa - by plue - 2013-09-19, 21:44:13
Coa 1.10 is available now! - by plue - 2013-09-19, 21:31:12
RE: Coa - by R2D2ZA - 2013-10-07, 05:29:09
RE: Coa - by plue - 2013-10-07, 18:14:34
RE: Coa - by Trooper - 2013-10-09, 01:01:11
RE: Coa - by plue - 2013-10-09, 02:48:21
RE: Coa - by Trooper - 2013-10-09, 09:23:49
RE: Coa - by plue - 2013-10-09, 18:12:13
RE: Coa - by Trooper - 2013-10-09, 18:29:57
RE: Coa - by plue - 2013-10-09, 18:44:20
RE: Coa - by plue - 2013-10-11, 00:36:17
RE: Coa - by Trooper - 2013-10-13, 08:25:53
RE: Coa - by Trooper - 2013-10-13, 08:43:21
RE: Coa - by plue - 2013-10-18, 00:06:28
RE: Coa - Custom Installation - by Trooper - 2013-10-13, 08:32:13
Coa Update - by plue - 2013-10-23, 06:57:33
RE: Coa - by qubenpete - 2014-10-30, 23:42:02
RE: Coa - by plue - 2014-10-31, 01:06:06
RE: Coa - by qubenpete - 2014-11-04, 21:23:22
RE: Coa - by plue - 2014-11-04, 22:13:15



Users browsing this thread: 1 Guest(s)