Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
On CE4 PAGES, I get this "extra" background color over the masthead.
No such extra overhead in the GALLERIES pages though. Just a fine white line between the masthead and the navigation bar.
Any hints as to a fix to this?
Thank you
Is there a way to control text formatting in the CE4 Pages / page content area using CSS? I'm having a hard time formatting with Markdown: I fail to center align text; get the font size I want and, in general placing text where I want in the page.
OK I found the mistake : never ever place an accentuated character in a template name! Rather than modèle you have to write model
Got to live with it...
I get this message when I try to change or modify an album in a published site (CE4 Publisher) :
INTERNAL ERROR
JSON.lua:458: JSON.lua:197: can't parse JSON at char 1 of: json_encode(): Invalid UTF-8 sequence in argument|#0 [internal function]: ErrorHandler::handleError(2, 'json_encode(): ...', '/home/pidej435/...', 5, Array)
#1 /home/pidej435/public_html/tnm_2014-2015/ttg-be/publisher/application/views/templates/template_json.php(5): json_encode(Array)
#2 /home/pidej435/public_html/tnm_2014-2015/ttg-be/framework/helpers/ViewHelper.php(40): require('/home/pidej435/...')
#3 /home/pidej435/public_html/tnm_2014-2015/ttg-be/publisher/application/controllers/ApiController.php(186): ViewHelper::render('', Array, 'json')
#4 [internal function]: ApiController->listTemplates()
#5 /home/pidej435/public_html/tnm_2014-2015/ttg-be/framework/controllers/Controller.php(41): call_user_func_array(Array, Array)
#6 /home/pidej435/public_html/tnm_2014-2015/ttg-be/framework/Framework.php(124): Controller->dispatch(Array)
#7 /home/pidej435/public_html/tnm_2014-2015/ttg-be/publisher/index.php(23): Framework->route()
#8 {main}|URL: /tnm_2014-2015/ttg-be/publisher/index.php
What does this mean?
Merci beaucoup, Rod.
Can I change the API key to...anything? Does the fact that ttg-be is in a sub-folder change anything?
Hello,
I too have the same problem : I'm trying to authenticate a CE4 Publisher and I get the error message "The authentication check was NOT successful. Please check the URL and API Key."
The url is http://pideja.ca/tnm_2014-2015/ttg-be/publisher/. I'm using the default api settings.
Thanks Rod, works great.
Designing another CE4 Pages site and having trouble with the contact page design : I can't get the reply boxes lined-up "center", with the masthead and the navigation ...
http://pideja.ca/tnm
Sorry, but I don't get it.
Here is my basic setup for the Auto Index grid :pideja.ca/grid_setup.jpg and pideja.ca/iconic_setup.jpg with thumbnails sized at 600px x 400px. In Lightroom, this looks like this : http://pideja.ca/grid_fixed800px.jpg However, with thumbnails set to 1200px x 900px it looks the same! But, if I change the grid to "fixed" at 500px it looks like this : http://pideja.ca/grid_fixed500px.jpg with either size thumbnail!
I'm surely missing something obvious.
Still having a hard time with this issue. I've redone the CE4 Pages template, editing the Auto Index/Core Width to "fixed" 800px and the ICONIC style thumbnail to a 2:3 ratio and this is a screen shot of how it looks in Lightroom : http://pideja.ca/screen_capture.jpg but on posted its looks like this : http://lucnadeau.ca/en/galleries.php Worse, for some strange reason, on the French side it's like this : http://lucnadeau.ca/fr/galleries.php.
Once set up, what is the file where these instructions reside? Maybe I can edit the humbnail sizes directly in the php file?
Found this suggestion on http://www.w3schools.com/cssref/css3_pr … d-size.asp and, after trying a few settings, I settled on this, in the CSS file:
body {
background-attachment: fixed;
background-image: url(/phplugins/images/background-image.png);
background-size: cover;
background-position: center top;
background-repeat: no-repeat;
}
Haven't tried it on all systems, but works for me for now.
Thank you. I just never got to that pane. silly me.
I can't seem to find where I can control the size of the large image?
Is there any way I can print the information and the settings contained by the different setting panes in the TTG plugins?
There is a lot of information there, and I think it might be useful , reviewing all the settings in a site, to have a hard copy to look over.
Just a taught.
I wrote the phplugins according to the suggestion received earlier about different CSS files for different sections of my site. Like so :
function ttg_head_end( $style, $path ) {
if ($_SERVER[SERVER_NAME] == 'lucnadeau.ca') {
echo '
<link rel="stylesheet" href="/phplugins/css/custom.css" />
';
} else if ($_SERVER[SERVER_NAME] == 'lucnadeau.ca/fr') {
echo '
<link rel="stylesheet" href="http://lucnadeau.ca/fr/phplugins/css/fr.css" />
';
} else {
echo '
<link rel="stylesheet" href="http://lucnadeau.ca/en/phplugins/css/en.css" />
';
}
}
// END
All three CSS files are identical. But they are named differently for each section. But, although the desired effect does occur, it looks like only the principal CSS file is relevant. Both others don't show up. I'm ok with the way the background page shows up. So, should I just delete the extra PHPLUGINS and CSS folders?
I tried something and t looks promising : In Photoshop, I enlarged the canvas size of the image at the lower end. This gave me a transparent area. I then typed in the caption with the type tool. I can choose any type face, and position it at will because I see the image right over it. I then save to png; that saved the caption on a transparent base. Upload the image in the PHOTOS folder and voilà : http://lucnadeau.ca/fr/contact.php
After that it was simply the case of editing the corresponding php file (in this case contact.php) in order to correctly identify the image.
In CE4 Pages (the block section) we can install a "page image" on each page as a decorative device. Is there a way to put a text line, like a title, under these images?
(This comment was written before Rod answer. I will act on his suggestion and reply when I'm done)
Having experimented with the slider control to set the size and aspect ratio of the album thumbnails, it appears that the minimum size of a thumbnail is about 280px, at 1:1 ratio.
At 1:2, the thumbnail is 280px x 560px but, at 2:1 it is 280px x 140px!
I think 280 pixels as a minimum size is a bit large, especially if there are many galleries to show. And it's difficult to control the size if the aspect ratio does not reliably yield a consistent results in the vertical and horizontal format.
How can I control the size of the album thumbnails in CE4Pages? In ICONIC mode, there is that ASPECT RATIO slider that seems to make the thumbnails always either be too small or to big.
Where are the thumbnail size and album size buttons I used in CE3?
In my preview in Lightroom, the thumbnails are a certain size but once published, they become large: http://lucnadeau.ca/fr/galleries.php
If I indicate a thumbnail aspect ratio of 150/50, I get a wide and low thumbnail of somewhat reasonable size. However, wanting a upright thumbnail, if I reverse the settings to 50/150, I expect a tall and slender thumbnail. No such luck: I get gigantic upright thumbnails that take up almost two scrolls to see in their entirety!
Instead of using PAGES to do this site, would I have been better served using AutoIndex?
Here is an example : http://pideja.ca/display.jpg
Set on a black background, to aid in identification, these two screen shots show the web page when the browser window is set at 100% (top) and at 90% (bottom).
I've tried this on multiple monitors, PC and Mac, most but not all at my screen's resolution witch is 1080p (1920x1080), and in every case this happens.
The Page Container is set at auto/1140, all Margins, Paddings and Borders set at 0.
See it live here : http://lucnadeau.ca/fr/info.php
Why is it that on my monitor (21,5 in. 1080p) and on other monitors, all the same theoretical size, PC and Mac, the page displays...10% bigger!
I have to adjust the display size on the monitor to 90% in order to view the whole page as I designed it.
How does on control display sizes to take into account different screens?
If I set my monitor to 90%, I can see all the page as I designed it. However, most monitors are 100% zoom by default. At that setting, the page is not displayed in its entirety.
Since I have the PAGE CONTAINER set at fixed/1140px, should I put it at Auto?
I'd like to try this. I have a main Home page that links to French and English sites. I'd like to implement your method of having specific CSS for each of the three sites : main, french and english.
But I'm not sure what is the Server Name?
Well, I at least have a version of the page that's OK for now.
One other question: why is it that on my monitor (21,5 in. 1080p) and on other monitors, all the same theoretical size, PC and Mac, the page displays...10% bigger!
I have to adjust the display size on the monitor to 90% in order to view the whole page as I designed it.
How doe on control display sizes to take into account different screens?
Just trying something...If I changed that nameplate overlay from an image set in the HOME page to a...Dynamic Masthead using CSS?
How can I get whatever script I put in the CSS file concerning the masthead, to affect ONLY the " welcome " page? That's the one where there is the French and English navigation. I figure if I can get the name plate image (the caribou + name of the artist) to sit in the center of the page as a dynamic masthead, I could get the size of the image to adjust for the different platforms.
I am making any sense? Is this possible?