Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

A couple of things that I would like to request.


Reply


5 Posts   1665 Views

Avatar
Daisuke

Community Member, 8 Posts

28 July 2007 at 11:47am

Hello. I'm back to use SS :D

A few things I have noticed..
- a gif image turned to a still image after posting it in a page
- a global configuration page where I can change the site's name and input meta information.

and this is what i defintiely would like.
- a new url for pages in sub categories
eg) mysite.com/category1/sub-cat1/
At the moment i think ss allows only 1 category in depth?

thanks to the ss(super saiyan!) team!

Avatar
xmedeko

Community Member, 94 Posts

28 July 2007 at 4:41pm

>> a new url for pages in sub categories
>> eg) mysite.com/category1/sub-cat1/

IMHO it would be enough to have some prepositions, e.g. when creating a new Article 'XXX', then the URL would be like mysite.com/article-XXX

Avatar
Sam

Administrator, 685 Posts

30 July 2007 at 5:47am

xmedeko - good suggestion!

We could probably do this by moving the link generation to a separate function, eg generateLink(), that could then be overloaded on a class by class basis.

We could provide a function, unqiueSafeLink, that did all the requisite processing - so you didn't need to implement this yourself.

function generateLink() {
return $this->uniqueSafeLink('article-' . $this->Title);
}

xmedeko - does this sound like a suitably straightforward approach to you?

Avatar
xmedeko

Community Member, 94 Posts

30 July 2007 at 1:50pm

I think, that the Javascript has to be changed as well. If someone changes the title of the page, to change the URL like 'article-new-title' as well. Or do you think, is is better to show in the CMS just the 'new-title' part, but store URLSegment in the DB like 'article-new-title' ?

Avatar
Sam

Administrator, 685 Posts

9 August 2007 at 6:01pm

Potentially, we could do the link generation via ajax - this would let us check the URL for uniqueness as well, which it currently doesn't do until you save the page.