Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 43301
Total Topics: 7525
Most Online Today: 102
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 73
Total: 73

Author Topic: Editing main template  (Read 4735 times)

0 Members and 1 Guest are viewing this topic.

Offline maritimer

  • Member
  • *
  • Posts: 5
    • View Profile
Editing main template
« on: January 22, 2007, 11:14:57 am »
Hi all,

I want to add a div box at the top of the main gallery template in place of the h2 header `gallery` title.

I`m not sure what template to edit, or where abouts I need to insert the div class. I tried inserting into.

I figured I would place it in the gallery.template (default theme) just above the...
Quote
<div align="right"><a href="' . $scripturl . '?action=gallery;sa=myimages;u=' . $ID_MEMBER . '">' . $txt['gallery_text_myimages'] . '</a>&nbsp;<a href="' . $scripturl . '?action=gallery;sa=search">' . $txt['gallery_text_search'] . '</a></div>';

But trying that, nothing shows up. I`m using a custom skin by the way :)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16455
    • View Profile
Re: Editing main template
« Reply #1 on: January 23, 2007, 09:59:17 am »
Open Gallery.template.php
Find
Code: [Select]
echo '<h1 align="center">' . $txt['gallery_text_title'] .'</h1>';
And change it to how you want it shown.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline maritimer

  • Member
  • *
  • Posts: 5
    • View Profile
Re: Editing main template
« Reply #2 on: January 25, 2007, 11:32:24 pm »
Open Gallery.template.php
Find
Code: [Select]
echo '<h1 align="center">' . $txt['gallery_text_title'] .'</h1>';
And change it to how you want it shown.

That`s not on my gallery.template file.

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
10139 Views
Last post September 10, 2007, 01:35:48 am
by klabautermann
2 Replies
6012 Views
Last post February 18, 2008, 11:41:37 pm
by thekid
1 Replies
4608 Views
Last post December 13, 2011, 09:01:56 am
by SMFHacks
7 Replies
8398 Views
Last post November 05, 2016, 06:38:32 pm
by SMFHacks
4 Replies
2322 Views
Last post March 09, 2017, 02:33:03 pm
by tank_fv101

+- Recent Topics

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

Powered by EzPortal