[imc-uk-tech] Problem with the changes to the publishing pages
mish at aktivix.org
mish at aktivix.org
Sun Feb 26 05:01:20 PST 2006
> We need to add back the ability to choose the number of
> media items on the publishing form because at the moment
> the regional publishing links result in a publishing form
> with the ability to only add one media item (apart from
> the Notts and Cam ones which now have their own
> pre-publish pages).
Ooops - should have thought of that one :-/
> As an alternative we could generate prepublising pages for
> all regional etc but I think this would be quite a lot of
> work for someone...
Shouldn't be too much work (famous last words). The prepublish pages aer just
static pages, so you should be able to copy the cambridge page into a text
file, and then just create the prepublish pages. You'd need to change the
regional id. The following line appears once for each button
<input type="hidden" name="to_region" value="9"/>
So change the 9 to the region value. Also change
<input type="hidden" name="sessiontype" value="cambridgearticle"/>
to have a value of "article" not "cambridgearticle"
Then we just need to go through the templates and change the publish link to
point to href="/en/regions/REGIONNAME/static/prepublish.html" for every
region.
OK, maybe it is a little bit of work. I can't do it today, so feel free to beat
me to it :) but if not I'll do all that tomorrow.
Sorry everyone
Hamish
> We can't link all regional publishing links to the UK
> publishing page because then the regional topics won't be
> preselected.
>
> Chris
>
> --
> Aktivix -- Free Software for a Free World
> _______________________________________________
> imc-uk-tech mailing list
> imc-uk-tech at lists.indymedia.org
> http://lists.indymedia.org/mailman/listinfo/imc-uk-tech
>
More information about the imc-uk-tech
mailing list