GetSimple Support Forum
[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7)
+--- Thread: [Solved] How to edit the <HEAD> Tag and a ShadowBox problem (/showthread.php?tid=1944)



[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - TDT-Alpha - 2011-07-12

Hi there,
I'm (also) a web-designer and I use your system at the moment.
Quote:Designer's POV - ...
There's one missing feature that may make me leave your service which is:

Editing the Base HTML and\or PHP of the website.

I need to edit the title tag, add an analytics code, add JavaScript applications and I CAN NOT!
So, please, if you can, add the feature or explain (publicly) how to do the above...

Thanks,
TDT-Alpha
Blog: TheDragonTeam.megabyet.net (Main Designing Website)
GetSimple: TheDragonTeam.myftp.org (Client Service Website)


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - mvlcek - 2011-07-12

TDT-Alpha Wrote:Hi there,
I'm (also) a web-designer and I use your system at the moment.
Quote:Designer's POV - ...
There's one missing feature that may make me leave your service which is:

Editing the Base HTML and\or PHP of the website.

I need to edit the title tag, add an analytics code, add JavaScript applications and I CAN NOT!
So, please, if you can, add the feature or explain (publicly) how to do the above...

???
Under the theme menu in the administration you can edit the template php file (i.e. the HTML code with all php function calls) along with javascript and css files. With the Theme Highlighter plugin you even get syntax highlighting for these files.
What else do you want?


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - TDT-Alpha - 2011-07-12

mvlcek Wrote:
TDT-Alpha Wrote:Hi there,
I'm (also) a web-designer and I use your system at the moment.
Quote:Designer's POV - ...
There's one missing feature that may make me leave your service which is:

Editing the Base HTML and\or PHP of the website.

I need to edit the title tag, add an analytics code, add JavaScript applications and I CAN NOT!
So, please, if you can, add the feature or explain (publicly) how to do the above...

???
Under the theme menu in the administration you can edit the template php file (i.e. the HTML code with all php function calls) along with javascript and css files. With the Theme Highlighter plugin you even get syntax highlighting for these files.
What else do you want?

I didn't find a way to change the things I've mentioned:
Quote:title tag, add an analytics code, add JavaScript applications
Can you explain to me?


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - Connie - 2011-07-12

TDT-Alpha Wrote:I need to edit the title tag, add an analytics code, add JavaScript applications and I CAN NOT!
So, please, if you can, add the feature or explain (publicly) how to do the above...

you can always edit the templates in the administration panel

if that is not enough for you, you can edit these templates locally with any editor and upload that to the server using ftp

so where is the problem?


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - TDT-Alpha - 2011-07-12

Connie Wrote:
TDT-Alpha Wrote:I need to edit the title tag, add an analytics code, add JavaScript applications and I CAN NOT!
So, please, if you can, add the feature or explain (publicly) how to do the above...

you can always edit the templates in the administration panel

if that is not enough for you, you can edit these templates locally with any editor and upload that to the server using ftp

so where is the problem?

Can you please, just answer the questions bellow:
How do I change the title tag of the <head> in my GS-based website?
How do I add a javascript code to the <head> tag in my GS-based website?
How do I add Google Analytics code in my GS-based website?

Thanks.


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - Carlos - 2011-07-12

Just insert in your theme's php files whatever you need at the correct place.
About GS template tags, take a look at this post's links:
http://get-simple.info/forum/post/14361/#p14361


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - TDT-Alpha - 2011-07-12

People just don't read and they also answer after that...
Again:
Quote:Can you please, just answer the questions bellow:
How do I change the title tag of the <head> in my GS-based website?
How do I add a javascript code to the <head> tag in my GS-based website?
How do I add Google Analytics code in my GS-based website?

Thanks.

I think I'll quit using your CMS because of the service...
Actually that's why my website exists - it gives my costumers\clients the fastest, most useful and resourceful information about my and their projects, and I don't think you're even close to making it.


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - mvlcek - 2011-07-12

TDT-Alpha Wrote:People just don't read and they also answer after that...
Again:
Can you please, just answer the questions bellow:
How do I change the title tag of the <head> in my GS-based website?

by changing everything between <title> and </title>?
(template.php or header.php or whatever file it is in for your theme)

TDT-Alpha Wrote:How do I add a javascript code to the <head> tag in my GS-based website?

by adding a <script type="text/javscript">...</script> piece of code in the header?

TDT-Alpha Wrote:How do I add Google Analytics code in my GS-based website?
Thanks.

by adding the relevant javascript include in your HTML header (I dont use Google Analytics)?

TDT-Alpha Wrote:I think I'll quit using your CMS because of the service...
Actually that's why my website exists - it gives my costumers\clients the fastest, most useful and resourceful information about my and their projects, and I don't think you're even close to making it.

I assume that this fastest, most useful and resourceful information doesn't have anything to do with information technology and building a website.

Sorry if this is not the information you want - but I don't really see what the problem is.
By looking at each file under the theme administration it is easy to see, which file contains the <head> and <title> tags and thus where to change/add code.
We do not know your skill level and thus cannot always answer with the correct level of detail.

And we do this free of charge - whereas you probably charge your customers.


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - TDT-Alpha - 2011-07-12

There's no <head></head> tag in any place in my theme (based on the other than Cardinal which is the default).
I don't know how to add that tag in the PHP.
So everything you said is already known.
But where do I put all that stuff? How do I make the <head> tag and where?
Thanks.

*Already have been through every file in the CMS system to find this out and couldn't.


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - mvlcek - 2011-07-12

TDT-Alpha Wrote:There's no <head></head> tag in any place in my theme (based on the other than Cardinal which is the default).

???
in a fresh download <head> is in:
theme/Cardinal/template.php
theme/Innovation/header.php
both accessible from the theme editor in the administration.


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - TDT-Alpha - 2011-07-12

O.k, now I've have put the code in there:
Code:
<link rel="stylesheet" type="text/css" href="shadowbox.css">
    <script type="text/javascript" src="shadowbox.js"></script>
    <script type="text/javascript">
        Shadowbox.init();
    </script>
And it doesn't work. See page "Image and Video Test".
http://thedragonteam.myftp.org/index.php?id=image-and-video-test


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - mvlcek - 2011-07-12

TDT-Alpha Wrote:O.k, now I've have put the code in there:
Code:
<link rel="stylesheet" type="text/css" href="shadowbox.css">
    <script type="text/javascript" src="shadowbox.js"></script>
    <script type="text/javascript">
        Shadowbox.init();
    </script>
And it doesn't work. See page "Image and Video Test".
http://thedragonteam.myftp.org/index.php?id=image-and-video-test

I suggest adding a path to shadowbox.css and shadowbox.js, as they are definitely not in the same directory as index.php.


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - TDT-Alpha - 2011-07-12

Found that it's not in the same directory, as you said.
Fixed that but still doesn't work.
Can you help me out?


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - mvlcek - 2011-07-12

TDT-Alpha Wrote:Found that it's not in the same directory, as you said.
Fixed that but still doesn't work.
Can you help me out?

Seems like Shadowbox needs jQuery.
As this here is the GetSimple forum and we don't know about Shadowbox, please contact the support of Shadowbox.


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - ccagle8 - 2011-07-12

@TDT-Alpha - Regarding your "threat" to stop using GetSimple because of the service... please do.

Please don't come onto these forums and berate some of the most respected people within the community because of your misguided perception that they are not answering your questions correctly. I've read over your questions, and I feel they were answering them to the best of their ability based on the information you were giving them.


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - TDT-Alpha - 2011-07-12

ccagle8 Wrote:@TDT-Alpha - Regarding your "threat" to stop using GetSimple because of the service... please do.

Please don't come onto these forums and berate some of the most respected people within the community because of your misguided perception that they are not answering your questions correctly. I've read over your questions, and I feel they were answering them to the best of their ability based on the information you were giving them.

Fine, as a person from the side who sees all of what was in this thread, I believe what you're saying.
I'll work harder on expressing myself.
The last problems may be resolved tomorrow...
Although the first problems (the main and the most important one) were resolved already.

Thanks for your support and helping me thinking more straight forward. And you did.

I'm sorry for my mis-behaving, I was under huge stress, and also, in the middle of 12 hours of working, all my system crashed, MySql (for other important stuff on the server) didn't work and more to come.
Also, from now on I'll watch the files (scripts, codes, whatever) more deeply, as I was supposed to.

A word of a child (I'm 14 Y.O) - Learn from everything you can, just because you can!

Good night! (I'm in Israel, it's night now)
TDT-Alpha.


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - Connie - 2011-07-12

I am glad it was coming out to a good situation for you now!

Sometimes stress makes us stronger, sometimes it makes us impatient

but in the end, I am sure, you will discover and enjoy the strength of this small nifty CMS!

Cheers, Connie


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - TDT-Alpha - 2011-07-12

Connie Wrote:I am glad it was coming out to a good situation for you now!

Sometimes stress makes us stronger, sometimes it makes us impatient

but in the end, I am sure, you will discover and enjoy the strength of this small nifty CMS!

Cheers, Connie
What does "nifty" mean? never heard that word XD
But people say that anger and stress only hurt us, I believe that.
Thanks for all, finishing now the website, you can take a look.

TheDragonTeam.myftp.org
TDT-Alpha.

Please lock this thread...


[Solved] How to edit the <HEAD> Tag and a ShadowBox problem - Connie - 2011-07-12

nifty: I meant clever and easy ;=)

I will close this thread, no problem