Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Need help figuring out the documentation... ????????????  (Read 5249 times)

0 Members and 1 Guest are viewing this topic.

catwoman

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Need help figuring out the documentation... ????????????
« on: July 29, 2013, 02:11:46 am »

OK, so I can't follow the documentation on how to add a custom header.  I want to add 3 links under the site name on the right hand side of my and the documentation isn't clear about how to do this - at least to me as I have pretty much zilch experience with this. I'm also having problems with my logo and the custom menu item not showing up properly.  You can see what I want to do and the problems I'm having in the screenshot I attached.  If anyone can walk me through it (without re-directing me to the documentation since I just spent 2 days reading it and still can't figure it out) I would really appreciate it. I would like get my site launched soon...
Logged

catwoman

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Need help figuring out the documentation... ????????????
« Reply #1 on: July 29, 2013, 02:15:59 am »

can't edit the first post...

Forgot to add, in case you can't tell from the screenshot, I'm using the default Curve template - just copied into a new folder and renamed.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Need help figuring out the documentation... ????????????
« Reply #2 on: July 30, 2013, 12:02:30 am »

You will need to learn a little (just a little to start with) about editing/changing HTML related files.
There are many on-line guides and tutorials.

One example of one section of a site I still use today.
http://www.w3schools.com/html/default.asp

Get a decent text editor - I use Notepad++
(it will show you a color coded display to help)

Make sure that you know how to move files via FTP and use binary mode.

Create and save backups on your local computer. Start with the files and folders
in your local copy of the Curve theme. Take a look at the file template.html and
the images folder to see how they relate to each other and how the Curve theme works.

You will do fine - be patient - keep the docs nearby - search this forum - make backups.

catwoman

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Need help figuring out the documentation... ????????????
« Reply #3 on: July 30, 2013, 02:38:51 am »

I guess I shouldn't say I have absolutely zilch experience.  I have managed to modify my store & my blog & my forum without any problems - even though I don't know PHP, CSS, or HTML.  I just can't follow the documentation for the coppermine application.  Its not clearly written.  The way the code is all broken up is really confusing. I do have some programming experience albeit from 20 years ago (Fortran & Basic), but I can't find anything the way this is coded.  I guess I'll just have to start going by hit or miss editing the code.  The problem is the way the documentation is written assumes that you know what they're talking about an where to find the code.
Logged

catwoman

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Need help figuring out the documentation... ????????????
« Reply #4 on: July 30, 2013, 02:40:50 am »

I forgot to add that the documentation says to edit the template.html file - well its blank!  How the heck do you edit something like that?????
Logged

catwoman

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Need help figuring out the documentation... ????????????
« Reply #5 on: July 31, 2013, 08:48:59 am »

So... If anyone at all reads this... Can someone please just tell me where and what file I need to modify so I can the links under the title?  and how to make my logo bigger (I figured out the other thing by just deleting what I guess was a variable ) I've read and re-read the documentation and it doesn't make sense to me.  I know how to do the rest.  I just need to know where to put the links...
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2027
Re: Need help figuring out the documentation... ????????????
« Reply #6 on: July 31, 2013, 04:16:06 pm »

You appear to be using the 'curve' theme. So the 'template.html' file you will need to edit is located at: ../themes/curve/template.html.

As suggested by Joe Carver, if you learn a bit about html and css, you should be able to make your desired changes.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Need help figuring out the documentation... ????????????
« Reply #7 on: August 01, 2013, 09:39:49 pm »

If your theme is the default Curve Theme:

To make the links appear under your Title or Description you'll need to make changes to ..\themes\curve\template.html
In ..\themes\curve\template.html Find
Code: [Select]
            <div id="cpg_logo_block_name">
                <h1>{GAL_NAME}</h1>
                <h3>{GAL_DESCRIPTION}</h3>
            </div>
Make your changes adding links and use inline css to style or update ..\themes\curve\style.css

Depending on how you changed the logo there are a few ways to make it larger. Please post a link for better information.
In ..\themes\curve\template.html Find
Code: [Select]
            <div id="cpg_logo_block_logo">
                <a href="index.php">
                    <img src="themes/curve/images/coppermine-logo.png" border="0" width="260" height="60" alt="" />
                </a>
            </div>
Change the inline styles or remove the inline height and width and edit with css instead.
Check ..\themes\curve\style.css for any styles related to #cpg_logo_block_logo if you have trouble.

If Curve is not your theme please post a link to your site and a link to the theme used.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

catwoman

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Need help figuring out the documentation... ????????????
« Reply #8 on: August 01, 2013, 10:53:07 pm »

Thank you both for responding.  My problem is the template.html file is empty.  There is nothing there to edit.  I will use the suggestions you gave and try to see if I can find some corresponding code in the template.php file.  This is very frustrating...

This is a link to my gallery.  I had wanted to launch the site today, but that's not going to happen...

www.catscrapfever.ca/gallery
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Need help figuring out the documentation... ????????????
« Reply #9 on: August 01, 2013, 11:06:22 pm »

Are you looking in the themes directory and then in the directory for your configured theme?
Can you confirm you are using curve?

Your site would not show at all with a blank template.html, maybe you opened theme.php instead?

If you can not find it still please upload a zip of the files you are looking at.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

catwoman

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Need help figuring out the documentation... ????????????
« Reply #10 on: August 01, 2013, 11:07:30 pm »

So, I have found the root of my frustration...  I've always used the editor in Cpanel and its worked fine.  For some reason, the html file for my template comes in blank when using that editor.  I've opened it in Notepad and everything is there.  Unbelievable.  So, I think I should be ok now to do the edits I want.
Logged

catwoman

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Need help figuring out the documentation... ????????????
« Reply #11 on: August 01, 2013, 11:10:23 pm »

I'm going to have a talk with my web host.  They told me the editor was good to use for this...
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Need help figuring out the documentation... ????????????
« Reply #12 on: August 01, 2013, 11:13:27 pm »

In the cpanel editor there is a dropdown at the top that gives you options for displaying files. play with that, I had the problem once before but I no longer have access to cpanel so I can't give details.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

catwoman

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Need help figuring out the documentation... ????????????
« Reply #13 on: August 01, 2013, 11:37:31 pm »

Well, now that I was able to actually see the contents of the template.html file, I was able to make the changes I wanted in less than 5 minutes.  What a nightmare.  I will take a look at the editor to see if there are any settings, but I think from now on I'll just use notepad to make my edits.

Thanks for your help.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.