You are here:  » html stored ?


html stored ?

Submitted by alecs on Wed, 2011-08-24 17:12 in

hi david ...

in witch file is the html stored if i click "save changes" ?

Submitted by support on Wed, 2011-08-24 17:21

Hi alecs,

It's actually in the database rather than stored in files.

Before publishing any major update to the BETA or moving to version "1" i'll create an export / import tool for saving settings...

Cheers,
David

Submitted by alecs on Wed, 2011-08-24 17:39

mh ... a flatfile that stores the html would be better for a liquid working with the html code.
to open a file in dreamweaver, change, upload and reload the page makes working faster than
"save changes", scrolling, searching for the field, searching for the row ... know what i mean ?

cheers
alecs

Submitted by support on Wed, 2011-08-24 17:52

Thanks alecs,

I was see-sawing both ways during development as to what would be the most straight forward way to allow HTML flexibility without too many conditional installation requirements (e.g. writeable folders etc.). Thanks for the feedback, perhaps a /pto/html/ folder akin to a standalone Price Tapestry installation would be more approporiate;

Cheers,
David.

Submitted by andydarley on Tue, 2011-08-30 22:20

Not saying a folder with HTML files isn't a good idea for those who want it, but if you do much work in WordPress then you pretty soon get used to tweaking template files and suchlike via the WP interface. So I'd be really sorry to see those edit boxes disappear. Something like the 'edit theme files' and 'edit plugin files' interfaces would probably be best if it's do-able for you - those offer a way of editing flat files via WordPress, so hopefully everyone's happy.

Submitted by support on Wed, 2011-08-31 07:22

Thanks Andy!

Submitted by michaelpblythe on Mon, 2011-12-26 10:19

Hope everyone had a great xmas!

Following on from the HTML query, can someone please confirm where in the database I can make the changes to 'Visit Store' I'd like to use a gif instead of text hyperlink.

Regards,

Michael

Submitted by support on Mon, 2011-12-26 22:32

Hello Michael,

Great Christmas thanks! Hope so likewise.

Since all HTML generated by the plugin is controlled by the HTML templates in wp-admin > Settings > PriceTapestry.org; you can simply make changes to the HTML as required. In this case, scroll down to HTML > Prices / Each, and here you will find this line:

<td><a href='%BUY_URL%'><nobr>Visit Store</nobr></a></td>

...REPLACE the above with:

<td><a href='%BUY_URL%'><nobr><img border='0' src='/visitstore.gif' /></nobr></a></td>

The above will load the image /visitstore.gif from the top level folder of your website - if you upload the image to a subdirectory, e.g. /images/ simply adjust as appropriate (or if you're using a slightly different image filename) e.g. /images/visitstore.gif

Cheers,
David.
--
PriceTapestry.com

Submitted by michaelpblythe on Wed, 2011-12-28 14:49

Fantastic, sorted. Have to say David, the plugin is great (touch wood) no issues to report of.

Regards,

Michael