News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Fantasy

Started by TechnoDragon, April 12, 2006, 02:11:57 PM

Previous topic - Next topic

TechnoDragon

Link to the theme


This theme was designed for the RPGer in mind.  Fantasy graphics, colors to match.  Even a total button set redo.
Don't tell me to get into shape...I have a shape...It is round!


TechnoDragon

Don't tell me to get into shape...I have a shape...It is round!


TechnoDragon

I have updated this theme to work for SMF RC3!  You can check out a demo at

http://golddragonhosting.com/smf/index.php?theme=10

and the new place to get the TP version is http://dragontalk.net
Don't tell me to get into shape...I have a shape...It is round!


indigotwilight

Hi, I am using your theme as a default on a forum for new authors and artists. As a result, I tried to install the SMF gallery and noticed the link was missing in the buttons at the top. I managed to enter this manually into index.template.php without too much problem, however now - instead of gallery appearing neatly in the row - a new 'button graphic' appears in the top left hand corner.

Can you tell me how to get the gallery link into the same row as "home, help, search, profile ...' etc?

Once I'm fully confident with php programming (I'm still learning) I'll more than likely start developing my own themes in the future.   :-)


Twilight

I write what I dream - through my writing my dreams come true

TechnoDragon

First, in the index.template.php page look for:
// find the action
if(isset($_GET['action']))
{ if (in_array($_GET['action'],array(


that is a list of actions for the theme...in that array, make sure you add gallery as an action...
then below that look for:
// The [calendar]!
if ($context['allow_calendar'])
echo $tab1, $ca== 'calendar' ? '1' : '2' , '"><a href="', $scripturl, '?action=calendar">'.$txt['calendar24']. '</a></td>';

and then add this code after it...
// How about the [Gallery] button?
if ($context['user']['is_logged'])
echo $tab1, $ca== 'gallery' ? '1' : '2' , '"><a href="', $scripturl, '?action=gallery">Gallery</a></td>';


That should fix the problem you have...if not let me know
Don't tell me to get into shape...I have a shape...It is round!


indigotwilight

Fantastic, it works! Thanks for the tip... I just forgot to add 'gallery' to the array.

Twi
I write what I dream - through my writing my dreams come true

TechnoDragon

Anytime i can be of help!
Don't tell me to get into shape...I have a shape...It is round!


Advertisement: