Need help figuring out the documentation... ???????????? Need help figuring out the documentation... ????????????
 

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

Main Menu

Need help figuring out the documentation... ????????????

Started by catwoman, July 29, 2013, 02:11:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

catwoman

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...

catwoman

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.

Joe Carver

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

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.

catwoman

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?????

catwoman

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...

ron4mac

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.

Jeff Bailey

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

            <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

            <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.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

catwoman

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

Jeff Bailey

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.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

catwoman

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.

catwoman

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

Jeff Bailey

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.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

catwoman

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.