Hello
could someone help me and tell me what is wrong (Page not found)
I pasted the code into and arcade.html - upload to the root directory.
I created a language key "_arcade"
I went to page builder - add new page "Arcade" inside the page i have an Iframe code ->>> <center><iframe name="arcade" width="1200" height="1000" align="middle" src="Arcade.html" frameborder="no" scrolling="auto"></iframe></center>
But when click on Arcade link --- it said Page Not Found ---------- why this is so complicate and not working, what did i do wrong
please tell me here is the site http://guitarelements.com
|
you file name arcade.html is different from your calling of the page in your code Arcade.html - check your capitalization
also - where did you put the iframe - in an html block? if so - try using a php block with:
?>
<center><iframe name="arcade" width="1200" height="1000" align="middle" src="Arcade.html" frameborder="no" scrolling="auto"></iframe></center>
<?php { }
Ihad issues with iframes so i have a totally different code than you - will pull it out and post it for you
caredesign.net |
Hello
Yes I use Html Block
Yes I did change To capital Arcade and it is not working.
I am going to try phpblock using Deanotools
I be back post here to let you know if it work using phpblock
thanks
|
i used a php block for mine, but here is the code I used:
?>
<script type="text/javascript">
/*********************************************** * IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com) * Visit DynamicDrive.com for hundreds of original DHTML scripts * This notice must stay intact for legal use ***********************************************/
//Input the IDs of the IFRAMES you wish to dynamically resize to match its content height: //Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none: var iframeids=["myframe"]
//Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended): var iframehide="yes"
var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1] var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers
function resizeCaller() { var dyniframe=new Array() for (i=0; i<iframeids.length; i++){ if (document.getElementById) resizeIframe(iframeids[i]) //reveal iframe for lower end browsers? (see var above): if ((document.all || document.getElementById) && iframehide=="no"){ var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i]) tempobj.style.display="block" } } }
function resizeIframe(frameid){ var currentfr=document.getElementById(frameid) if (currentfr && !window.opera){ currentfr.style.display="block" if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) //ns6 syntax currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight; else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax currentfr.height = currentfr.Document.body.scrollHeight; if (currentfr.addEventListener) currentfr.addEventListener("load", readjustIframe, false) else if (currentfr.attachEvent){ currentfr.detachEvent("onload", readjustIframe) // Bug fix line currentfr.attachEvent("onload", readjustIframe) } } }
function readjustIframe(loadevt) { var crossevt=(window.event)? event : loadevt var iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElement if (iframeroot) resizeIframe(iframeroot.id); }
function loadintoIframe(iframeid, url){ if (document.getElementById) document.getElementById(iframeid).src=url }
if (window.addEventListener) window.addEventListener("load", resizeCaller, false) else if (window.attachEvent) window.attachEvent("onload", resizeCaller) else window.onload=resizeCaller
</script>
<iframe id="myframe" src="Assessments/Comprehensive/index.php?record_id=<?php echo $record_id ?>" scrolling="no" marginwidth="15" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; align:center; width:100%; display:none"></iframe>
<?php { }
change whats in red to Arcade.html
with this code - the iframe expands and contracts (height wise) depending on the content within it, so no more excess space or not enough space when creating an iframe and not knowing the different screen sizes and resolutions.
caredesign.net |
in case you are interested in what the above code looks like, I took a couple of screenshots. the first one iframepage1.png is the first page in a serious of pages to complete a questionairre. iframepage2 is a longer page, in which I had to zoom out on my browser to get it all in the screenshot.
same iframe, but 2 different pages in it.
caredesign.net |
one other small thing I almost forgot - when you made your page in the page builder, did you click the view page link to see what it would look like? if so, does this give you the page not found error, or is it only when you click the link up top that you get the page not found?
reason I ask, when creating the page, the first field is uri name - so if you used a lowercase a in arcade, but your navigation menu is set for Arcade, then that would be the issue there.
caredesign.net |
Hello
I can't do it I try my head out, i just delete the html block and used deanotool to insert the php block.
I do not know what I am doing.
|
so - you have a column with a php block in it, correct? caredesign.net |
I have posted this in the past, if you use search "install come2play" the results of all topics are covered.
- Create HTML block on desired page for the Come2play iframe
- Insert your page code (and I suggest when creating this block you insert your Language "key" i.e. "_come2play")
- Open your phpmyadmin from your cPanel
- Open your Dolphin MySQL database
- Open and edit sys_page_compose
- navigate to the last page of list with the ">>" button
- find the caption "_come2play" listed for the index page or the page you inserted the games or iframe code to, click the "edit" link
-
re paste the game (because it was striped the first time), iframes code into the "Content" field
- and click "Go" to save it.
- Clear your cache from admin panel.
http://webcamyourface.com/page/arcade
ManOfTeal.COM a Proud UNA site, six years running strong! |
@newton - do you know if there will ever be a modification to that - or would changing the database field to a different type - such as longblob work?
I was having an issue where php codes were being cutoff with the text type, and changed it to longblob, and that resolved my issue.
caredesign.net |
Not sure what all this is about..I pasted the Come2Play code in a html block and it works without any tampering with a database.
I have posted this in the past, if you use search "install come2play" the results of all topics are covered.
- Create HTML block on desired page for the Come2play iframe
- Insert your page code (and I suggest when creating this block you insert your Language "key" i.e. "_come2play")
- Open your phpmyadmin from your cPanel
- Open your Dolphin MySQL database
- Open and edit sys_page_compose
- navigate to the last page of list with the ">>" button
- find the caption "_come2play" listed for the index page or the page you inserted the games or iframe code to, click the "edit" link
-
re paste the game (because it was striped the first time), iframes code into the "Content" field
- and click "Go" to save it.
- Clear your cache from admin panel.
http://webcamyourface.com/page/arcade
http://ModMyCMS.com --> Dolphin Hacks &Mods |
i am not totally sure, but I think it has something to do with the tinyMCE (myclient calls it a tiny mouse cause it is annoying sometimes)
I noticed that if you apply one of the changes to add php blocks to your page builder - cant remember the instructions exactly, but it removes the tinymce from the html block. These blocks will work when adding iframes and javascript and stuff. I saw it mentioned a long time ago, but dont know the actual post. Will try to find it if i can.
caredesign.net |
Not sure what all this is about..I pasted the Come2Play code in a html block and it works without any tampering with a database.
This was a problem with the HTMLpurifier a while back.
You will still find some code that will not properly save, and then show properly; doing manually in the database makes sure all of the code is retained.
ManOfTeal.COM a Proud UNA site, six years running strong! |
Hello Newton
I felt so stupid and frustrated.
i went here-
- Open and edit sys_page_compose
- navigate to the last page of list with the ">>" button
- find the caption "_come2play" listed for the index page or the page you inserted the games or iframe code to, click the "edit" link
-
re paste the game (because it was striped the first time), iframes code into the "Content" field
i search for _come2play ----- i search for 12 pages and can't find _come2play
man this is
|
i search for _come2play ----- i search for 12 pages and can't find _come2play man this is
Sometimes that will happen, use the "ID" and sort. (press the "ID" twice) When you sort your last entry will be the highest number in this column.
[edit] I use this way now instead of the ">>" now actually, this way will pull up the last entries you have made to your pages builder.
ManOfTeal.COM a Proud UNA site, six years running strong! |
it may be _arcade and not _come2play caredesign.net |
it may be _arcade and not _come2play
Huan, what word did you use?
ManOfTeal.COM a Proud UNA site, six years running strong! |
Newton
I went back and click on ID a few times --- never able to find _come2play
|
Newtn
at first i use language key (_arcade) --- i then delete it and use language key (Arcade)
I am retarded - help pls
|
sort by page and look for Arcade up at the top of the list, and hopefully there is only 1 block for that page caredesign.net |
Professsor I look for every single pages and can't find it
I gave up -- no big deal --- it gave me a headache and i am depress because I felt so dumb
|
first thing first - you almost did everything correctly your first time around. the error is in the name of your new page that you created in your pagebuilder - go to http://guitarelements.com/page/_arcade
EDIT - i went ahead and made the correct page and copied your existing block to it - now your link is working
caredesign.net |
Proffesro
You make me felt so dumb & stupid --- Thank You So much - I have learned nothing
|
the View page link in the page builder is one of your best friends. Clicking this will show what your page looks like, and you can view the actual url in the address bar. Thats all I did.
EDIT - you had done everything else correctly. It was just the Page URI field that you kinda messed up on
caredesign.net |
I made a tutorial for you weednav, check your pm's..Not sure if you can post links to your websites here. http://ModMyCMS.com --> Dolphin Hacks &Mods |
Hello Professor & btiesman
Thank you you both so very much, Professor thks for making me felt not so stupid. But I am learning and that is what count. Thank you for teaching me, it is priceless for obtaining knowledge and learning
God Bless you all
|
Hello Professor & btiesman
Thank you you both so very much, Professor thks for making me felt not so stupid. But I am learning and that is what count. Thank you for teaching me, it is priceless for obtaining knowledge and learning
God Bless you all
You are too harsh on yourself; remember that all crawled before learning to walk.
Geeks, making the world a better place |
Great quote GeekGirl!
Hello Professor & btiesman
Thank you you both so very much, Professor thks for making me felt not so stupid. But I am learning and that is what count. Thank you for teaching me, it is priceless for obtaining knowledge and learning
God Bless you all
You are too harsh on yourself; remember that all crawled before learning to walk.
As for me... i was able to follow along with Newton27's instructions... how ever after clearing the cashe and then going to the site to look for the new page... Not only did I not see a tab for the new page... but I also received this error:
Warning: curl_exec() has been disabled for security reasons in /home/creatigs/public_html/Mysite.com/inc/utils.inc.php on line 1160
Warning: curl_exec() has been disabled for security reasons in /home/creatigs/public_html/Mysite.com/inc/utils.inc.php on line 1160
??? What does this mean... and what should I do to correct it?
|
how ever after clearing the cashe and then going to the site to look for the new page
are you getting that on the navigation to the arcade page you created?
[edit]
In your admin section /administration/host_tools.php
php module: curl = curl - OK
ManOfTeal.COM a Proud UNA site, six years running strong! |
Hello Newton
I am not sure f you are talking to me or someone else
my come2play code is working fine now thaks for Professor helping.
I also ckecked in admin/tools/host tools and see curl = curl ----------- o.k
I have no clue what it is I am checking
thanks anyway
|
Ok so far... I have figured out how to get my page and page link viewable on my own...
Only now come2play is not exactly centered on my page? lol
I tried editing the Block's script and I guess it's close enough (but still not "centered"... Sorry I am anal like that)
Next is how do I remove or rename the "_come2play" in my upper left corner? (see attachment)
That is what the language file is called... so if I change that... will it mess up it's database linkage... ?
Any ideas?
|
oh and for those who are equally as anal as I... Here is a screen shot of my "non-centered" page.
Perhaps it too can be edited in the Block Script?
|
Createb
I have same issues as my come2play not center, even thought i have it center as <center>code for come2play</center>
this is what i did.
i created and html file called Arcade. I pasted the come2play code in this file - I center it and uplload to the server at root.
i crated a page in admin name Arcade
i create a link to arvcade use admin/navigation link which called the Arcade page.
then when i check it --- it center for me - i hope this help you
|
I have same issues as my come2play not center
Go back to the database entry where the come2play code is, and add
<center>GAME CODE HERE</center>
I think you all missed that, Professor has that in the first couple topics..
also to cover full page width, if you have it set for something like 800px, change that to 100%
ManOfTeal.COM a Proud UNA site, six years running strong! |
Hello
I hada confident working with phpadmin now for the first time, I am going to learn this crab and get really good at it because I am sick & tired of not understand and scare of it. Thanks for Rdonavan help to remove the Array text on the right side of the site title.
----------------
I just now go back to phpadmin ---- try to learn why I had so hardtime to learn how to put the come2play code in the table ---------------- I just found out why ------------------ Instructions here are WRONG ---------- as teaching me to look in the sys_page_compose ?????????????????? it is not in here
It is in sys_page_compose_page -------------------------- YEAH i am so happy and will learn phpadmin starting right now
Thanks
|
Ok so far... I have figured out how to get my page and page link viewable on my own...
Only now come2play is not exactly centered on my page? lol
I tried editing the Block's script and I guess it's close enough (but still not "centered"... Sorry I am anal like that)
Next is how do I remove or rename the "_come2play" in my upper left corner? (see attachment)
That is what the language file is called... so if I change that... will it mess up it's database linkage... ?
Any ideas?
It's the "how do I remove or rename the "_come2play" in my upper left corner? (see attachment)" that still is appearing.
Any ideas?
|
add it to your language keys ManOfTeal.COM a Proud UNA site, six years running strong! |
add it to your language keys
lol lol lol....
Well I did need to add it... It was already a language key.... I thought that I had to leave it like that but I guess not.... I just renamed the language key ( to the name that I wanted to appear) in that Block and now it shows up the way that Had wanted.
|
add it to your language keys
lol lol lol....
Well I did need to add it... It was already a language key.... I thought that I had to leave it like that but I guess not.... I just renamed the language key ( to the name that I wanted to appear) in that Block and now it shows up the way that Had wanted.
If you want it to look like mine; in the database look for the
DesignBox tinyint(3) unsigned
it is set to "11 or 1"
For a "no header box" change it to "0"
clear cache
ManOfTeal.COM a Proud UNA site, six years running strong! |