Friday, December 28, 2012

Re: Help please with "Guestflo" widget

This really isn't a cakephp problem.  Someone built a cms on top of cakephp and you are relaying heavily on that.  In order to add this new, from what I can understand from the initial post, static widget you will need to modify one of the view files.  This doesn't sound like some thing you will be able to accomplish via the admin panel. If you would like help walking you through what is required feel free to email me directly and I will try to help you out.


On Fri, Dec 28, 2012 at 8:57 AM, mrfugimoto <ross@nhlfightclub.com> wrote:
Hi @jsundquist, it's cake version 1.3...."Old". I have read through everything I think there is in the cookbooks. It seems not even the developers of cakePHP know how to get the widget to work. It's not a knock against the developers. I just don't see any references to adding scripts in their documentation. Not even on the google groups.

Any idea if the newest version supports embedding scripts?

Thank you for your help.


On Friday, December 28, 2012 9:15:25 AM UTC-5, jsundquist wrote:

So your pasting html into a tinymxe editor which Will convert a < into &lt; and a > &gt;.

If you are trying to add this static widget to the events page you Will need to modify the ctp file within the /app/views/events directory. Possibly an index.ctp file.

I would suggest checking out the docs for cakephp at docs.cakephp.org.  also in order to figure out which version of cakephp you are using check out the /cake directory. If you view any file in there it should give you an idea as to the version.

On Dec 28, 2012 6:35 AM, "mrfugimoto" <ro...@nhlfightclub.com> wrote:
Hi @jsundquist.

This is my root>app>views folder contents

C:\xampp\htdocs\divinghorse\app\views
C:\xampp\htdocs\divinghorse\app\views\administrators
C:\xampp\htdocs\divinghorse\app\views\categories
C:\xampp\htdocs\divinghorse\app\views\elements
C:\xampp\htdocs\divinghorse\app\views\errors
C:\xampp\htdocs\divinghorse\app\views\events
C:\xampp\htdocs\divinghorse\app\views\galleries
C:\xampp\htdocs\divinghorse\app\views\helpers
C:\xampp\htdocs\divinghorse\app\views\images
C:\xampp\htdocs\divinghorse\app\views\layouts
C:\xampp\htdocs\divinghorse\app\views\layouts\js
C:\xampp\htdocs\divinghorse\app\views\layouts\rss
C:\xampp\htdocs\divinghorse\app\views\layouts\xml
C:\xampp\htdocs\divinghorse\app\views\news
C:\xampp\htdocs\divinghorse\app\views\newsdetail
C:\xampp\htdocs\divinghorse\app\views\ourevents
C:\xampp\htdocs\divinghorse\app\views\ourgalleries
C:\xampp\htdocs\divinghorse\app\views\pagecontent
C:\xampp\htdocs\divinghorse\app\views\pages
C:\xampp\htdocs\divinghorse\app\views\scaffolds

This is the admin panel online from panel login view thru setting up a new event and what it looks like on the web.

Admin Panel
http://i366.photobucket.com/albums/oo101/johnnypiepics/1-adminhome_zps366ca5cb.jpg

Add New Event
http://i366.photobucket.com/albums/oo101/johnnypiepics/2-addevent_zpsa7092e1d.jpg

Event Added in HTML editor mode.....Then saved
http://i366.photobucket.com/albums/oo101/johnnypiepics/3-eventadded_saved_zps985dadb3.jpg

Event view on web page, the guestflo widget script and stripped
http://i366.photobucket.com/albums/oo101/johnnypiepics/4-pageresult_zpscd55c45a.jpg

On Thursday, December 27, 2012 8:48:55 PM UTC-5, jsundquist wrote:

What is Grr Cms that they are using? Cakephp is just a framework in itself. It might help to understand this "admin" panel you speak of. Honestly it sounds to me like you need to modify the layout file which is usually with app/Views

On Dec 27, 2012 7:37 PM, "mrfugimoto" <ro...@nhlfightclub.com> wrote:
Hi @cricket. Thank you very much for reply.

Unfortunately I am very unfamiliar with cakePHP. Of our 300 seo customers. This particular one is the only one who uses this script.

The business owner, (our customer) just started using guestflo, this site http://guestflo.com/ to create promotional ads for their website.

I would post the site but it's an adult site for a strip club in Atlantic City New Jersey USA.

Basically when I go into the cakePHP management console> "Add event" it doesn't allow me to embed that widget code. It only allows for basic HTML and upload of an image to be posted under "Managed Events" on the CMS.

I've told the customer this may not be possible to post the widget mainly because the version they are using is cakePHP vers 1.3. Which I believe is old and doesn't support the jquery scripts. If there is a work around without ruining their CMS framework, I'll try it but I really don't think they want to have the code changed entirely in order to make the widget work.

Hopefully this all makes sense and I'm not rambling. Any help you can provide is greatly appreciated. Thank you

On Thursday, December 27, 2012 2:41:55 PM UTC-5, mrfugimoto wrote:
Hi Please delete if this shows up twice. I posted in the old cakephp Google Groups but nothing showed up. I clicked new cakephp Google group, and still didn't see anything.

Trying again.......

Hi I am extremely unfamiliar with cakephp framework. I work for a web
development company who provide SEO support to customers. We inherited
a site which is cakephp 1.3, (I believe an old version). We have an
"Our Events" page and the customer asked me to add a widget

This is the widget below. I've tried adding this through the admin
panel "New Event". Nothing works. It's just an empty image frame with
nothing to the right. Please help. I've tried everywhere on Google and
find nothing.

Thank you to anybody ahead of time.

<code>
<div style="float:left;width:600px;">
< script src="http://guestflo.com/venue-widget.php?
VenueID=31&limit=30&a_link=614" type="text/javascript">
< /div>
< style type="text/css">
.widget-wrapper{
width:650px;
color:#fff;
}
< /style>
</code>

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: