I have an HTML box/div in the header on my pages. The one on the home page will have the Scripty Fader action applied, but on the child pages, I would like to just have those same divs load randomly, no fading action on it. I can’t figure out how to do that without making the text and the image all an image and then using the random image action.
Oy, you’re right. It looks … daunting. I don’t need to make the .inc files, though, if I’m just using content from FW, correct?
I have my Random Include on one page. Then I have three pages with that same size div and the content I want to include. I have selected the three pages in the action.
What does weight do? What is the PHP variable $? I can’t find any specific instructions.
It’s not working for me right now. Do all the pages need to be .php? I’ve tried .php, .html and .inc on the include pages, but I’m getting a parse error no matter what. Of course, I don’t have the PHP variable filled in and all the weights are set at 1.
Also, when I first installed the action and opened Freeway, I got a couple of error messages that said:
DUPLICATE PARAMETER NAME. The following parameters have the same name within a single Action. The last parameter will be ignored.
Parameter: “URL 9”, Action: “PHP Random Include”.
UNEXPECTED END-TAG. The following end-tags were not expected.
Tag: “/action-javascript” Action: “”, File: “Macintosh HD:Users:webflunky:Library:Application Support:Freeway 5:Actions:General:PHP Random Include.fwaction”.
Tag: “/action” Action: “”, File: “Macintosh HD:Users:webflunky:Library:Application Support:Freeway 5:Actions:General:PHP Random Include.fwaction”.
I have my Random Include on home page.Three pages with content I want to include. I have selected the three pages in the action added the name of the home page div in the variable field.
On the three content pages, I added the PHP Make Insert Page action to remove everything but the content. I still get the same Parser Error message. I tried naming the three pages with .html, then with .php, then with .inc at the end, but none work.
There’s a text encoding problem with this Action, it’s missing a lot of a’s throughout. I’m looking through it now, and should have an updated version in a few moments.
Walter
On Feb 8, 2012, at 10:47 AM, Robin Stark wrote:
The Parse Error message said:
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/belclub/public_html/test/index.php on line 47
I looked at line 46 and it said:
$pjdUrls = rray(0 => urls );
So, I added an ‘a’ in front of ‘rray’ and now I get a whole new bunch of messages.