Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 179
Total: 179

Author Topic: Editing main template  (Read 4707 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: 16436
    • 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
10083 Views
Last post September 10, 2007, 01:35:48 am
by klabautermann
2 Replies
5986 Views
Last post February 18, 2008, 11:41:37 pm
by thekid
1 Replies
4567 Views
Last post December 13, 2011, 09:01:56 am
by SMFHacks
7 Replies
8345 Views
Last post November 05, 2016, 06:38:32 pm
by SMFHacks
4 Replies
2274 Views
Last post March 09, 2017, 02:33:03 pm
by tank_fv101

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal