A simple way for the client to change a link on a page?

Could there be a simple way for a client of mine to enter a certain page on his site to change 2 links (preferable a graphics box, but also a html will do) pointing to an external site from time to time? Server side includes? If so, is there an action for that in Freeay these days? Or something more easy?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You could use SSI but that would require file uploads etc. Pulse gives you a web based interface that even the most basic user could manage.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you, David. Pulse could be a good solution. I went into their site and had a look around. I didn’t find anything on changing links, though. Once set up do you know if that is as easy for the client as the rest? Good to know before I download it…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Almost all of these micro CMS products offer the ability to load “WYSIWYG” (What You See Is What You Get) editors for page editing. A page generated by one of them would be entirely editable (or only portions would be – most are very configurable). The client would look at the editable parts in a browser, and either use a visual editing style or a code-based one, depending on their comfort with either, to edit the content of those areas. Links are just another type of content.

Now if you’re trying to offer your client a simplified way to present the “three links of the day” or something like that, the whole business of being able to edit the entire page may be too heavy a solution. You may want to do something custom and specific to the client’s needs and abilities. There may be a way to have a Google Doc or similar as a data source, maybe a spreadsheet with the first column as the URL and the next as the text for the link. Or a simple text file uploaded to a particular folder on the server, if your client is more technical and wants a very quick solution.

Tell us more about what your specific goals are, maybe there’s a way to go that will serve your client’s needs.

Walter

On Aug 31, 2012, at 4:06 AM, Jon wrote:

Thank you, David. Pulse could be a good solution. I went into their site and had a look around. I didn’t find anything on changing links, though. Once set up do you know if that is as easy for the client as the rest? Good to know before I download it…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

As a side note I created a set of Actions a while ago that worked with Google Docs to make a “poor man’s CMS”;
http://www.freewayactions.com/test/cms/google-docs-cms/

Sadly Google changed the way they published public documents and the PHP the Actions used stopped working.

You can still see the original Google Docs for the side bar;
https://docs.google.com/document/vieworiginal?id=1PKW7ZaK_dorMb-cRgmhOK5UcFiKcy3iHpaN3FlnOj8M&token=AC4w5Vh8eAsVbfS9I8xGKg_njAhdIx6HAA%3A1346109191000

intro text;
https://docs.google.com/document/vieworiginal?id=1-1AhSCytkdn1MntQgvH02UVNULl49rNapjliR14vHj8&token=AC4w5Vh8eAsVbfS9I8xGKg_njAhdIx6HAA%3A1346109191000

and gallery images;
https://docs.google.com/document/vieworiginal?id=1Wr5G9jgkW6kvYXSWG2BiwpZ-ymk3JZ8x6ucSsBUZYV0&token=AC4w5Vh8eAsVbfS9I8xGKg_njAhdIx6HAA%3A1346109191000

The idea was is that you can create a page in Google Docs, make it public and then incorporate these pages as blocks into your Freeway pages. If anyone is interested in this let me know and I’ll see if I can rewrite the code to suit the new Google Docs format.
Regards,
Tim.

On 31 Aug 2012, at 15:30, Walter Lee Davis wrote:

There may be a way to have a Google Doc or similar as a data source, maybe a spreadsheet with the first column as the URL and the next as the text for the link.


Experienced Freeway designer for hire - http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Wouldn’t something like an include work? Client could edit a text file that
is imported into the target page location?


Ernie Simpson


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sure, but that presumes a level of fluency with HTML, otherwise you’re potentially opening up your layout to the vagaries of MS Word or similar.

If you really only want a list of links, you could use something like this as your source:

//in a text file
http:link.one.dom/page.html Here's the fabulous link text
http:link.two.dom/page.html Here's more fabulous link text
http:link.three.dom/page.html Here's even more fabulous link text

The key is that the link goes first (and contains no spaces, right – it’s a URL, so it can’t have any spaces in it), followed by anything else you want until the end of the line as the link text. That file gets store somewhere safe, outside of the Web root, and you can then read it into your page very simply:

//in your .php page
<ul>
<?php
$data = file_get_contents('/path/to/your/data.txt');
$data = preg_split('/[rn]+/', $data, -1, PREG_SPLIT_NO_EMPTY);
foreach($data as $datum){
	$parts = preg_split('/s+/', $datum, -1, PREG_SPLIT_NO_EMPTY);
	$link = array_shift($parts);
	$text = implode(' ', $parts);
	echo '<li><a href="' . $link . '">' . $text . '</a></li>';
}
?>
</ul>

And that is seriously it. For bonus points, set up your client with a special FTP login/password that dumps her right into that data folder when she logs in.

Walter

On Aug 31, 2012, at 11:08 AM, Ernie Simpson wrote:

Wouldn’t something like an include work? Client could edit a text file that
is imported into the target page location?


Ernie Simpson


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The reason I didn’t suggest the includes route - which would certainly work - was that they would need to use a 3rd party FTP app to upload the file to a specific place.

Most clients would be happier if they just visited a page with their browser and made some simple text revisions.

With Pulse (and many others) you can set up a Pulse Block that could be just a small section of a web page and less likely for them to destroy things.

The other advantage is that they can get visual feedback straight away without having to upload again if they want to make an edit.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well, another idea (and this is my personal favorite) is to offer them a
low monthly fee to be their webmaster. They send you the edits, you make
and upload them. Done deal.


Ernie Simpson

On Fri, Aug 31, 2012 at 12:45 PM, DeltaDave email@hidden wrote:

The reason I didn’t suggest the includes route - which would certainly
work - was that they would need to use a 3rd party FTP app to upload the
file to a specific place.

Most clients would be happier if they just visited a page with their
browser and made some simple text revisions.

With Pulse (and many others) you can set up a Pulse Block that could be
just a small section of a web page and less likely for them to destroy
things.

The other advantage is that they can get visual feedback straight away
without having to upload again if they want to make an edit.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

offer them a low monthly fee to be their webmaster

I am all for that one!

Here is a quick example using Pulse pulsecms.com

http://www.deltadesign.co/pulsepage.php

Log in at http://www.deltadesign.co/pulsetest with the password pulsetest

Click on the Block ‘Test13’ to edit it - it is as simple as typing your text, selecting it and then use the Globe linking tool to apply the link.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hey Dave,

Which RTE does Pulse use in your example?

Todd
http://xiiro.com

DeltaDave mailto:email@hidden
August 31, 2012 12:23 PM

Click on the Block ‘Test13’ to edit it - it is as simple as typing
your text, selecting it and then use the Globe linking tool to apply
the link.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Which RTE does Pulse use in your example?

CKEditor in that one Todd

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you all, for suggestions and help. Very useful.

I will specify the need in this special case: The page will have 2 pictures, each of which will be a link to an external page. The pictures do not have to be changed, but the client wants to change the links from time to time.

That’s all, folks. The client is not too familiar with html and just would prefer to go in himself and do the change. I suppose Pulse is the best option. Anybody has any experience with Cushy, a free option, which I just found when browsing the different possibilities?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Revisit the example - a simple image linked via Pulse

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks, Dave. It has been a long learning day.

I understand Pulse has a 25$ tag. With my small problem I thought I’d try a free app, which was Cushy as mentioned above. It worked perfectly for what I wanted and has quite a lot of features in their free version.

For anybody interested: http://www.cushycms.com/en


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

So I got it to work. But when I do any changes in Freeway and upload I suppose the changes done by the client will be overwritten. How do I get around that one?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I just took a quick look at the Pulse documentation, and it doesn’t seem like that’s going to be a problem. The data edited by Pulse is stored in text files in the Pulse Data folder. The only modification to your site is to make a little blob of PHP in the location where the editable content is supposed to appear, and as long as you don’t alter that (i.e.: as long as you add it in Freeway, and not in a text editor) any changes you make to the Freeway design will be reflected in the finished site without any loss of content.

Walter

On Sep 3, 2012, at 12:35 PM, Jon wrote:

So I got it to work. But when I do any changes in Freeway and upload I suppose the changes done by the client will be overwritten. How do I get around that one?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you, Walter. I used Cushy but I suppose it’s the same principles as with Pulse.

But could you please elaborate on “a little blob of PHP”?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I don’t see the documentation at the Cushy site (probably have to register to see it) but on Pulse’s site, they show you how to replace a block of HTML on your page with a Pulse-generated content area like this:

<php include('pulsepro/data/blocks/About.html'); ?>

To add that to your page in place of some normal content, you would simply click inside of the HTML box where you want the code to go, and insert a Markup Item with that code. (Actually, I would use an instance of the CrowBar Action, because that will remove the surrounding P tags that Freeway will ordinarily use to wrap the Markup Item. There are also some Paragraph Removal Actions in the Forge, too.)

Walter

On Sep 3, 2012, at 1:34 PM, Jon wrote:

Thank you, Walter. I used Cushy but I suppose it’s the same principles as with Pulse.

But could you please elaborate on “a little blob of PHP”?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Great, I’ll try it out tomorrow!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options