Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Where do i change the default links or text on Foliage Theme?  (Read 4215 times)

0 Members and 1 Guest are viewing this topic.

Mikuzi

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

Hello.. i'm new here... i've search everywhere and i can't find the file where i can change the links that came for default in the theme Foliage...  ???

Can anybody help me?

I've already search in the forum and i didn't find anything... also read the docs...  :-\

I'm so sorry if this doesn't go here.


Thank you.
« Last Edit: July 08, 2009, 01:37:13 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Where do i change the default links or text on Foliage Theme?
« Reply #1 on: June 18, 2009, 08:13:32 pm »

Edit themes/yourtheme/template.html with a plain text editor
Logged

Mikuzi

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Where do i change the default links or text on Foliage Theme?
« Reply #2 on: June 18, 2009, 08:34:49 pm »

Ok, thank you. Now i can change de footer  ;D

But, the text of "welcome" and the links in the secction "pull" still don't know how to change that...

any help with that?



Again, thank you so much.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Where do i change the default links or text on Foliage Theme?
« Reply #3 on: June 19, 2009, 08:34:56 am »

But, the text of "welcome" and the links in the secction "pull" still don't know how to change that...
In the very same file I told you to edit - just open your eyes, OK?

Your thread is not related to the modpack (moving accordingly).
You failed to post a link to your gallery although that is mandatory according to board rules.

For the benefit of others with similar issues:

Mikuzi is refering to the coppermine theme "Foliage" that can be previed here. Announcement thread is at http://forum.coppermine-gallery.net/index.php/topic,35953.0.html
To see the theme's template file, go to http://coppermine-gallery.net/demo/cpg14x/themes/foliage/template.html for example, do a right-click, "view source code" and you'll get this:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta name="mssmarttagspreventparsing" content="true" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="themes/foliage/style.css" type="text/css" />
<link rel="stylesheet" href="themes/foliage/style_wp.css" type="text/css" />

<script type="text/javascript" src="themes/foliage/js/prototype.js"></script>
<script type="text/javascript" src="themes/foliage/js/effects.js"></script>
<script type="text/javascript" src="themes/foliage/js/combo.js"></script>

<script type="text/javascript" src="scripts.js"></script>
<noscript>JavaScript needs to be enabled for pull tab to work!</noscript>
</head>
<body>
{CUSTOM_HEADER}

<!-- Start Header -->
<a name="top"></a>
<div id="top">
   <div id="shelfwrap" style="display: none;">
      <div id="shelf">

         <div class="left">
            <h1>{GAL_NAME}</h1>
               <p>{GAL_DESCRIPTION}</p>

               <h3>Links</h3>
               <ul id="navigation">
                  <li><span>See what's on my mind</span> <a href="http://www.bullseyephotos.com/blog/" title="Read my blog">Blog</a><br /></li>
                  <li><span>Drop a line or two</span> <a href="#" title="Contact the Author">Contact</a><br /></li>
                  <li><span>Support Forum</span> <a href="http://coppermine-gallery.net/forum/" title="Coppermine Support Forum">Coppermine</a><br /></li>

                  <li><span>A real web browser</span> <a href="http://www.mozilla.com/firefox/" title="Get Firefox">Get Firefox</a><br /></li>
                  <li><span>The Firefox tool for CSS</span> <a href="http://chrispederick.com/work/webdeveloper/" title="Web Developer Extension">Web Developer</a><br /></li>
               </ul>
         </div>

         <div class="right">
            <h3>Welcome</h3>
               <p>"Hello! Welcome to Coppermine Photo Gallery. Coppermine is a full featured photo gallery that is easy to setup and use. Feel free to change this to fit your own idea of a welcome message or get rid of it altogether. If you come across any errors in this theme, please let us know. Thank you and have a great day!"</p>

               <ul id="recentposts">
                  {SYS_MENU}
               </ul>
         </div>

      </div> <!-- Close Shelf -->
<div class="clear"></div>
   </div> <!-- Close Shelfwrap -->

   <div id="shelfbreak"></div>

   <div id="banner">
      <div id="foliage">
         <div id="pull"><a href="javascript:Effect.Combo('shelfwrap', {duration: 0.8});">Toggle Menu</a></div>
      </div>
   </div>

<!-- Start Gallery -->
   <div id="content">
      <div class="statlink" align="center">

         {SUB_MENU}
      </div>
      {ADMIN_MENU}
      {GALLERY}
   </div>
<!-- End Gallery -->
</div> <!-- Close Top -->

<!-- Start Footer -->
   <div id="footercontent">
      <div id="bottomwrap">
         <div id="bottomcontent">
         <h3>Fill me with meaningful content</h3>

         <p>"With the vanity, theme list and languange list & flags turned off, this is a large empty place. Add some thoughtful comments here."</p>
            <div align="center">
                   {LANGUAGE_SELECT_FLAGS} <br />
                   {LANGUAGE_SELECT_LIST}{THEME_SELECT_LIST} <br />
                   {VANITY}
                </div>
         </div>
     <div class="clear"></div>

      </div>
   </div>

<div id="bottom">
   <div id="footer">
<!-- Please leave these credit links intact as they are small and unobtrusive to the theme. Thanks! -->
      <p style="float: center;">Wordpress Theme Design by <a href="http://5thirtyone.com/" title="5ThirtyOne | It's not wheatgrass">Derek Punsalan</a> -- Theme Ported to CPG by <a href="http://www.billygbullock.com" title="Billy Bullock">Billy Bullock</a> | <a href="#top">Top</a></p>

   </div>
</div>
<!-- End Footer -->

{CUSTOM_FOOTER}
</body>
</html>
and surprisingly, at the very top, right where you would expect it, you'll find the welcome text that Mikuzi is searching for. One can clearly see that you (Mikuzi) have been searching extra hard. ::)
Logged

Mikuzi

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Where do i change the default links or text on Foliage Theme?
« Reply #4 on: June 20, 2009, 01:32:35 am »

First of all, i'm sorry about not posting a link of my gallery, i forgot. Here it is... http://www.comunidadtwilight.com/galeria

Second, I've never done this before, and that's why i'm asking for help. I'm sorry not to be as expert as you are.

I apologize for be such an annoyance girl.

And, thank you very much for your help. I already changed what i wanted.

You can close this topic now.

Thank's

:)


Logged

Mikuzi

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Where do i change the default links or text on Foliage Theme?
« Reply #5 on: June 20, 2009, 05:55:46 am »

First, sorry for the double post...  :-\

[...]
And, thank you very much for your help. I already changed what i wanted.

You can close this topic now.

Thank's

:)

Ok... please don't close the topic yet... i thought i'd changed what i wanted, but no... i didn't.

I'm attaching the index.php file that i have...


And this is the template.html file ...

Code: [Select]
{META} {CUSTOM_HEADER}
Toggle Menu
{LOGIN_FORM}
{SUB_MENU}
{ADMIN_MENU} {GALLERY}
Fill me with meaningful content

"With the vanity, theme list and languange list & flags turned off, this is a large empty place. Add some thoughtful comments here."

{LANGUAGE_SELECT_FLAGS}
{LANGUAGE_SELECT_LIST}{THEME_SELECT_LIST}
{VANITY}
Wordpress Theme Design by Derek Punsalan -- Theme Ported to CPG by Billy Bullock
Modpack version by Thomas Lange (Stramm) -- Top

{CUSTOM_FOOTER}

Would anybody tell me, please, where do i change the "welcome text" and stuff?

I really don't know almost anything about codes (and my native language is spanish...so you see... i understand half of it)


Please... anybody?


Thank you.
 :'(

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Where do i change the default links or text on Foliage Theme?
« Reply #6 on: June 21, 2009, 09:36:37 am »

Use a plain text editor to edit the source of the template file, not the output.
Logged

Mikuzi

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Where do i change the default links or text on Foliage Theme?
« Reply #7 on: July 08, 2009, 01:17:07 am »

Thank you.

 :)
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.