Fermé

TWIG templates needed

I need an existing website rebuilt. We have a small template driven site already but er are moving to a new sustem and need Twig templates built duplicating the existing design.

This is for the site at http://www.realestatechannel.ca/.

There are approximately 50 template files which already exist ( sample is included here) in a Visual Studio/perl format. The project is to convert these files into Twig format, which will involve changing any logic (foreach) into twig style and replacing variable inserts into twig style. For example, the original template looks like this:

<div id="profile_right">
[% IF lcount > 0 %]
<table class="t_result" border="0" cellspacing="1" cellpadding="10">
<thead>
<td colspan="6" style="background-color:#c2d0d3;">
<img src="/static/images/selection_arrow.png">
&nbsp;&nbsp;
<a href="#" id="send_several"><img src="/static/images/btn_send_selected_friend.png" border="0"> </a>
<!-- <a href="#"><img src="/static/images/btn_print_items.png" border="0"> </a> //-->
<a href="#" id="prof_del"><img src="/static/images/btn_remove_items.png" border="0"></a>
</td>
</thead>
[% FOREACH listing IN listings %]
[% IF listing.id %]
<tr id="r_[% listing.id %]">
<td><input class="element" type="checkbox" value="[% listing.id %]"></input></td>
<td><a href="/listing/[% listing.id %]/[% c.stripurl(listing.address) %]/[% c.stripurl(listing.agent.name) %]">[% listing.address %]</a></td>
<td>[% listing.bathrooms | remove('.0') %] [% c.loc("bathroom(s)") %]</td>
<td>[% listing.bedrooms | remove('.0') %] [% c.loc("bedroom(s)") %]</td>
<td>[% listing.sqft %] [% c.loc("sqft.") %]</td>
<td>$[% listing.price | comma %].00</td>
</tr>
[% END %]
[% END %]
</table>
[% ELSE %]<h2>[% c.loc("You haven't saved any listings") %]</h2>
<p>[% c.loc("To save a listing click the "Save This Listing" button at the top of a listings page.") %]</p>[% END %]
</div>


Logic changes would be going from:
[% FOREACH listing IN listings %]
to
{% foreach listing in listings %}

and twig style variables, changing
{{ listing.id }}

Much of this will be simple search/replace but then verifying it was done correctly and testing the files . Also the include statements need to be reworked so that they extend correctly for a Twig environment.

Compétences : CSS, Drupal, HTML, PHP, Design de site internet

en voir plus : work needed templates, moving blogger site full website, joomla template editor existing templates, built webdesign service webcams site, job needed templates, design project management site templates, moving company homepage design, needed templates, moving company web design

Concernant l'employeur :
( 1 commentaire ) Austin, United States

Nº du projet : #8479439

7 freelance font une offre moyenne de $234 pour ce travail

crea8ivedesign

thanks for consider crea8ivedesign Proposal please view following links for portfolio [login to view URL] [login to view URL] Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 8 jours
(333 Commentaires)
7.9
akash9958

A proposal has not yet been provided

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 15 jours
(124 Commentaires)
6.7
raju51279

Hi, Thanks for allowing us to place proposal in your project. We have gone through your project details. We are confident about the project .We have developed more than 6769 sites. Please check our recent works htt Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 12 jours
(156 Commentaires)
7.2
mikeblane

Warm Regards, Talk to Drupal experts, bet you won't regret your time,I am pleased to inform you that your PR matches our expertise who own all the right credentials to execute this job in a very proficient way with a Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(63 Commentaires)
6.6
deziner313

Let’s start for the Dezine Elegancy! We are ready for your project!!! Please check our portfolio in the provided link. [login to view URL] Deziner 313 is an innovative studio specialized in Graphic Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(73 Commentaires)
5.9
chiragbudhb

I have more than 10 years of experience in PHP and open source, also have experience of handling complex project and I'm very much confident that I will able to manage this project. Please give chance to prove myself.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(28 Commentaires)
5.7
shreyanshinfotec

I have been successfully delivering PHP projects through this site for over a year and having the total software experience of over 6 years. Please feel free to go through the positive reviews I have received so far. Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(15 Commentaires)
4.6
itwebworld

Respected sir > , VI World is Indian base company. You can see our work at [login to view URL] or in portfolio section. We provide best solution in low cost . So we want to discuss about your requirement. If you shor Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(46 Commentaires)
4.2