I need two things to workout before i launch my new website

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

I need two things to workout before i launch my new website

Postby Hrvoje » Sat Nov 24, 2007 10:05 am

Ok hello fellow coranto fans :)

This is how the link NOW looks on my web site, i use Maginot Static... latest build:

1.

http://www.mywebsite.com/clanak/Odje263a_je_zelena.php

this '263' is generated for the letter 'ć' (Odjeća_je_zelena.php), however i'd like these characters to be converted to regular 'c' (Odjeca_je_zelena.php)

and last one

2.

If i have two identically same titles, Maginot overwrites the old article, for exapmple
http://www.mywebsite.com/clanak/Goal_is_scored.php was put online on 22 October

and the new , same title has been put on the 23 October, http://www.mywebsite.com/clanak/Goal_is_scored.php now the one from 22 October is overwrited and not available ...

Hopefully someone can help me through these two, i hope minor problems..

thank you guys in advance!
Hrvoje
 
Posts: 182
Joined: Thu Mar 22, 2007 12:35 pm

Postby BJv » Sat Nov 24, 2007 6:47 pm

1. I can't really help you with question one. The only thing I could think of is that you could add a new newsfield to manually enter the url you want to use for the file.

2. You could edit the maginot static profile to create the files at different paths based on the date by using date fields.

For example:
http://www.mywebsite.com/clanak/2007/10 ... scored.php
and
http://www.mywebsite.com/clanak/2007/10 ... scored.php

like yourpath/<Field: Year>/<Field: TwoDigitMonth>/<Field: TwoDigitDay>/

Code: Select all
<Field: ...>

Year
TwoDigitYear
Month_Name
Month_Day
Month_Number
TwoDigitMonth
Weekday
Day
TwoDigitDay
Hour
TwoDigitHour
Minute
Second
AMPM
Time_Zone
BJv
 
Posts: 26
Joined: Fri Jan 26, 2007 4:52 pm

Postby Hrvoje » Mon Nov 26, 2007 4:34 am

wow thanks alot!
Hrvoje
 
Posts: 182
Joined: Thu Mar 22, 2007 12:35 pm

Postby Musicvid » Tue Nov 27, 2007 3:26 am

As a solution for your Question #1, I'm sure the code for my sub replace1252 can be easily adapted to your needs (you'll have to come with your own character references and substitutions depending on your local language and encoding): http://coranto.org/forum/viewtopic.php?t=10023
Musicvid
 
Posts: 138
Joined: Wed Jan 17, 2007 1:05 am
Location: Western America

Postby Hrvoje » Sun Dec 02, 2007 2:47 am

BJv wrote:1. I can't really help you with question one. The only thing I could think of is that you could add a new newsfield to manually enter the url you want to use for the file.

2. You could edit the maginot static profile to create the files at different paths based on the date by using date fields.

For example:
http://www.mywebsite.com/clanak/2007/10 ... scored.php
and
http://www.mywebsite.com/clanak/2007/10 ... scored.php

like yourpath/<Field: Year>/<Field: TwoDigitMonth>/<Field: TwoDigitDay>/

Code: Select all
<Field: ...>

Year
TwoDigitYear
Month_Name
Month_Day
Month_Number
TwoDigitMonth
Weekday
Day
TwoDigitDay
Hour
TwoDigitHour
Minute
Second
AMPM
Time_Zone


wait wait...in part2 what EXACTLY i need to do please tell me...
Hrvoje
 
Posts: 182
Joined: Thu Mar 22, 2007 12:35 pm


Return to Customization

Who is online

Users browsing this forum: No registered users and 1 guest

cron