Some noop help on editing themes Some noop help on editing themes
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Some noop help on editing themes

Started by Nancy4, February 20, 2009, 08:09:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nancy4

hello, well i'm really new to coppermine, i'm not experienced in php, I just installed it through godaddy one click install, anyway, I use valentine theme, and I wanna know how I could learn adding stuff to my theme...i read the documents but can't understand it,

for example, how I can add google adsense code to Valentine theme above picture or under it or after comments? what to edit, template.php or theme.php ? and what I should put? just the google adsense without anything on it?!

hope i can know some good information to start playing with the theme to add many more things than just adsense...and sorry if its known thing for u but i'm just a new in coppermine and all my experience was in PHPBB templates...thanks for your patience  :)

Fabricio Ferrero

QuoteI just installed it through godaddy one click install
It's very probably that your installation start to fail very soon and you will lose more time trying to solve the problems than to learn right now how to do a manual installation. Read: http://documentation.coppermine-gallery.net/en/auto-installers.htm

Quotei read the documents but can't understand it,
Could you specify what part didn't you understood?


Quotehow I can add google adsense code
Click on "SEARCH" and search for "adsense" ;)


Quoteand sorry if its known thing for u but i'm just a new in coppermine
We love newbies, we just hate laziness, if you are here to read and learn, no problem about it. :)
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Nancy4

#2
Quote from: Fabricio Ferrero on February 20, 2009, 10:08:36 PM
It's very probably that your installation start to fail very soon and you will lose more time trying to solve the problems than to learn right now how to do a manual installation. Read: http://documentation.coppermine-gallery.net/en/auto-installers.htm

thanks so much for the advise! I did it already :) just installed my first manual coppermine, and so happy with it!  :D


Quote from: Fabricio Ferrero on February 20, 2009, 10:08:36 PMCould you specify what part didn't you understood?
the part about any content! its just shown in Index...how I can make something like ( anycontent2.php ) and put it on the photos pages, under the picture for example, as I want to make something like book mark this or share and this stuff..is it possible by any content or have easier way?  ???



Quote from: Fabricio Ferrero on February 20, 2009, 10:08:36 PMClick on "SEARCH" and search for "adsense" ;)
I did it really before asking, but nothing, almost all the results was about adding it to full size view page, but nothing about how to add it to some certain place on the photo page or homepage?

Quote from: Fabricio Ferrero on February 20, 2009, 10:08:36 PMWe love newbies, we just hate laziness, if you are here to read and learn, no problem about it. :)
don't worry about that  :D I may be some kid noob  :-X but I'm good in English, so I'm trying to read and learn, but excuse me as somethings are not so easy to understand  ???

Fabricio Ferrero

If you need to reply don't click on "Quote". Click on "Reply".
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Nancy4

sorry for it  :-[ I tried to edit it now but no edit option, and any help about the parts I mentioned especialy the " anycontent " ?

Fabricio Ferrero

I told you what to do to get what you need:

QuoteClick on "SEARCH" and search for "adsense"  ;)
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

Don't use anycontent to display adsense ads. That file is meant to contain dynamic PHP-driven code, not plain HTML and JavaScript (which is what adsense is about). Edit template.html to permanently add your advert into a static place. Edit theme.php to make it show up on a particular place within the layout. As Fabricio suggested, there are many postings that explain how to add adsense to particular sections of the output of coppermine.

Before you do, you better start from scratch: auto-installers are not recommended nor supported. GoDaddy's auto-installer is notorious for not being portable. You can not even back it up. It's not an alternative you should consider. Install Coppermine the way we suggest in our docs, that's the only real option.

Then do as suggested by board rules as well as posting rules: they say that you need to be detailed and post a link to your gallery with your help request. You haven't. Why?

Joachim

P.S. The word is "noob" or "newbie" or "newbee". I have never come across the spelling "noop".