Search found 8 matches

by filzfun
Wed Jul 15, 2009 4:09 pm
Forum: WebYep (english)
Topic: Automatic Anchors - Duplicate Sections
Replies: 2
Views: 1951

Re: Automatic Anchors - Duplicate Sections

Beautiful. Thank you, Johannes. For the record, I'm using Webyep 1.4.1. As you described, every "action" was being processed twice. This meant adding a block created two empty blocks and, now I notice, moving a block up or down became a double move. (btw - deleting and hiding blocks did no...
by filzfun
Tue Jul 14, 2009 8:47 am
Forum: WebYep (english)
Topic: Automatic Anchors - Duplicate Sections
Replies: 2
Views: 1951

Automatic Anchors - Duplicate Sections

I've written a php script that creates a nifty list of links in the sidebar to anchored sections in the main content area of the same document. My code works well, except that when I am in edit mode and click the plus sign to add a new section, I end up with two new sections in the main content area...
by filzfun
Fri Jul 03, 2009 9:46 am
Forum: WebYep (english)
Topic: lightbox2 jquery conflict
Replies: 5
Views: 6282

lightbox2 jquery conflict

This isn't truly a webyep issue, but if you are using lightbox2 with webyep AND you are using jquery to manipulate elements on your page, your jquery code may fail whenever lightbox is activated. I was able to narrow this down a bit, eventually commenting out the reference to prototype.js in webyep-...
by filzfun
Thu Jul 02, 2009 4:42 am
Forum: WebYep (english)
Topic: Nested Loops
Replies: 3
Views: 2067

Re: Nested Loops

I believe nested loops are still not possible. Take a look at this response from the developer: http://forums.obdev.at/viewtopic.php?f=6&t=1495&p=5489&hilit=nested+loops#p5489.
Regards,
Phil
by filzfun
Thu Jul 02, 2009 4:34 am
Forum: WebYep (english)
Topic: Populate TITLE tag with Short-text element in BODY>H1
Replies: 2
Views: 1663

Re: Populate TITLE tag with Short-text element in BODY>H1

Make sure you log out of editing mode to see what the actual title will be when a normal visitor to your site loads the page.
by filzfun
Wed Sep 10, 2008 7:58 pm
Forum: WebYep (english)
Topic: Conditional Statements - adding an icon when attachment pres
Replies: 5
Views: 7446

Conditional Statements - adding an icon when attachment pres

Thank you, Johannes. Awesome as always. For the record, this is how my code now looks. The pdf icon for the attachment appears to the left of the attachment link and only when said attachment exists. <?php webyep_shortText("attachment-description", false); ?> <?php $o =& new WY...
by filzfun
Sat Aug 30, 2008 10:54 pm
Forum: WebYep (english)
Topic: Conditional Statements - adding an icon when attachment pres
Replies: 5
Views: 7446

Conditional Statements - adding an icon when attachment pres

I'd like to add an icon to the left of an attachment but make sure there is no icon when no attachment is present. Has anyone tried to do this? If I code this way, I have an icon on my page even if no attachment has been uploaded: <img src="/images/elements/icons/pdficon_small.gif"><?php w...
by filzfun
Thu Jul 24, 2008 4:55 am
Forum: WebYep (english)
Topic: Editing the keywords metatag with WebYep
Replies: 2
Views: 6406

Keywords, addendum

Thanks, johannes, for this insight. I would just add that you can also use webyep_longText and you can also set the scope to global. In my implementation, I've created a single page for administrative tasks called settings.php that has a place for the user to enter keywords. On the settings.php page...