I want to place a link on the Serendipity login page back to my site Home Page.
How do I do this?
Thanks
www.fieldtrial.info
Link to my site Home Page
Re: Link to my site Home Page
Hi
There should be one in serendipity_admin.php
<?php echo $out['footer']; ?>
<p id="serendipityBackToBlog"><a href="<?php echo $serendipity['serendipityHTTPPath']; ?>"><?php echo BACK_TO_BLOG;?></a></p>
Ian
There should be one in serendipity_admin.php
<?php echo $out['footer']; ?>
<p id="serendipityBackToBlog"><a href="<?php echo $serendipity['serendipityHTTPPath']; ?>"><?php echo BACK_TO_BLOG;?></a></p>
Ian
Re: Link to my site Home Page
Thanks Ian
I'm sorry if I have misunderstood!
My web site is www.fieldtrial.info and home page www.fieldtrial.info/index.html
I want to insert a link from Serendipity user login page back to my site home page.
Thanks
Tim
I'm sorry if I have misunderstood!
My web site is www.fieldtrial.info and home page www.fieldtrial.info/index.html
I want to insert a link from Serendipity user login page back to my site home page.
Thanks
Tim
Re: Link to my site Home Page
Got lost somewhere? I thought you already solved it.
just add this underneath the code I posted with or without the style part
Ian
just add this underneath the code I posted with or without the style part
Code: Select all
<p id="serendipityBackToBlog" style="float:right;"><a href="http://www.fieldtrial.info/">home</a></p>
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Link to my site Home Page
I'm going to go with a slightly different approach. You seem to be using the template serendipity 3.0. That template is in the folder /templates/carl_contest/.
Copy the file named /templates/default/admin/index.tpl to /templates/carl_contest/admin/.
Edit that file. Look for the following line:
Immediately below that line, add this line:
Downside to either of these recommendations is that if the master administration template is modified in the future, your custom version will not inherit those changes. You would also need to copy this modified /admin/index.tpl file to any other template should you decide to use a different template.
Other things to consider:
1) add a link to your home page from the blog sidebar instead.
2) consider using the template bulletproof, which has navigation built in (among numerous other options).
3) custom designing a template to look exactly like your home page.
Copy the file named /templates/default/admin/index.tpl to /templates/carl_contest/admin/.
Edit that file. Look for the following line:
Code: Select all
<p id="serendipityBackToBlog"><a href="{$serendipityHTTPPath}">{$CONST.BACK_TO_BLOG}</a></p>
Code: Select all
<p style="padding: 0 0 10px 10px"><a href="http://www.fieldtrial.info/">FieldTrial Home</a></p>
Other things to consider:
1) add a link to your home page from the blog sidebar instead.
2) consider using the template bulletproof, which has navigation built in (among numerous other options).
3) custom designing a template to look exactly like your home page.
=Don=
history of templating
As you are saying this, Don, I remembered carl_contest being serendipity 3.0, which is quite confusing.Don Chambers wrote:I'm going to go with a slightly different approach. You seem to be using the template serendipity 3.0. That template is in the folder /templates/carl_contest/.
If one is new to serendipity he/she/it ( ) doesn't know about the S9y history of templating, like the evolution default -> serendpity 2.0 -> carl_contest -> bulletproof. This is why people use serendipity 2.0 even in this days.
There are a lot of users out there not knowing all these things.
So I really do think it is worth to rename (or make a copy S2, S3, S4) these templates to simplest reveal their purpose on first sight.
Maybe we can spot this problem in the Upcoming Serendipity Features forum.
Ian