APF Bridge Demo And Development Site

APF Bridge Support Forum
Welcome, Guest
Please Login or Register.
Lost Password?
Using APF plugin huge text (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: Using APF plugin huge text

#178
aravot (User)
Junior Boarder
Posts: 6
graphgraph
Using APF plugin huge text 2006/12/29 03:02 Karma: 0  
Installed APF, setup everything, however I have one problem using apf plugin to dsiplay selected items the text are big see here http://www.armenianrugby.org/joomnik/index.php?option=com_content&task=view&id=6&Itemid=2

I want this look
http://www.deanmarshall.co.uk/demo/apf_bridge/content/view/19/34/

Any help is appreciated.
  The administrator has disabled public write access.
#179
Dean Marshall (Visitor)
Re:Using APF plugin huge text 2006/12/29 07:11  
I see an issue with the most recent version of MrRat's APF script.
I am working on a fix - but for now your best bet is to remove the <style>...</style> block from the <head>...</head> area of APF's page.template file.

You may consider moving the css into a new file - for example apf.css which you would need to link into your Joomla template's index.php file.

The text size is then controlled by either your Joomla template's css settings or your apf.css file if you choose to load it.

Hope that helps.

Dean

PS: Expect a new version of the bridge in the next week or two.
  The administrator has disabled public write access.
#180
aravot (User)
Junior Boarder
Posts: 6
graphgraph
Re:Using APF plugin huge text 2006/12/29 09:29 Karma: 0  
Thanks for replying, I removed <style>...</style> block no change, just to make sure I am not concern about the font size rather why duplicate listing.



The code I have {APF Action='ProductsInclude' ItemId='0312101686,1878818554,0767902548'}
  The administrator has disabled public write access.
#181
Dean Marshall (Visitor)
Re:Using APF plugin huge text 2006/12/29 10:28  
The top one is a title - supposedly for the page.
Looks like an issue on MrRat's end of things.
Looks like it is taking the title from the last product rather than from the page as a whole.

You might want to convert to an actual APF link and post details over at MrRat's site:
http://www.absolutefreebies.com/phpBB2/

amazon_products_feed?Operation=ItemLookup&ItemId=0312101686,1878818554,0767902548

Here is the same link directly on MrRat's test server.
http://www.mrrat.com/cgi-bin/apf4/amazon_products_feed.cgi?Operation=ItemLookup&ItemId=0312101686,1878818554,0767902548

The same issue is visible - so the issue lays at his door I am afraid.

Dean
  The administrator has disabled public write access.
#182
aravot (User)
Junior Boarder
Posts: 6
graphgraph
Re:Using APF plugin huge text 2006/12/29 21:44 Karma: 0  
Dean sorry to bug you, but how did you get it to work here http://www.deanmarshall.co.uk/demo/apf_bridge/content/view/19/34/ without double heading, I am using the same code.
  The administrator has disabled public write access.
#184
Dean Marshall (Visitor)
Re:Using APF plugin huge text 2006/12/30 05:59  
I use a new APF page.template in a folder:
<apf store>/templates/include/page.template

and in that folder I don't have the title %%template_variable%% set to show.

In fact my /templates/include/page.template literally contained ONLY the following line:

Code:

 %%products_html%%



Of course mosAPF has to be set to use the /templates/include/ APF template.

Dean
  The administrator has disabled public write access.
#186
aravot (User)
Junior Boarder
Posts: 6
graphgraph
Re:Using APF plugin huge text 2006/12/30 07:17 Karma: 0  
Dean Marshall wrote:
Of course mosAPF has to be set to use the /templates/include/ APF template.

I'll wait for the new mosAPF plugin as the one I have mosAPF_0.5b3 seems not to be functioning properly, doesn’t change template.

Did you receive my email?
  The administrator has disabled public write access.
#191
sacha (Visitor)
Re:Using APF plugin huge text 2007/01/21 11:16  
hi

I can confirm what he's saying here ... but I have a bit more information.

editing "page.template" does change the formatting on the individual product page (detail page showing just one book)

but when we try to do the example shown as "hand picked list"... nothing we do seems to override the template that is being used to display the results. So it seems not possible to delete the store header using this list option, as this user wanted to do.

is it possible that the handpicked list option is somehow using a different template? seems unlikely but...

sacha
  The administrator has disabled public write access.
#194
Dean (Visitor)
Re:Using APF plugin huge text 2007/02/04 07:59  
Hi Sacha,

I think I just replied to you over in MrRat's forums too - but for anyone else passing by this way allow me to clarify a couple of things.

1. That mambot uses an addition template within the APF /templates/ folder. I generally call mine /templates/include/page.template and it is literally only the text %%products_html%%

You will need to create the /templates/include/ folder yourself and also create the new page.template file.

2. The APF Bridge component AND the mambot - which effectively creates a query and passes it off to the component cache the results (the full page returned) in the Joomla cache folder which by default is /cache/

Items are only cached for a relatively short period though - I think 1 hour by default.

From the Mambot's configuration screen:
Code:

          <param name="templates" type="text" default="include" label="APF Template" description="The name of the APF template to use when 'including' pages. Please ensure that you create the  required template set in a sub-folder under the apf/templates/ folder" />         <param name="cache_folder" type="text" default="cache" label="mosAPF Cache Folder" description="folder under Joomla root in which this bot can store APF data" />         <param name="cache_duration" type="text" default="12" label="Cache duration" description="The number of hours that store content should be cached - default = 12 hours" />     </params>



Hope that makes some sense.
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
© Copyright 2007 Best of Joomla, Powered by FireBoardget the latest posts directly to your desktop

Bulletproof Themes Bulletproof Themes UK Dean Marshall Mambo and Joomla Consultant | Joomla and Mambo consultants Joomla Amazon Component British English crossword and anagram solver British English crossword and anagram solver Professional Researcher Professional Researcher
The JoomlaSphere | The JoomlaSphere | The JoomlaSphere | The JoomlaSphere JoomlaMonkey | JoomlaMonkey | UK Joomla Consultancy Services Joomla Consultancy Services UK Joomla Consultancy Services Joomla Consultancy Services
Buy gifts for women UK Buy gifts for men UK find gifts for men UK Buy gifts for women UK Buy gadgets Buy gifts for gays UK Buy gifts for gays UK Buy toys in the UK
The Mambo Foundation Mambo Tracker Mambo Foundation Membership Mambo Foundation Home Download The Source Forum Donate Newsroom Mambo Love Mambo Documentation Alternative documentation Software Forge Bug Tracker SVN Instructions Mambo on the Forge Joint Commercial Developers Extensions for Joomla and Mambo Amazon Products Feed Bridge Joomla Amazon Components - Amazon Products Feed Bridge Million Dollar Pet Pix - Make your pet a star