This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Tutorial for dynamic links
#51

Where exactly did you put the include script for the other page?

I'm giving you three guesses...
Reply
#52

In the previous post I inserted it as directed. However this means that the flexibility I am looking for won't be there.

On the other page I put it in a html box. See attached picture.


Attached Files Thumbnail(s)
   
Reply
#53

That is why it isn't working. are there any other places where you know you can put stuff in? The place where you put it seems to be a box. The first couple of lines should be at the top of the page, not simply before the script. Is there some sort of place where you can edit the complete HTML of the page?

I'm giving you three guesses...
Reply
#54

That I can. The <--doc_top--> puts that part at the top of the page. I can put it somewhere else and see if that works.
Reply
#55

I doubt that <--doc_top--> puts it above the doctype. Explain how it works if you can. It'll be really helpful.

I'm giving you three guesses...
Reply
#56

I'm not sure how it works, but my guess is that ezgenerator processes the whole page and uses a function to insert that code at the top. What I do know is that the program and devs say it puts the code on the top.
Reply
#57

Do you have a forum account on their website? If so, can you take a look at http://forum.image-line.com/viewtopic.ph...=doctop%2A and http://forum.image-line.com/viewtopic.ph...=doctop%2A
Because I need to be logged in.

I'm giving you three guesses...
Reply
#58

hi

yes this is possible, if you need to add it for all pages in website, you can use menu extra --> project settings -->advanced --> DOC_TOP
if you need just on some pages: use insert html function and add following code (anywhere on page)

<!--doc_top-->your code here<!--/doc_top-->

AND THE OTHER THREAD:

hi

doc top macro still works here
are you sure you didn't defined DOC_TOP value in site.ini (in project directory) ?
DOC_TOP in site.ini have higher priority than doc top macro inserted on page
This is the script in site.ini:

[/BODY]<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16268771-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>[END]
[META]<meta name="description" content="%DESCRIPTION%">
<meta name="keywords" content="%KEYWORDS%">
<meta name="date" content="%DATE(yyyy"-"mm"-"dd"T"hh":"mm":"ss+00":"00)%">
<!--favicon--><link href="../favicon.ico" type="image/x-icon" rel="shortcut icon">
<link href="../favicon.ico" type="image/ico" rel="icon"><!--/favicon-->[END]
[DOC_TOP]<?php
session_start();
ob_start();
?>[END]
Reply
#59

It might be duplicate variables. Try changing the include script to
PHP Code:
<?php
$temp_page_id_bckp
= $page_id;
$page_id = "2";
$path_to_comments_folder = "comments/";
define ('IN_COMMENTICS', 'true'); //no need to edit this line
require $path_to_comments_folder . "includes/commentics.php"; //no need to edit this line
$page_id = $temp_page_id_bckp;
?>

I'm giving you three guesses...
Reply
#60

hmmm... that doesn't seem to help.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by J.B.
06-Jun-2014, 11:19 PM
Last Post by het
19-Sep-2011, 06:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)