Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] How to edit the <HEAD> Tag and a ShadowBox problem
#1
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)
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
#2
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?
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
#3
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?
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
#4
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?
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
#5
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.
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
#6
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
#7
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.
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
#8
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.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
#9
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.
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
#10
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.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
#11
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...video-test
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
#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...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.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
#13
Found that it's not in the same directory, as you said.
Fixed that but still doesn't work.
Can you help me out?
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
#14
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.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
#15
@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.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
#16
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.
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
#17
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
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
#18
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...
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
#19
nifty: I meant clever and easy ;=)

I will close this thread, no problem
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18




Users browsing this thread: 1 Guest(s)