Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4282
Latest: Eric87
New This Month: 7
New This Week: 1
New Today: 1
Stats
Total Posts: 43660
Total Topics: 7574
Most Online Today: 89
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 74
Total: 74

Author Topic: Editing main template  (Read 4848 times)

0 Members and 1 Guest are viewing this topic.

Offline maritimer

  • Bad Emails DO NOT EMAIL
  • 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: 16617
    • 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

  • Bad Emails DO NOT EMAIL
  • 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
10288 Views
Last post September 10, 2007, 01:35:48 am
by klabautermann
2 Replies
6107 Views
Last post February 18, 2008, 11:41:37 pm
by thekid
1 Replies
4752 Views
Last post December 13, 2011, 09:01:56 am
by SMFHacks
7 Replies
8715 Views
Last post November 05, 2016, 06:38:32 pm
by SMFHacks
4 Replies
2468 Views
Last post March 09, 2017, 02:33:03 pm
by tank_fv101

+- Recent Topics

Do you offer paid assistance with the SMFBlog mod? by Grammy
February 11, 2025, 02:58:04 pm

SMFBlog Mod by Grammy
February 10, 2025, 07:33:32 pm

[Mod]Bluesky Auto Embed by SMFHacks
January 30, 2025, 01:47:36 pm

Delete a Picture from Trash - Error by SMFHacks
January 29, 2025, 09:06:38 pm

RESOLVED: Store Not Logging Transactions or Sending Emails by SMFHacks
January 23, 2025, 06:24:27 pm

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
January 22, 2025, 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Powered by EzPortal