Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
Problem with Permalinks
Posted: 01 February 2007 11:16 PM   [ Ignore ]  
Summer Student
Total Posts:  2
Joined  2007-01-17

Good Evening,

I am working on a project for a nonprofit and using pmachine. 
I am having a problem with all permalinks not showing…
here are a few pages with permalink issues for you to view:

http://www.nonprofitadvisinggroup.com/issues.php
http://www.nonprofitadvisinggroup.com/archivesfundraising.php

When you click the link (title) it links to this:
http://www.nonprofitadvisinggroup.com/%&#xwe;blog_permalink%%

so it is not going to an actual page.

Thank you in advance for any help!

Renee

Profile
 
 
Posted: 02 February 2007 05:43 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12231
Joined  2002-04-29

First things first. While you can use pMachine PRO for this project, you’re much better served by using EECore instead. pMachine PRO is no longer being updated. The number of people that know how to use pMachine PRO are limited.

What does the permalink look like?

Here’s an example that works:

<p><a href="% % weblog_permalink%%">Permalink</a></p>

(You’d need to not have a space between the two % % values.)

Edit: See this screen shot.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
 
 
Posted: 02 February 2007 11:55 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  2
Joined  2007-01-17

I attempted EE, but I was semi-familiar with pmachine and I liked the pblock function with pmachine that I couldnt find with EE…I felt I was in way over my head!

But now that this site is almost finished, let me get this one fixed with PM unless there really are big problems and then I will attempt looking at EE again-if you could point me to how to use the pblock function in EE I would appreciate it!

alright so here it is:

Here is my code for the page that I want to show archives:

<?php include(“pm_inc.php”); ?>

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”

“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” xml:lang=“en” lang=“en”>
<head>


<title>nag</title>
<meta name=“keywords” content=“”>
<meta name=“Description” content=“”>
<link rel=“stylesheet” type=“text/css” href=“http://www.nonprofitadvisinggroup.org/style.css”></style>
include(“vital/headeree.php”);</script>
<table align=“center” border=“0” cellpadding=“10” cellspacing=“0” width=“700”>
<tr>
<td width=“525” valign=“top”>
<h2>Archives</h2>
<?php weblog_headlines_alt(“weblog”,“1”,“50”,“issue”); ?>
</td>
<td width=“175” valign=“top”>
include(“vital/leftnav.php”);</script>
</td></tr></table>
include(“vital/footer.php”);</script>
</body>
</html>

Now here is what I have in the PM template for headlines alt:

a href=“%&#xwe;blog_permalink%%“>%&#xti;tle%%</a><br />


but if you go to the actual page:
http://www.serenityhousemaine.org/nonprofitadvisinggroup/issues.php
and try to click that first issue link, it doesnt link to the real permalink, it links to here:

http://www.nonprofitadvisinggroup.com/%&#xwe;blog_permalink%%


Thank you for your help!

Profile
 
 
Posted: 03 February 2007 05:47 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12231
Joined  2002-04-29

In my basic pMachine install, I can’t replicate your problem.

My changes were made to the weblog - Entries template. If you use the weblog.php page, does that work (the one out of the box)

As far as pBlocks are concerned, EE uses global variables. Instead of PHP includes you use embeds.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 64434 Total Logged-in Users: 0
Total Topics: 80889 Total Anonymous Users: 0
Total Replies: 435383 Total Guests: 18
Total Posts: 516272    
Members ( View Memberlist )
Newest Members:  jstewMizoBobbyBDan HessMateus SouzagiusiMolideverbeeldingnana2007soundseller
Active Members: