[Solved]: Where do i change the default links or text on Foliage Theme? [Solved]: Where do i change the default links or text on Foliage Theme?
 

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

[Solved]: Where do i change the default links or text on Foliage Theme?

Started by Mikuzi, June 18, 2009, 07:38:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mikuzi

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.

Joachim Müller

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

Mikuzi

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.

Joachim Müller

Quote from: Mikuzi on June 18, 2009, 08:34:49 PM
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:<!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. ::)

Mikuzi

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

:)



Mikuzi

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

Quote from: Mikuzi on June 20, 2009, 01:32:35 AM
[...]
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 ...

{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.
:'(


Joachim Müller

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