Help - Search - Members - Calendar
Full Version: Pieces of page in different directories?
Movable Type Community Forum > Additional Resources > Tips and Tricks
glacierlily
I am in the process of learning to skin my site.

The way I have set up my directories, the "footer" section is in a different directory than the main blog index.

However, in the footer section are my Recent Entries, and Categories. They are not working, presumably because they are in a different directory.

All that shows up is:
Recent Entries
<$MTEntryTitle$>

Is there a way to add something to this:
CODE
<div class="sidetitle">
Recent Entries
</div>
<div class="side">
<MTEntries lastn="10">
<a href="<$MTEntryLink$>"><$MTEntryTitle$></a><br />
</MTEntries>
to tell it what directory to find the MTBlogURL in?

Or, do I need to move everything back into the main directory?

Thanks in advance for your help.
kadyellebee
I'm a bit confused about what is broken.  If its just the links, then you can use
CODE
<$MTBlogArchiveURL$><$MTEntryLink$>
to get a full link to the archive pages smile.gif

If that doesn't help, maybe give us a few more details smile.gif

Kristine
girlie
The MT tags are showing up? How are you including that "footer" in those pages??
nolageek
I'm confused too.  Your data is in a database, not a directory... it doesn't matter what directory you put your files.  What do you mean when you say your footer is in a different directory?  Are you creating your footer as a module at the bottom of the Edit Templates page?
glacierlily
Sorry it took me so long to reply. Yes, I am trying to make the skins as done on Amy's Tutorial, and the instructions call for the footers to be in a separate directory... basically, you cut your page up into pieces for the skinning.

So, I have an index.php in the main dir, that calls the header and footer for each page from a different directory i.e., domain.com/nav/header1.php.... from the "nav" dir.

I did set up the header and footer php files (so far two for two skins) as template modules.

It calls up everything just fine except for the MTEntry stuff.

??  Am I messing up big time? ??

Should it all be in the same directory for the skinning to work on MT?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.